Commit Graph

47767 Commits

Author SHA1 Message Date
Selim Cinek
ec407b5d14 am d104ff6d: am 33b02ef2: am 03fdca1b: Merge "Fixed a bug where the heads-up would not show when full screen" into mnc-dev
* commit 'd104ff6d056f1256546c8c58547807d11395ff9f':
  Fixed a bug where the heads-up would not show when full screen
2015-05-08 16:58:16 +00:00
Siva Velusamy
eb1a7e9b4e am aa439dc3: am eb5d77e9: am 1f861997: Merge "Use new hierarchy viewer protocol in all View subclasses" into mnc-dev
* commit 'aa439dc38c6e276f763ba3127ad020938ba620f8':
  Use new hierarchy viewer protocol in all View subclasses
2015-05-08 16:58:10 +00:00
Siva Velusamy
8cc6b16096 am 19b95039: am 46a81366: am 52156a32: Merge "Improve hierarchy viewer dump hierarchy latency" into mnc-dev
* commit '19b95039375c5d806833f46c1240f7aa1cec802a':
  Improve hierarchy viewer dump hierarchy latency
2015-05-08 16:58:05 +00:00
Wei Wang
2b70c0a9fe am c8606ab3: am 55b58cb1: am 0a008049: Merge "Allow obtaining BLE capabilities in BLE scan only mode." into mnc-dev
* commit 'c8606ab3f5891754547bd5dbde9d472b60109522':
  Allow obtaining BLE capabilities in BLE scan only mode.
2015-05-08 16:57:50 +00:00
Chet Haase
d6d1e2db7e am 1ca73491: am 3d97900a: am c1125ded: Merge "Disable ActionBar animations pending more involved fix" into mnc-dev
* commit '1ca734918496a9938889a632e8cb2930f9003b30':
  Disable ActionBar animations pending more involved fix
2015-05-08 16:57:34 +00:00
Mady Mellor
1c16ff7510 am 7f29a802: am 8b54293f: am a18df8d6: Merge "Consider punctuation treatment when selecting text." into mnc-dev
* commit '7f29a802abe8b042956a6230966ada6fc0b3dd8b':
  Consider punctuation treatment when selecting text.
2015-05-08 16:57:29 +00:00
Selim Cinek
03fdca1b29 Merge "Fixed a bug where the heads-up would not show when full screen" into mnc-dev 2015-05-08 02:04:52 +00:00
Siva Velusamy
94a6d15ede Use new hierarchy viewer protocol in all View subclasses
A previous CL introduced a new way of encoding view properties for
use by heirarchy viewer. This CL updates all views using the old
@ExportedProperty annotation to use this new method. The older
mechanism will be removed in a subsequent CL.

Change-Id: I6cc23b90cd9da1c6ce89b4caffe54874db203452
2015-05-07 18:44:21 -07:00
Siva Velusamy
0d857b9028 Improve hierarchy viewer dump hierarchy latency
Hierarchy Viewer obtains the properties for each view by using
reflection and looking for fields and methods that have the
@ExportedProperty annotation. Using reflection made it quite slow
for large view hierarchies.

This CL adds a new method (encode) to each class that wishes to
export data to hiererachy viewer. Inside this method, the object
can write a sequence of key, value pairs corresponding to the
values it wants exported.

With this change, the dump hierarchy operation that used to take
more than 10 seconds can be performed in a few hundred milliseconds.

Change-Id: I199ac2e7ca3c59ebcfec7e6bd201e134c41fd583
2015-05-07 18:44:15 -07:00
Maxim Bogatov
bbac0f7c73 Merge "Add support of performing clicks on ClickableSpans from AccessibilityService" 2015-05-08 01:33:51 +00:00
Maxim Bogatov
32e59d59f4 Add API for set progress on ProgressBar/SeekBar
b/12912083

Change-Id: I3a7807f0ac40220139da21248d539fa796d0a544
2015-05-07 17:55:57 -07:00
Wei Wang
0a008049a2 Merge "Allow obtaining BLE capabilities in BLE scan only mode." into mnc-dev 2015-05-08 00:40:27 +00:00
Maxim Bogatov
219b41dd50 Add support of performing clicks on ClickableSpans from AccessibilityService
Two optional parameters were added for ACTION_CLICK.
ACTION_ARGUMENT_CLICK_SPAN_INDEX_INT represents index of ClickableSpan to click on
ACTION_ARGUMENT_CLICK_CHARACTER_INDEX_INT represents index of character.
The first span that added for that character will be triggered.
If none of above parameters are passed with action the view will be clicked

b/17726921

Change-Id: Ia4d3994c1bca950319557ec7cdb2df84314d7519
2015-05-07 17:37:53 -07:00
Selim Cinek
4a4a2bddc4 Fixed a bug where the heads-up would not show when full screen
Bug: 20728541
Change-Id: I74bc74c4936b003a4c0c37b7c7da2d1fa138c077
2015-05-07 16:54:05 -07:00
Wei Wang
46ab723d55 Allow obtaining BLE capabilities in BLE scan only mode.
Bug:20923734
Change-Id: I7f3e5fd4410da39922be4512e4ba6ccdeb32887d
2015-05-07 16:27:31 -07:00
Keisuke Kuroyanagi
befa33dae2 am 7c2eaaae: am 089dd0cb: am 636a0da8: Merge "Fix: A part of grapheme cluster can be selected." into mnc-dev
* commit '7c2eaaae5272e912ea79b0798ab523caa4cc463e':
  Fix: A part of grapheme cluster can be selected.
2015-05-07 22:12:55 +00:00
Alan Viverette
9374f43403 am a8625dc7: am 11a8748c: am 6a8c79bb: Merge "Improve keying for theme caches, rebase system theme on config change" into mnc-dev
* commit 'a8625dc79fe2f0b89f1d7f0476be80dba72ae81f':
  Improve keying for theme caches, rebase system theme on config change
2015-05-07 22:12:38 +00:00
Mady Mellor
7dd732ea93 am b34791d4: am 2448f8b2: am 6fc03e65: Merge "Revert "Text selection - Don\'t select vertical white space"" into mnc-dev
* commit 'b34791d428212c929bb1a09dd873c3b4963973ff':
  Revert "Text selection - Don't select vertical white space"
2015-05-07 22:12:25 +00:00
Chet Haase
c1125dedfc Merge "Disable ActionBar animations pending more involved fix" into mnc-dev 2015-05-07 22:00:18 +00:00
Mady Mellor
a18df8d6c7 Merge "Consider punctuation treatment when selecting text." into mnc-dev 2015-05-07 21:59:39 +00:00
Chet Haase
d96c87eb64 Disable ActionBar animations pending more involved fix
Recycling of ActionBar items can cause problems with the current
ActionBar animations, as the system animates views that represent both
pre- and post-layout changes, sometimes causing opposit animations to
run on the same view, resulting in unpredictable effect slike views
remaining invisible.

This 'fix' is a workaround to disable item animations pending a more
complete and robust fix that involves a more involved system of view
recycling that would avoid recycling views that are currently being used
in animations.

Issue #20538912 Menu missing in Downloads app

Change-Id: I7b1d3baf94378e4788f868801a452c6583353842
2015-05-07 21:59:26 +00:00
Keisuke Kuroyanagi
636a0da805 Merge "Fix: A part of grapheme cluster can be selected." into mnc-dev 2015-05-07 21:37:50 +00:00
Alan Viverette
6a8c79bb2b Merge "Improve keying for theme caches, rebase system theme on config change" into mnc-dev 2015-05-07 21:19:59 +00:00
Mady Mellor
6fc03e6523 Merge "Revert "Text selection - Don't select vertical white space"" into mnc-dev 2015-05-07 21:13:43 +00:00
Mady Mellor
6c7b4ad690 Consider punctuation treatment when selecting text.
This treats punctuation as "words", so groups of punctuation will be
selected together, i.e. "Hmm... yay!!!" would be treated as four words:
Hmm-...-yay-!!!

Bug: 19950062
Change-Id: Ic9514c524092734fad1abdf19a736bfa1406157b
2015-05-07 21:05:36 +00:00
Mady Mellor
6a6126834e Revert "Text selection - Don't select vertical white space"
This reverts commit b9bbbb1d97.

Bug: 20653654
Change-Id: Id96409ac17783bd1e7055913f14de8741d0f9caf
2015-05-07 21:03:57 +00:00
Chien-Yu Chen
fcdc15972a am 9e1fa287: am 7a34ed6a: am 0dfb7ba4: Merge "camera2: allow mixing regular/reprocess requests" into mnc-dev
* commit '9e1fa287bcc58c8d7c12e6f47cee4adc43b661a5':
  camera2: allow mixing regular/reprocess requests
2015-05-07 20:54:10 +00:00
George Mount
a0a0234752 am 04c1770b: am 127fa3a4: am b4035fd8: Merge "Properly cancel animators when View doesn\'t exist in starting state." into mnc-dev
* commit '04c1770b5aa31a41f776439410a779742a83a075':
  Properly cancel animators when View doesn't exist in starting state.
2015-05-07 20:54:05 +00:00
Alan Viverette
b099dc5b7e am 6f5a2305: am 17c29a3b: am 34dd5824: Merge "Only resize list popup if it\'s still attached to a window" into mnc-dev
* commit '6f5a2305c0e8f5d8e2c1c8fca3f6d444e3ce9400':
  Only resize list popup if it's still attached to a window
2015-05-07 20:39:33 +00:00
Chien-Yu Chen
0dfb7ba4a8 Merge "camera2: allow mixing regular/reprocess requests" into mnc-dev 2015-05-07 20:24:52 +00:00
George Mount
b4035fd886 Merge "Properly cancel animators when View doesn't exist in starting state." into mnc-dev 2015-05-07 20:23:00 +00:00
Alan Viverette
34dd5824f5 Merge "Only resize list popup if it's still attached to a window" into mnc-dev 2015-05-07 20:07:48 +00:00
Alan Viverette
c8bfc68cdd Only resize list popup if it's still attached to a window
We can't rely on ListPopupWindow.dismiss() to get called before the popup
is removed, for example when the activity hosting the popup is finished,
but we can easily ensure that the popup is still attached to a window.

Bug: 20831507
Change-Id: I9dcaa46e68df3f2b301cf299fa64d460c7e177fd
2015-05-07 13:00:25 -07:00
George Mount
1b4ae634f6 Properly cancel animators when View doesn't exist in starting state.
Bug 19290065

When a transition was interrupted, if a View was not in the start
state, but in the end state, then any animator on that View was
not canceled. This detects that situation and allows canceling
the animator on that View.

Change-Id: Ib1d0579bb6b211782c40c6327be59b0c59682731
2015-05-07 13:00:12 -07:00
Doris Liu
244ef07b28 am cba64a9a: am cbb97b50: am c7e56e9d: Merge "Take into account scroll offset for transition animation" into mnc-dev
* commit 'cba64a9af6b9a08b445c8ba0ecd858e140477ffb':
  Take into account scroll offset for transition animation
2015-05-07 19:15:40 +00:00
Chet Haase
3f098d11c6 am 1261e766: am 4d2fa67a: am 1bc3c849: Merge "Fix leak in LayoutTransition" into mnc-dev
* commit '1261e7669202980e33104370d7abf917036de965':
  Fix leak in LayoutTransition
2015-05-07 18:29:46 +00:00
Doris Liu
c7e56e9df1 Merge "Take into account scroll offset for transition animation" into mnc-dev 2015-05-07 17:56:46 +00:00
George Mount
3f9a81757e am 7b44e5b5: am a31b76e4: am b3ba2138: Merge "Fix crash during Activity Transition with TextureView." into mnc-dev
* commit '7b44e5b5b96bc88b4f328dc1d1c2228e525e1bc8':
  Fix crash during Activity Transition with TextureView.
2015-05-07 17:17:04 +00:00
Neil Fuller
ee9623ff69 am 8106751d: am 192b52a4: am d6a21352: Remove FloatMath methods from the API
* commit '8106751ddc7bb7b34bd1179fe504c4c32c02abd2':
  Remove FloatMath methods from the API
2015-05-07 17:16:55 +00:00
Yohei Yukawa
c38088b4a4 am 9e391183: am c3d4c6a5: am f2cac4d4: Merge "Retry "Always show auxiliary subtypes from NavBar keyboard icon."" into mnc-dev
* commit '9e391183a59adddeb81537f0250b4434d1f71284':
  Retry "Always show auxiliary subtypes from NavBar keyboard icon."
2015-05-07 17:16:27 +00:00
Doris Liu
18c2b0ef36 Take into account scroll offset for transition animation
This CL fixed the issue where scroll offset was ignored when shared
elements are added to the ghost view and when they are laid out.

Bug: 20349408
Change-Id: Ifaeb821bffe6fcfe303221a1732125bf1c4a91b7
2015-05-07 09:58:02 -07:00
Chet Haase
1bc3c849ba Merge "Fix leak in LayoutTransition" into mnc-dev 2015-05-07 16:56:43 +00:00
Niels Egberts
837fba984e Don't strip country and variant from locale.
When the synthesizer returns LANG_AVAILABLE or LANG_COUNTRY_AVAILABLE
for a certain locale, we strip the country and variant from the locale
before asking the synthesizer for the default voice name for this
locale.

This can prevent the synthesizer from picking the right locale. For
instance it prevents the synthesizer from picking en-gb if en-au is
requested, now it can only have a single preferred voice for all English
countries.

The solution is not to strip the country and variant from the locale.
This is not likely to break anything, because the input to
onGetDefaultVoiceNameFor was never expected to be a subset of all
supported language-country-variant combinations. The default
implementation handles this correctly.

Change-Id: I017f69d321039c7aa7a3ef5a09ba138e35b66670
(cherry picked from commit 4758e99783)
2015-05-07 15:02:46 +00:00
George Mount
b3ba213895 Merge "Fix crash during Activity Transition with TextureView." into mnc-dev 2015-05-07 14:34:02 +00:00
Neil Fuller
d6a2135262 Remove FloatMath methods from the API
Also removing FloatMathTest. The tests are being
moved into a legacy CTS suite.

Bug: https://code.google.com/p/android/issues/detail?id=36199
Change-Id: I397fd6bcc4d988db6301245f9d47460bd6c28821
2015-05-07 13:16:18 +00:00
Bart Sears
f90d8fe435 am 4bbfd055: am d54276f6: am 1b0888fe: Merge "Revert "Always show auxiliary subtypes from NavBar keyboard icon."" into mnc-dev
* commit '4bbfd055111b6120dcf4a8fa971806c27b7dca65':
  Revert "Always show auxiliary subtypes from NavBar keyboard icon."
2015-05-07 05:42:12 +00:00
Jeff Brown
4cf355d209 am 37d66f3b: am 8d605030: am ee2e8fbe: Merge changes from topic \'mr\' into mnc-dev
* commit '37d66f3bccdde61517308b8d034484abbe82c36b':
  Replace WIFI_DISPLAY_SETTINGS with CAST_SETTINGS.
  Revert "Initial draft of new MediaRouter APIs."
2015-05-07 05:42:06 +00:00
Adam Powell
1ac256a1e7 am f1b3e224: am 7068697e: am 90ae4553: Merge "Move PhoneWindow and friends back into internal package" into mnc-dev
* commit 'f1b3e2243f93a626393602177162f0bebb8772ab':
  Move PhoneWindow and friends back into internal package
2015-05-07 05:41:04 +00:00
John Spurlock
486ebed8a4 am b5eeb1ce: am 3fa46d4e: am c2ec3340: Merge "Add setting to mute wireless charging sound." into mnc-dev
* commit 'b5eeb1cec3fee63c6720c9e0c839aae1693270cd':
  Add setting to mute wireless charging sound.
2015-05-07 05:40:54 +00:00
John Reck
e532a459ee am 105b152c: am a15ac2b0: am 4862e973: Merge "Annotate Application with @CallSuper" into mnc-dev
* commit '105b152c2758f5a0b1b1c9f008e53e8c3882de91':
  Annotate Application with @CallSuper
2015-05-07 05:40:37 +00:00