Commit Graph

4181 Commits

Author SHA1 Message Date
Katie McCormick
d786a1900e resolved conflicts for merge of 37e4c405 to master
Change-Id: I7df89be84384369ef5e89bb3b924ca38c1b5d9bd
2013-12-02 12:37:58 -08:00
Alan Viverette
26606007be Merge "Fix header and footer dividers to match docs" 2013-11-26 22:40:42 +00:00
Katie McCormick
484b57a565 am 9d0a88bd: Merge "Doc updates: Javadoc fixes" into klp-docs
* commit '9d0a88bd4e07deac01d7759b70cdf160456be1c0':
  Doc updates: Javadoc fixes
2013-11-26 21:58:18 +00:00
Katie McCormick
f2ef28d840 Doc updates: Javadoc fixes
Change-Id: I82381056f9f13e53ab8a0525f5a53bf98674c052
2013-11-26 13:52:48 -08:00
John Spurlock
6090995951 Remove unused imports from frameworks/base.
Change-Id: Ia1f99bd2c1105b0b0f70aa614f1f4a67b2840906
2013-11-20 11:31:47 -05:00
Alan Viverette
20cc605b69 Fix header and footer dividers to match docs
BUG: 11712110
Change-Id: I9c62f086b6957e124a392ff5f811427557518590
2013-11-15 15:56:38 -08:00
Lajos Molnar
bd686a1e1d am 752926c7: am 1197bc37: am 7e11b16b: VideoView: expand documentation on state save/restore limitations
* commit '752926c752b9516c05a36f3eed6ab6b77d32b2c6':
  VideoView: expand documentation on state save/restore limitations
2013-11-13 18:48:09 -08:00
Lajos Molnar
1197bc37e5 am 7e11b16b: VideoView: expand documentation on state save/restore limitations
* commit '7e11b16b9f8896170d492240a5fd50c8bd04105d':
  VideoView: expand documentation on state save/restore limitations
2013-11-13 16:40:26 -08:00
Lajos Molnar
7e11b16b9f VideoView: expand documentation on state save/restore limitations
Change-Id: I46f231d314fc4ae8d9d11389aa62a3e2698122ed
Signed-off-by: Lajos Molnar <lajos@google.com>
Bug: 11412889
2013-11-13 16:27:30 -08:00
Jeff Brown
7117c0c184 am 40c81e4a: am 3105b6d2: am 12c32b4d: Merge "Make quick settings show the standard media router icon." into klp-dev
* commit '40c81e4a5d96f8a3853045b289f6131c44d3155d':
  Make quick settings show the standard media router icon.
2013-11-11 15:23:40 -08:00
Jeff Brown
3105b6d2f1 am 12c32b4d: Merge "Make quick settings show the standard media router icon." into klp-dev
* commit '12c32b4d484cc7cc2278a76c6e0fc2304a74b593':
  Make quick settings show the standard media router icon.
2013-11-10 22:02:20 -08:00
Jeff Brown
e2126baf72 Make quick settings show the standard media router icon.
Fixed a bug in ImageView where we failed to inform a newly updated
Drawable about the visibility state.  This caused AnimationDrawables
to not animate when attached to an existing ImageView *unless* that
ImageView happened to be attached to the window *later* or have
its visibility toggled for some other reason.

Bug: 11257292
Change-Id: Iba9e0db5ba0db2b022950aec0c6f60a435da8ad2
2013-11-09 18:59:46 -08:00
Newton Allen
badb59cd5d am 47feee53: Merge "Fix some documentation typos." into klp-docs
* commit '47feee535f9e4e77165b93b6b9f10379e7aa4bbd':
  Fix some documentation typos.
2013-11-07 05:19:12 +00:00
John Reck
339f901ba6 Cleanups
Simplify DisplayList creation
 Remove unnecessary debug code

Change-Id: I310c9196485c6bf65a6793669bd2dc2b9a8a0a15
2013-11-06 14:53:21 -08:00
Victoria Lease
8f86d3d28e am c403afb6: am 79007026: am 3dbea35f: Merge "use SpannedStringBuilder to build a SpannedString" into klp-dev
* commit 'c403afb6421f0ab840303ac7f5a207067e976e77':
  use SpannedStringBuilder to build a SpannedString
2013-11-04 21:59:42 -08:00
Victoria Lease
c403afb642 am 79007026: am 3dbea35f: Merge "use SpannedStringBuilder to build a SpannedString" into klp-dev
* commit '79007026935acf84baba183aad0ef654d9ed91aa':
  use SpannedStringBuilder to build a SpannedString
2013-11-04 21:54:02 -08:00
Newton Allen
04b7821496 am 47feee53: Merge "Fix some documentation typos." into klp-docs
* commit '47feee535f9e4e77165b93b6b9f10379e7aa4bbd':
  Fix some documentation typos.
2013-11-04 19:25:58 -08:00
Victoria Lease
3dbea35f7e Merge "use SpannedStringBuilder to build a SpannedString" into klp-dev 2013-11-04 16:23:15 +00:00
Marco Nelissen
88e82ed2fe Merge "Use audio focus instead of legacy music command" 2013-11-01 16:54:03 +00:00
Marco Nelissen
71068f6948 Use audio focus instead of legacy music command
Bug 8612500

Change-Id: Id443b754d683b9f2d2010ee3a03e54590cda0b48
2013-11-01 16:48:55 +00:00
Newton Allen
ff236f5fc1 Fix some documentation typos.
Change-Id: I0360d468d54d970c87f313e24e50965245206f28
(cherry picked from commit c502744f2d)
2013-11-01 02:38:01 +00:00
Newton Allen
52e3393afd Merge "Fix some documentation typos." 2013-11-01 02:37:22 +00:00
Svetoslav
2a7de4eb8d am c896147c: am 9eae380b: am a9f28eea: Merge "Temporary detached views not properly reported to accessibility layer." into klp-dev
* commit 'c896147c96c020a923711b8a667baf2c881786c0':
  Temporary detached views not properly reported to accessibility layer.
2013-10-31 17:55:20 -07:00
Svetoslav
d4bdd6befa Temporary detached views not properly reported to accessibility layer.
A view may be temporary detached. While in this state the view
state may change for which we fire accessibility events. Clients
use them to know when the view changed and what the change is.
However, detached views do not fire accessibility events.
Hence, a client may hold a stale AccessibilityNodeInfo since
the changes to its source view happened in a temporary detached
state.

bug:11388752

Change-Id: I9052700ca9195841cc2881b65c17f5615e6f71fb
2013-10-31 17:25:06 -07:00
Alan Viverette
2ea312c1bf Merge "Allow styling of fast scroll decorations, add default styles" 2013-10-31 23:16:56 +00:00
Alan Viverette
8636ace696 Allow styling of fast scroll decorations, add default styles
Also fixes bad old-style thumb 9-patches.

BUG: 11030706
Change-Id: I51abba952acf87586449fbda329212b435d1d6df
2013-10-31 15:41:31 -07:00
Chris Craik
62ac0501c6 am 7595aa94: am 3be09114: am b320f4d5: Merge "Revert "Fixed incorrect calculation of dirty invalidation area"" into klp-dev
* commit '7595aa9420cec603674327b9056fc5ad8a6aa191':
  Revert "Fixed incorrect calculation of dirty invalidation area"
2013-10-31 11:20:18 -07:00
Chris Craik
7546a4bea7 Revert "Fixed incorrect calculation of dirty invalidation area"
bug:11351836

Because SeekBar's thumb Drawable (among others) is positioned without
padding offset baked in, include that offset when invalidating.

This revert fixes invalidate positioning in the system volume SeekBar,
where the original CL broke full redrawing of the thumb Drawable when
it switched states.

This reverts commit e9018f7716.

Change-Id: I5b3b07e47f466269f8d349e9a63dc29bf213120b
2013-10-31 10:45:24 -07:00
Newton Allen
c502744f2d Fix some documentation typos.
Change-Id: I0360d468d54d970c87f313e24e50965245206f28
2013-10-30 16:18:21 -07:00
Alan Viverette
5d565faab2 Restore A11y and keyboard focus positions after GridView layout
Implementation copied verbatim from ListView. Moved a common helper
method into AbsListView.

BUG: 11438088
Change-Id: Iae44a8f3743669f63a67fd20f22dfc0486a1d063
2013-10-30 11:09:03 -07:00
Svetoslav
76a8dac72d am 3a855ba5: am a4e1f435: am ac5d3827: Merge "Share pack historical sorting using wrong keys." into klp-dev
* commit '3a855ba5225ac6b3f85397713178a7b85069057a':
  Share pack historical sorting using wrong keys.
2013-10-29 08:35:07 -07:00
Svetoslav
201006fd35 am 37a5a1ea: am 330c6be9: am 86bfb3af: Merge "Not show share targets that cannot be launched." into klp-dev
* commit '37a5a1ea8743d439db7bc0384f62589537c21d28':
  Not show share targets that cannot be launched.
2013-10-29 08:30:33 -07:00
Svetoslav
27f592df8c Share pack historical sorting using wrong keys.
The ActivityChooserModel keeps a history of the last fifty
share targets and based on past usage orders the targets in
the UI. The soring implementation is using a map for improving
performance. However, the activities in this map were keyed
on the package name but there maybe more that one share
target per package. Thus, the sorting was generating bad
results. Now the unique component name is used.

bug:11195578

Change-Id: I8c7018fea168b7253ddbe57b477028368726e75e
2013-10-28 18:43:08 -07:00
Svetoslav
baeabb65e1 Not show share targets that cannot be launched.
This changes filters out share targets that we cannot start
because the target does not properly implement the SEND protocol
and has either share target activity hidden or requires a
permission to launch it. Also the code that launches the share
target activity catches the runtime exception and shows an error
message. Note that being able to launch an activity in a moment
of time is not a guarantee that one can do that latter. Hence,
being able to launch an activity while building the share UI
does not guarantee that one can launch it when selecting the
share target.

bug:11402139

Change-Id: Id35732510755b2eeb9eccacc046d289c2f2ee856
2013-10-28 16:26:47 -07:00
Victoria Lease
af7dcdf35a use SpannedStringBuilder to build a SpannedString
It turns out that copy constructors do not respect NoCopySpan. Using
SpannedStringBuilder addresses this oversight.

Bug: 11326070
Change-Id: I949ef4f477d65cf645f3b1b2651f8ce423995237
2013-10-24 12:35:42 -07:00
Deepanshu Gupta
e9293c1a1f am 7d641de1: am a14f25c5: am bf3acff1: Merge "Don\'t run the async query if being rendered in EditMode." into klp-dev
* commit '7d641de1f6ca4af977233220590d1e74be970dab':
  Don't run the async query if being rendered in EditMode.
2013-10-20 20:00:49 -07:00
Deepanshu Gupta
34e9c69658 Don't run the async query if being rendered in EditMode.
Skips the QueryHandler if the QuickContactBadge widget is being rendered
in edit mode.

Bug: 11288332
Change-Id: I04b115292f61afc7f515787fa4a396bc6ea56a16
2013-10-18 12:07:52 -07:00
Alan Viverette
4732783143 am 20fbf7ea: am a74cf4f9: am 280dc0ea: Merge "Fix assorted FastScroller regressions" into klp-dev
* commit '20fbf7ea91c321e6e8974cc1750b86c6c456ab3c':
  Fix assorted FastScroller regressions
2013-10-17 14:40:28 -07:00
Alan Viverette
280dc0ea2f Merge "Fix assorted FastScroller regressions" into klp-dev 2013-10-17 18:30:25 +00:00
Adam Powell
eb66b5d4cd am 406e9a01: am 708bc0e2: am f80a7af0: Merge "Register receivers from ViewFlipper with an explicit Handler" into klp-dev
* commit '406e9a01c35e4a22e1f15b9f4ce1c4ce329f78a2':
  Register receivers from ViewFlipper with an explicit Handler
2013-10-17 10:34:26 -07:00
Adam Powell
b6ed2b1cff Register receivers from ViewFlipper with an explicit Handler
Make sure that the BroadcastReceiver registered by ViewFlipper
enforces that messages come in on the correct (UI) thread.

Bug 11228463

Change-Id: I97f2a1c392f9c58a99afebc60170c9656bba86ad
2013-10-16 16:43:41 -07:00
Alan Viverette
f9af7b250e Fix assorted FastScroller regressions
Fixes the following bugs:
- Don't show preview if text is empty, e.g. whitespace
- Avoid transitioning decor from DRAGGING to DRAGGING
- Restore original font size
- Restore thumb position adjustment for last row

BUG: 11207575
Change-Id: I72fc031d1fd22a41d81e7f52ca0856cf82d1be27
2013-10-15 17:09:35 -07:00
John Spurlock
cf2d725b55 resolved conflicts for merge of f1dd32c8 to master
Change-Id: Ied96bfce952fa95eeceb1b8cf64e53830d4d03ac
2013-10-14 14:49:58 -04:00
Victoria Lease
f3bd8d4843 am 4c4a469c: am 677687c2: am edbab7b5: Merge "no layout = no visibility" into klp-dev
* commit '4c4a469cbfe61f50c23b70d8b2e63f7b661745c7':
  no layout = no visibility
2013-10-14 11:28:52 -07:00
Adam Powell
d33c97e2de am 5d96f61a: am c12f46eb: am 5db566f1: Fix updating fast scroll state for data set changes
* commit '5d96f61a92de034cb736fa831067759809ca83f9':
  Fix updating fast scroll state for data set changes
2013-10-14 10:53:07 -07:00
Adam Powell
161b157b87 am 6a564f96: am 7555372f: am 85e5ed63: Merge "Account for translationY when targeting the fast scroller via touch" into klp-dev
* commit '6a564f961675e8dd6b1a518a5c82555d616b3d04':
  Account for translationY when targeting the fast scroller via touch
2013-10-14 10:52:00 -07:00
John Spurlock
774e8ad883 Merge "Implement new SYSTEM_UI_FLAG_IMMERSIVE_STICKY." into klp-dev 2013-10-14 17:21:33 +00:00
John Spurlock
f1a36648ca Implement new SYSTEM_UI_FLAG_IMMERSIVE_STICKY.
Migrate transient bar mode to IMMERSIVE_STICKY, and
introduce new behavior for IMMERSIVE: namely the
opaque bars are revealed by clearing the flags on swipe.

Remove low-profile optimization that confuses api demos
and other apps using low-profile as a signal.

TransientNavigationConfirmation renamed to
ImmersiveModeConfirmation, and its associated resources,
since the confirmation is now shown when the nav bar is
shown in either of the two immersive modes.

Remove unused Toast.makeBar and associated hidden framework
bits now that the confirmation uses a cling instead.

Bug:11062108
Change-Id: Iae49d31973940b9bee9f5b1827756db5eaa76aa3
2013-10-14 13:11:21 -04:00
Victoria Lease
edbab7b582 Merge "no layout = no visibility" into klp-dev 2013-10-14 17:08:10 +00:00
Adam Powell
5db566f16a Fix updating fast scroll state for data set changes
Only looking for old/new count changes is incomplete with the current
state of things. The observer's onChanged method will update this in
some cases, stomping the different values needed to trigger a fast
scroller update. Also update the fast scroller if the data change flag
is set.

Also fix the positioning of the legacy text overlay.

Bug 11188512

Change-Id: I35b3915ce49f8494c6d82f6be6d6df7169deddd7
2013-10-13 18:49:15 -07:00