Commit Graph

26323 Commits

Author SHA1 Message Date
John Reck
3d672d3fc9 am c43db491: Merge "Fix android:focusableInTouchMode support" into jb-dev
* commit 'c43db491a6867c22ddfd1189a66995312af6fb11':
  Fix android:focusableInTouchMode support
2012-05-16 15:22:57 -07:00
John Reck
7c2e329ef2 Remove custom scrollbar logic
Bug: 6505722
 When we scroll the base layer we do so by calling scrollTo on the view,
 which handles all the scrollbar logic for us. Remove the custom keep alive
 code which floods the handler queue, as well as remove the unnecessary
 invalidate and awakenScrollbar calls (View does that for us)

Change-Id: Ia2503c549a22ec71d99295fe62b676fecc367ea3
2012-05-16 15:21:18 -07:00
George Mount
c4c3bc9b83 Remove selection highlight when replacing/deleting.
Bug 6506101

Change-Id: Ia5729aafa30cbb502e94adf92f7534cb552199a6
2012-05-16 15:20:03 -07:00
John Reck
c43db491a6 Merge "Fix android:focusableInTouchMode support" into jb-dev 2012-05-16 15:19:22 -07:00
George Mount
0925a76bb9 Only clear the caret when in caret selection mode.
Bug 6506761

Change-Id: I5772691053bff30c25870e6068f5d85b850b7b81
2012-05-16 15:01:46 -07:00
John Reck
435e6f5fd2 Fix android:focusableInTouchMode support
Bug: 6448106

Change-Id: I17161754eaf08145623466a6db25893e3e5b2e16
2012-05-16 14:56:20 -07:00
George Mount
5d09bf69e2 Don't do character add/delete when there is a selection.
Bug 6506644

Change-Id: I91584b7df23951bc5e735b25161ed6e0bcdbc2b7
2012-05-16 14:56:09 -07:00
Jim Miller
9a40e307dc am c1c14065: Merge "Fix 6398209: Lots of improvements to gesture search from navbar" into jb-dev
* commit 'c1c140657633cc5b0ff26da1f122fab305d21e01':
  Fix 6398209: Lots of improvements to gesture search from navbar
2012-05-16 14:19:22 -07:00
alanv
c826b7d8fa Make AbsSeekBar widget adjustable via accessibility actions.
Change-Id: I559da3cea139c2d5a4c82e2854921de173fbfa4f
2012-05-16 14:19:21 -07:00
Jim Miller
c1c1406576 Merge "Fix 6398209: Lots of improvements to gesture search from navbar" into jb-dev 2012-05-16 14:17:33 -07:00
Adam Cohen
6340b3f028 am e0bb6fe3: Merge "Cap widget bitmap usage by screen size (issue 6464700)" into jb-dev
* commit 'e0bb6fe33355f9eeed1273a3614624286a0911ce':
  Cap widget bitmap usage by screen size (issue 6464700)
2012-05-16 13:47:39 -07:00
Adam Cohen
e0bb6fe333 Merge "Cap widget bitmap usage by screen size (issue 6464700)" into jb-dev 2012-05-16 13:43:27 -07:00
Svetoslav Ganov
c2f6411741 am c5fb5805: Merge "Accessiblity focus not following input focus and text nav broken." into jb-dev
* commit 'c5fb5805c92429b08ca715df37e949f31591466a':
  Accessiblity focus not following input focus and text nav broken.
2012-05-16 13:30:22 -07:00
Svetoslav Ganov
c5fb5805c9 Merge "Accessiblity focus not following input focus and text nav broken." into jb-dev 2012-05-16 13:26:54 -07:00
Jeff Brown
b080660dfd Fix a possible starvation issue related to vsync.
This makes a noticeable improvement in cases where applications
post messages that need to be processed between animation frames.

Bug: 6418353
Change-Id: If225742e37aeaf3f0ca9710f9bf43dbb03bcde12
2012-05-16 12:50:41 -07:00
Chris Wren
9d9570978a am 626a1665: am b46f3f67: Merge "Defensively reset the default state of layout elements." into jb-dev
* commit '626a16651c5b2857f8eb6750a32b016f73f18b34':
  Defensively reset the default state of layout elements.
2012-05-16 12:07:50 -07:00
Chris Wren
626a16651c am b46f3f67: Merge "Defensively reset the default state of layout elements." into jb-dev
* commit 'b46f3f6743f015cd6e0cfd21639b82fcdb5e6983':
  Defensively reset the default state of layout elements.
2012-05-16 12:04:20 -07:00
Chris Wren
b46f3f6743 Merge "Defensively reset the default state of layout elements." into jb-dev 2012-05-16 12:01:44 -07:00
Daniel Sandler
c247dfb97d am f39bc269: am 70334ac2: Merge changes If0b865ac,Ie0c61300 into jb-dev
* commit 'f39bc2690f6c791d1eaed66bd88e92cf5b4e1246':
  Move BigPicture's header to the top of its large view.
  Action button improvements:
2012-05-16 06:24:08 -07:00
Daniel Sandler
f39bc2690f am 70334ac2: Merge changes If0b865ac,Ie0c61300 into jb-dev
* commit '70334ac231c7b4bbb57d430377acec4d4c3b2561':
  Move BigPicture's header to the top of its large view.
  Action button improvements:
2012-05-16 06:21:35 -07:00
Daniel Sandler
70334ac231 Merge changes If0b865ac,Ie0c61300 into jb-dev
* changes:
  Move BigPicture's header to the top of its large view.
  Action button improvements:
2012-05-16 06:19:15 -07:00
Daniel Sandler
8680bf865a Action button improvements:
- Horizontal layout
  - At most 2 are shown
  - Tombstones are now shown (if the intent is null, the
    button is disabled; use it for quick feedback of an
    action's effect)

Bug: 6418617 (tombstones)
Bug: 6482237 (action separators)
Change-Id: Ie0c613006227bbfe1c0ec6eab1cda4f3782a05f2
2012-05-16 01:27:54 -04:00
Chris Wren
67dc9a02cf Defensively reset the default state of layout elements.
Bug: 6500945
Change-Id: Idf7300c44955413e2db26ecbabdef9f67f12f360
2012-05-16 01:03:20 -04:00
Svetoslav Ganov
64899e5c8f Accessiblity focus not following input focus and text nav broken.
1. View is checking if the accessibility focus is its
   descendant it clears the accessibility focus state
   in ViewRootImpl. The check in View was missing the
   case that the descendant may be the view itself. In
   such a case we want the normal clearing code to run.

2. The check whether a view has iterable text for
   accessibility was inverted and text nav was not
   working.

Change-Id: I1a13b6809fb7f205fff76ca09cd449179d06e530
2012-05-15 21:14:10 -07:00
Jim Miller
20830421fe Fix 6398209: Lots of improvements to gesture search from navbar
- Added ability to postpone animations until after window is shown
to ensure the animation is visible on slower devices.
- Fixed layout bug that prevented targets from being located on
outer ring.
- Fixed bug where some motion events were being ignored when handle
wasn't captured.
- Reduced temp object generation in several methods.
- Added containers to start all animations together and to facilitate
delayed start.
- Increased radius of outer ring on phones to closer match mocks.
- Decreased sensitivity of swipe up gesture on navbar so it's harder to false.

Change-Id: I084f840115aef6496a1f87202c4e42d9962c8c3e
2012-05-15 21:10:12 -07:00
Romain Guy
dd36336ce9 am 9e981d83: am d44a1686: Merge "Don\'t draw onto a hw surface using the software renderer Bug #6485955" into jb-dev
* commit '9e981d83f1b8a1f1f88b67c32b1459a23455d3fe':
  Don't draw onto a hw surface using the software renderer Bug #6485955
2012-05-15 20:35:43 -07:00
Svetoslav Ganov
f22a7c34a4 am a379e733: am 67d10a58: Merge "Prefetching of accessibility node infos getting incorrect views." into jb-dev
* commit 'a379e733b81e44b7d91d90ea93bc26e43230fdb1':
  Prefetching of accessibility node infos getting incorrect views.
2012-05-15 20:35:40 -07:00
Romain Guy
9e981d83f1 am d44a1686: Merge "Don\'t draw onto a hw surface using the software renderer Bug #6485955" into jb-dev
* commit 'd44a16864d549e08506d0f80198031f05a03bd15':
  Don't draw onto a hw surface using the software renderer Bug #6485955
2012-05-15 20:30:21 -07:00
Svetoslav Ganov
a379e733b8 am 67d10a58: Merge "Prefetching of accessibility node infos getting incorrect views." into jb-dev
* commit '67d10a5867ac26155117f2ffda84f9d2a21dbcf0':
  Prefetching of accessibility node infos getting incorrect views.
2012-05-15 20:30:18 -07:00
Romain Guy
d44a16864d Merge "Don't draw onto a hw surface using the software renderer Bug #6485955" into jb-dev 2012-05-15 19:19:41 -07:00
Romain Guy
413baf8a03 Don't draw onto a hw surface using the software renderer
Bug #6485955

If an invalidate gets scheduled right before the EGL surface is destroyed,
the next draw pass is done in software. This causes the software renderer
to connect to the surface forever which prevents the hardware renderer
from coming back when the screen is turned back on.

The fix here is to ignore the draw request when hw acceleration is requested
but not yet available. Proper software fallback will still happen when an
error is encountered with hardware rendering (in which case hw acceleration
will not be marked as requested anymore.)

Change-Id: I1edc4a51c8dd38240aa2345092a18a081a756fc1
2012-05-15 19:15:47 -07:00
Svetoslav Ganov
67d10a5867 Merge "Prefetching of accessibility node infos getting incorrect views." into jb-dev 2012-05-15 18:56:45 -07:00
Svetoslav Ganov
4528b4e882 Prefetching of accessibility node infos getting incorrect views.
1. The prefetcher of accessibility nodes infos was not folloing
   the childForAccessibility relationship when finding the views
   whose node infos to prefetch.

2. NumberPicker was not reporting the correct parent.

bug:6471710

Change-Id: Ia7ad5dd031fb4b3816dfe630d5212201cfafa236
2012-05-15 18:32:23 -07:00
Amith Yamasani
7dea5abd65 am 1bd25a4e: am 0763e01c: Merge "Fix amnesia problem in MultiSelectListPreference." into jb-dev
* commit '1bd25a4eef0c1f71842d5e1b2a5c32f2b084268b':
  Fix amnesia problem in MultiSelectListPreference.
2012-05-15 18:26:11 -07:00
Amith Yamasani
1bd25a4eef am 0763e01c: Merge "Fix amnesia problem in MultiSelectListPreference." into jb-dev
* commit '0763e01c78a0febd02e344db5755479f57349a26':
  Fix amnesia problem in MultiSelectListPreference.
2012-05-15 18:21:10 -07:00
Dianne Hackborn
7ba90544d9 am a15ebaa2: am 79f5777d: Merge "A few odds and ends." into jb-dev
* commit 'a15ebaa25c93c750c22e80498c2415b2af0f2f3e':
  A few odds and ends.
2012-05-15 18:20:45 -07:00
Amith Yamasani
0763e01c78 Merge "Fix amnesia problem in MultiSelectListPreference." into jb-dev 2012-05-15 18:18:43 -07:00
Dianne Hackborn
a15ebaa25c am 79f5777d: Merge "A few odds and ends." into jb-dev
* commit '79f5777d7c1652badeba4be92a5271d2c2276d22':
  A few odds and ends.
2012-05-15 18:17:39 -07:00
Dianne Hackborn
79f5777d7c Merge "A few odds and ends." into jb-dev 2012-05-15 18:15:20 -07:00
Adam Powell
8bf11c89f2 am c9f5b3d3: am e095ceaa: Merge "Handle returning a result from automatic up navigation from another task." into jb-dev
* commit 'c9f5b3d3ef1e0e329f6081cd120544f8d1d7576c':
  Handle returning a result from automatic up navigation from another task.
2012-05-15 17:20:06 -07:00
Amith Yamasani
cd9ea08d9c Fix amnesia problem in MultiSelectListPreference.
Bug: 6478079

Pointer assignment instead of copy was resulting in mValues being cleared
on next launch, since mValues became the same pointer as mNewValues.

Change-Id: I91014948e4f48056474b3ab31aab6d35e0ad69ca
2012-05-15 17:17:24 -07:00
Adam Powell
c9f5b3d3ef am e095ceaa: Merge "Handle returning a result from automatic up navigation from another task." into jb-dev
* commit 'e095ceaa7943b5465949e5971c14e0ec1a0752a2':
  Handle returning a result from automatic up navigation from another task.
2012-05-15 17:15:16 -07:00
Adam Powell
e095ceaa79 Merge "Handle returning a result from automatic up navigation from another task." into jb-dev 2012-05-15 17:11:45 -07:00
John Reck
0b49e42833 am d4cbf66b: am 7a59c5ae: Merge "Always do a HIT_TEST" into jb-dev
* commit 'd4cbf66bb34512f32310fbde711234ac6f89bedc':
  Always do a HIT_TEST
2012-05-15 17:01:35 -07:00
John Reck
d4cbf66bb3 am 7a59c5ae: Merge "Always do a HIT_TEST" into jb-dev
* commit '7a59c5aebc5506319deea8fd40d5d308192b8052':
  Always do a HIT_TEST
2012-05-15 16:57:33 -07:00
John Reck
7a59c5aebc Merge "Always do a HIT_TEST" into jb-dev 2012-05-15 16:55:45 -07:00
Adam Powell
3d193d92f6 Handle returning a result from automatic up navigation from another
task.

When navigating up from a different task, if the current activity has
a result set only finish the current activity instead of trying
finishAffinity. Log this so that developers know why this behavior is
happening.

Bug 6465336

Change-Id: Ic7cec6f0c0d5861296091e2aea9344309f5fc600
2012-05-15 16:53:34 -07:00
Michael Chan
a4fe397170 am b3961984: am 2faa075e: Merge "Update docs for launching custom app for calendar events" into jb-dev
* commit 'b3961984e5eb5e11e938b8f5a3f22db853e98e99':
  Update docs for launching custom app for calendar events
2012-05-15 16:36:06 -07:00
Michael Chan
b3961984e5 am 2faa075e: Merge "Update docs for launching custom app for calendar events" into jb-dev
* commit '2faa075ed78d39cc7783ed1d9681a5d7b2226173':
  Update docs for launching custom app for calendar events
2012-05-15 16:33:10 -07:00
Michael Chan
2faa075ed7 Merge "Update docs for launching custom app for calendar events" into jb-dev 2012-05-15 16:30:15 -07:00