143775 Commits

Author SHA1 Message Date
Behdad Esfahbod
c437f6eef2 Merge "Further centralize Minikin interaction" into lmp-dev 2014-07-24 15:37:54 +00:00
Behdad Esfahbod
63c5c78a72 Further centralize Minikin interaction
Part of the fix for bug 15246510 and others.

Change-Id: Ie99000989dfcd7a81aaa1233dec522344f852f31
2014-07-25 19:23:49 +00:00
Behdad Esfahbod
b9333b5970 Merge "Remove unused TextLayout.h" into lmp-dev 2014-07-24 15:36:21 +00:00
Behdad Esfahbod
1fc68395d3 Remove unused TextLayout.h
Respective code was removed when switching to Minikin.

Change-Id: I353c834457145ccd9462a439dfdf16d4adb8b695
2014-07-25 14:06:35 -04:00
Adam Lesinski
3c153519ca Add Per-User logging of UsageStats
Change-Id: I4518c5d3c56b3821292accb886f9fb21f3a8b25f
2014-07-25 17:18:54 +00:00
Dake Gu
8a4c89a36a Merge "TransitionSet: fix excludeTarget not working" into lmp-dev 2014-07-24 16:56:49 +00:00
Dake Gu
d761dcaf1c TransitionSet: fix excludeTarget not working
b/16552254

Change-Id: I01467e258754d95f1b9fa61a27d1da98eed9b57c
2014-07-25 19:19:07 +00:00
Winson Chung
a4cc966050 Adding content description for task view buttons. 2014-07-25 19:12:28 +00:00
Yohei Yukawa
48e28ad06c Merge "Stop assuming language part in locale string is up to 2-letter" into lmp-dev 2014-07-24 22:43:15 +00:00
Jorim Jaggi
bc976e3f4c Fix ordering of notifications, user switcher and QS panel
Also closes the user switcher when opening QS on Keyguard because
touch logic would interleave with QS.

Change-Id: I391dc9bcba7f9e2e99c0854d34ed0ec6efbb2f44
2014-07-25 19:03:47 +00:00
Yohei Yukawa
71cf0a32d0 Stop assuming language part in locale string is up to 2-letter
With this CL, InputMethodSubtypeSwitchingController stop
assuming that language part in locale string is up to 2-letter.

this CL is not so risky because
InputMethodSubtypeSwitchingController have used language part for
nothing but sorting subtypes to determine the initial rotation
order of IME switching.

BUG: 16502987
Change-Id: Ib159ece0b7aa04f8fd7abc96c9a6e0832a4b7cd2
2014-07-26 03:21:03 +09:00
Jeff Sharkey
22fa6e5c49 Merge "PackageInstaller changes based on feedback." into lmp-dev 2014-07-24 15:37:54 +00:00
Jeff Sharkey
16c8e3f494 PackageInstaller changes based on feedback.
Mostly cosmetic changes from API council feedback.

Bug: 16543552
Change-Id: Ic926829b3f77c31f50a899c59b779353daf00d59
2014-07-25 11:59:48 -07:00
Ruben Brunk
91838ded36 camera2: Fix LEGACY mode timestamps.
Bug: 15116722

- Add CaptureCollector class to accumulate buffer timestamps
  and manage lifecycle callbacks for each request.
- Set correct timestamps for buffers, results, and callbacks.

Change-Id: I75fa1049cf100d9d14c5ba8992be93ba1048df19
2014-07-25 18:52:10 +00:00
Amith Yamasani
f7496d7e0c Merge "Don't update user's setup state unless it changed" into lmp-dev 2014-07-24 15:36:21 +00:00
Dan Sandler
1968201b44 Don't crash when drawing zero pixels.
Bug: 16561522
Change-Id: Ia3a2d2930abc393dbe587053f598246c49c0c9c4
2014-07-25 16:46:47 +00:00
Amith Yamasani
0da218be00 Don't update user's setup state unless it changed
Eliminates an extra write on every boot.

Bug: 16416936
Change-Id: I9ca16676c1b39dafeed3fc744a69c5bde819990c
2014-07-25 08:03:00 -07:00
Jon Miranda
1a0449eb1d Merge "Animates AbsSeekBar progress movement from key presses." into lmp-dev 2014-07-24 20:48:02 +00:00
Jon Miranda
0c11a48907 Animates AbsSeekBar progress movement from key presses.
Change-Id: I9ef00c61351e8fe28be7a7a7d592f09a5124caa0
2014-07-25 00:47:55 +00:00
Alan Viverette
ccf9fca471 Merge "Clip windows to their background by default" into lmp-dev 2014-07-24 22:06:48 +00:00
Alan Viverette
07470537df Clip windows to their background by default
BUG: 16549166
Change-Id: I4ed0f60316df02b6ee56e163ad25e27e1396a6ae
2014-07-24 16:18:53 -07:00
Alan Viverette
366c693b60 Merge "Fix radio button tints" into lmp-dev 2014-07-24 22:06:48 +00:00
Alan Viverette
c734dafb21 Fix radio button tints
BUG: 16513084
Change-Id: I0cda30f25c54a3d9814bbbb4578893734efb5d82
2014-07-25 00:15:11 +00:00
Alan Viverette
f43192c845 Merge "Separate background from ripple for better focus/press UX" into lmp-dev 2014-07-24 22:06:48 +00:00
Alan Viverette
6ce6d70f9c Separate background from ripple for better focus/press UX
Regresses the "jump" when focus changes, since the background position
is static and we don't have any reasonable UX spec for this yet.

BUG: 16323640
Change-Id: I7152546ed08375864174049b342653b3c4d3d9fb
2014-07-24 16:31:42 -07:00
Chet Haase
28308e8494 Fix corner case of RelativeLayout with pinned edges
LayoutParams without a specified layout_width value automatically
get a default of 0. This works in most cases, when the view is pinned by
various constraints (such as alignParentLeft and alignParentRight),
but breaks down when the child lies in negative coordinates.

Negative coordinates are supposed to be a signal, in RelativeLayout, that
that coordinate is variable. However, negative margins can cause a negative
value to be calculated, at which point it should be used as a concrete value,
not a behavior trigger.

The fix is to use Integer.MIN_VALUe as the tirgger instead, to distinguish that
impossible value from negative values which could reasonably have been computed
during measurement.

Also, removes dead code from earlier attempt at rtl.

Issue #10606777 Time picker can't display 10, 11, or 12 oclock when font size is huge
Issue #16516577 resolveLayoutDirection doesn't act as intended

Change-Id: Ia564603012f3c45636e69cd3776205fb544fda48
2014-07-24 23:28:20 +00:00
Eric Laurent
a32ea3b4d4 Merge "AudioService: implement TV system volume" into lmp-dev 2014-07-24 22:43:15 +00:00
Eric Laurent
212532b58e AudioService: implement TV system volume
Implement volume policy for TV devices:
- No ringer mode: never silent
- All stream volumes are synchronized: changing any
stream volume will change the volume for all sources.
- Volume is maintained per output device.
- If a CEC capable HDMI sink is connected, digital volume
is maxed out and volume controls are sent to HDMI sink.

Bug: 15759753.

Change-Id: Ic4c38c749ef0440def9635a1669068ccef02a323
2014-07-24 23:24:26 +00:00
Chelsea Derrick
2f862eb4c0 Merge "Also unhide WifiConfiguration.lastUpdatedUid." into lmp-dev 2014-07-24 22:06:48 +00:00
Chelsea Derrick
eb8f329a5e Also unhide WifiConfiguration.lastUpdatedUid.
Bug: 16153258
Change-Id: I69c2666a63c3e56787c4aa2699c2cfd22c053353
2014-07-24 14:50:06 -07:00
Prashant Malani
886de6d1e6 Merge "resolved conflicts for merge of bc3699b1 to lmp-dev" into lmp-dev 2014-07-24 20:48:02 +00:00
Prashant Malani
85d5144984 resolved conflicts for merge of bc3699b1 to lmp-dev
Change-Id: I1b219b5b48afb08ce3704a4f064a85652d2d9339
2014-07-24 15:29:27 -07:00
Selim Gurun
c5a1e2c872 Merge "Address API review" into lmp-dev 2014-07-24 22:06:48 +00:00
Selim Gurun
48f6c45069 Address API review
Bug: 16403458

Address API review. This change updates the FileChooser api. The
largest change is, as requested by API council, providing a helper
to reduce the code app developers need to implement. This
change does not include the CookieManager changes that was requested.

Change-Id: I30d75f36df6bc96d9842b63fdd25c4ff62aee5bb
2014-07-24 15:18:57 -07:00
Sreeram Ramachandran
ba6e4c60e7 Merge "Don't create a ConnectivityManager when the service isn't ready yet." into lmp-dev 2014-07-24 20:48:02 +00:00
Sreeram Ramachandran
62a61314bc Don't create a ConnectivityManager when the service isn't ready yet.
Bug: 16550853
Change-Id: Ib244c93dc982cbfe5d065a20e4b8f0aeefb15b8f
2014-07-24 16:26:59 -07:00
wsmlby
194124965f Merge "Add memory tracking for persistent proccesses and launcher" into lmp-dev 2014-07-24 20:48:02 +00:00
Amith Yamasani
422570ea3f Call PRE_BOOT_COMPLETED on starting any user
Refactor PRE_BOOT_COMPLETED delivery code.
Continue to call it on all existing users on system update.
Call it on any user being started, as part of
initialization.

Change-Id: Ie188a823fb19afde3781d6c45ada55d6e92edfac
2014-07-24 23:24:38 +00:00
wsmlby
6c77e104bc Add memory tracking for persistent proccesses and launcher
Change-Id: I5228bd67884dc8b77207a597f279fd4032c7f9d9
2014-07-24 15:58:54 -07:00
Baligh Uddin
b3bb0e3f0d Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-07-24 20:48:02 +00:00
Sungsoo Lim
f0452adb43 Merge "Call removeOverlayView() before onRelease()" into lmp-dev 2014-07-24 16:04:26 +00:00
John Spurlock
09890b3a90 Merge "QS: Handle all camera api exceptions during init." into lmp-dev 2014-07-24 15:36:51 +00:00
John Spurlock
553b48b50a QS: Handle all camera api exceptions during init.
Temporary workaround to unblock certain devices.

Bug:16547333
Change-Id: I80d8ec609e5c32b9db290576c5ec791ad915c45c
2014-07-24 18:12:58 -04:00
Behdad Esfahbod
4774470e20 Merge "Add letter-spacing to Paint and TextView" into lmp-dev 2014-07-24 15:36:21 +00:00
Behdad Esfahbod
fa80f7491d Add letter-spacing to Paint and TextView
New API is hidden.

Bug: 15594400
Change-Id: I5cbe7aebef0b7280eb13924f2a706c0cb4a4688e
2014-07-24 18:46:07 -04:00
John Reck
ad2947a7e7 Merge "fix build" into lmp-dev 2014-07-24 15:36:21 +00:00
John Reck
73e8205f75 fix build
Change-Id: I597255b2b311b7daec7ffe537f62ee78eace50be
2014-07-24 14:46:54 -07:00
Yao Chen
80bb169d0f Use a sequence number for thumbnail callback.
Change-Id: I27888cd0437b4f654cb29371b7d86b9341d84ae9
2014-07-24 21:40:40 +00:00
John Reck
1aa5d2d706 Fix ALL compile warnings
All warnings/errors fixed for GCC & Clang

Change-Id: I2ece3a136a5ae97a9acc3069537ed986238b5fd3
2014-07-24 14:28:08 -07:00
George Mount
71d34ec5be Merge "Fix no transition when only shared element exists." into lmp-dev 2014-07-24 20:48:02 +00:00