147800 Commits

Author SHA1 Message Date
Jae Seo
8211dda34d TIF: Change the directory of the state file
Changed it from /data/system/tv/{userId} to the directory obtained from
Environment.getUserSystemDirectory(userId).

Bug: 17018435
Change-Id: Ib9704a974c4397149ca4b50670cf11346b818de3
2014-08-14 10:50:25 -07:00
Alan Viverette
780fcd9f1a Merge "Make sure we're obtaining themed drawables correctly" into lmp-dev 2014-08-12 23:14:33 +00:00
Alan Viverette
03d30a573b Make sure we're obtaining themed drawables correctly
Change-Id: I446a3492f7bf5a897c5d698e61327af4b7840d85
2014-08-14 19:59:50 +00:00
Jorim Jaggi
8599a33580 Fix listening states for two-finger and fast-double swipe
Bug: 16655660
Change-Id: I46d826edc901e08eb1513fe87de2f63228581617
2014-08-14 19:55:42 +00:00
Jason Monk
92117e9b0c Merge "Switch exiting screen pinning to recents+back" into lmp-dev 2014-08-14 19:41:44 +00:00
Jason Monk
815e057b9b Switch exiting screen pinning to recents+back
When accessibility is on, still use just recents.

While here fix strings to be less wrong.  Still need finalization.

Bug: 16649417
Change-Id: I94debe9471d5132f1f662543cc98cbde638c758d
2014-08-14 20:06:41 +00:00
Alan Viverette
b7bd357cb8 Merge "Prevent SwitchPreference widget from receiving a11y focus" into lmp-dev 2014-08-14 19:41:44 +00:00
Alan Viverette
0464ca04e8 Prevent SwitchPreference widget from receiving a11y focus
Has no effect on behavior when explore by touch is turned off.

BUG: 16961152
Change-Id: I1e494d6a86f261d22d551afc43fe9e499907df6f
2014-08-14 20:00:04 +00:00
Alan Viverette
e06f9845df Merge "Don't set textColor in button style" into lmp-dev 2014-08-12 23:14:33 +00:00
Anish Athalye
4798c44563 Merge "Make LeadingMarginSpan2 behavior more consistent" into lmp-dev 2014-08-14 19:49:28 +00:00
Anish Athalye
ab08c6d38a Make LeadingMarginSpan2 behavior more consistent
This addresses b/16486549.

This change updates public documentation to specify the behavior of
LeadingMarginSpan2s. This change specifies what happens when a
LeadingMarginSpan2 is combined with other LeadingMarginSpans. This
behavior was not previously documented.

LeadingMarginSpan2s specify the number of lines used for the leading
margin. When laying out and rendering, for all LeadingMarginSpans, the
first line margin is applied for the number of lines specified by the
LeadingMarginSpan2.

Previously, this behavior was slightly buggy -- the LeadingMarginSpan2
affected all LeadingMarginSpans when laying out text, but not when
rendering.

This change is designed to cause the least amount of breakage in
existing code while achieving consistency with the way
LeadingMarginSpan2 is handled in layout and drawing.

For the most common use of LeadingMarginSpan2 -- getting a multi-line
first margin in the first paragraph of text in a layout -- this should
cause no change in behavior. For any other uses, the old (buggy)
implementation most likely did not exhibit correct behavior to begin
with, so developers were most likely not relying on that functionality.

Change-Id: I6f69df09c0130e703458e65bf3eaac4a905df56e
2014-08-14 11:58:37 -07:00
Alan Viverette
a6ef180b6f Don't set textColor in button style
We set the text color in the button text appearance, no need to do it
in the style as well.

Change-Id: I8cdad2f71b0cfea5d46ce662103b7c4883183083
2014-08-13 16:51:16 -07:00
Amit Mahajan
46f65a7d99 Merge "Revert "Revert "add apn setting parameters, and set apn parameters to bp""" into lmp-dev 2014-08-12 23:14:33 +00:00
Amit Mahajan
ad254384ad Revert "Revert "add apn setting parameters, and set apn parameters to bp""
This reverts commit 193418074ad85878121776ebf316367ad53d2039.

Change-Id: I52641411da884fa252c40c303537e61ca6e14fc0
2014-08-13 21:56:32 +00:00
Chris Craik
0d79310e25 Merge "Switch to cos interpolation of shadow alpha" into lmp-dev 2014-08-12 23:14:33 +00:00
Nancy Chen
5f52e8ce42 Merge "Add extras for outgoing call" into lmp-dev 2014-08-12 23:14:33 +00:00
Nancy Chen
10798dcaff Add extras for outgoing call
To be able to pass information from dialer to incallui,
telecomm.Call needs to hold extra information. Add this extra bundle to
the intent.

Bug: 15284651
Change-Id: Ie462c35ece41647c7104c657cc1de947ff284729
2014-08-14 11:59:43 -07:00
RoboErik
6d3e0c6d1a Merge "Remove REMOTE_STREAM_MUSIC references from AudioService" into lmp-dev 2014-08-12 23:14:33 +00:00
RoboErik
2811dd3372 Remove REMOTE_STREAM_MUSIC references from AudioService
This removes the fake stream from AudioService and cleans up
references to it. Also removes isLocalOrRemoteMusicActive.

bug:15884752
Change-Id: I1c2b57a2f8ba80061313737f254463f4c80ce8c3
2014-08-14 17:23:34 +00:00
Selim Cinek
1a8b72af90 Merge "Fixed a NPE during setup wizard" into lmp-dev 2014-08-12 23:14:49 +00:00
Selim Cinek
e34c6513bb Fixed a NPE during setup wizard
The heightChangedListener might not be set.

Bug: 17000238
Change-Id: I3e930d22eeaeea5984c089d3f76c91997e4a2b01
2014-08-14 09:26:04 +00:00
Dake Gu
0017ef9ee1 fix ghost clipBounds problem
OverlayViewGroup clipChildren=true, so that RenderNode
of GhostView will be forced clip its content to its bounds.
Because GhostView is transformed to a different location
other than (0,0),  the content left/up to the bounds
is clipped out.

Introduce another clipChildren=false view between
OverlayViewGroup and GhostView.

b/16982904

Change-Id: Ia11926c78e19bffe80c3d4584a59b83b2fbee6df
2014-08-12 16:10:40 -07:00
David Christie
d4edf4cb01 Disable GPS when battery saver is on and screen is off.
Bug: 15348895

Change-Id: Iae2c3898ff48dc4d22e0ff872d7417ef6945c5e3
2014-08-12 16:02:33 -07:00
Chris Craik
91a8c7c629 Switch to cos interpolation of shadow alpha
bug:16852257

Updates default shadow opacities to compensate.

Also, update variable/constant naming related to vertex alpha.

Change-Id: I9055b4ac3c9ac305ca9d515f21b52d6aa6dc9c5c
2014-08-12 16:00:09 -07:00
Ruben Brunk
3e19025049 DNG: Fix row stride check.
Bug: 16986715

Change-Id: I5337194f7078d394b9e972e81861794283925612
2014-08-12 22:54:13 +00:00
Jean-Michel Trivi
81f871e2b9 Add support for AudioAttributes in android.media.Ringtone
Deprecate use of stream types.
Map deprecated API to AudioAttributes.
Add new methods to specify AudioAttributes on a Ringtone instance.

Bug 16790748

Change-Id: Ifb3c2e838e1f119614459ad7d71d83a4d7c9ffdb
2014-08-12 15:53:15 -07:00
Quddus Chong
8570ee6d67 am eb4d136e: am a5365ed9: am ac605c84: Merge "docs: Updated L Preview Overview and support page with information about using NDK r10 for 64-bit support." into klp-modular-docs
* commit 'eb4d136e5a8833a7071b797ab6e6e455ae85b063':
  docs: Updated L Preview Overview and support page with information about using NDK r10 for 64-bit support.
2014-08-12 22:52:08 +00:00
Jorim Jaggi
8de4311c51 Lockscreen launch animations
- Get rid of ActivityManager.dismissKeyguardOnNextActivity, which was
  used for two different things: Dismiss keyguard from somewhere else
  (not really necessary anymore), wait to actually dismiss keyguard
  after the window behind is drawn. Instead, introduce
  keyguardWaitingForActivityDrawn(), and change the semantics where
  necessary.
- Make wallpaper_close_enter consistent with task_open_enter and the
  Keyguard launch animation.
- Close the panel even on lockscreen when launching a notification.
- Block notification shade updates during the collapsing motion so
  notification don't play the disappear animation immediately after
  having launched a notification.

Bug: 15991916

Change-Id: I133c177b84e926c87c1a404ba93d633593fec3ab
2014-08-12 22:47:52 +00:00
Quddus Chong
eb4d136e5a am a5365ed9: am ac605c84: Merge "docs: Updated L Preview Overview and support page with information about using NDK r10 for 64-bit support." into klp-modular-docs
* commit 'a5365ed9dd080529609078c0b262e775ba3b460e':
  docs: Updated L Preview Overview and support page with information about using NDK r10 for 64-bit support.
2014-08-12 22:46:41 +00:00
Jon Miranda
4852021095 Changed flow in export methods to continue through the loop if it encounters
an int[] return type.

There are two such instances:

1. "private int[] mRules" within RelativeLayout LayoutParams.
2. "public int[] getLocationOnScreen" in View.

When I added #2, we noticed missing annotated fields/methods in Hierarchy
Viewer, but #1 also caused the same issue (mainly not exporting
alignWithParent field)

Bug: 16844914
Change-Id: I0d83a4391aa0565897cd7f0523995c97b7a4976d
2014-08-12 15:45:57 -07:00
Quddus Chong
a5365ed9dd am ac605c84: Merge "docs: Updated L Preview Overview and support page with information about using NDK r10 for 64-bit support." into klp-modular-docs
* commit 'ac605c8488a3092c1451ac29cad35ff2ff9f7f98':
  docs: Updated L Preview Overview and support page with information about using NDK r10 for 64-bit support.
2014-08-12 22:42:19 +00:00
Wink Saville
125cf62d59 Fix CellIdentityLte.equals
Bug: 16902094
Change-Id: I92786dc792bf318d2236212eb2acf955ec41e066
2014-08-12 22:39:35 +00:00
Dianne Hackborn
a3fb40d5f4 Add 560dpi, and some other stuff.
Like new settings actions for some of the new settings panels.
And fix voice interaction services so they require a recognizer.
And tweak array map doc to be correct.

Blah blah blah.

Change-Id: Ib5e66b574b10e7b3fa39723b21046a74e6ead204
2014-08-12 15:38:19 -07:00
Chet Haase
90e854ab7b ActionBarOverlay needs to be focusable
Issue #16654827 Settings search does not close all the way.

Change-Id: I6e46ac828a6a5e90e29761c176899b90d32563c5
2014-08-12 22:25:53 +00:00
Alan Viverette
27cede8777 Prevent re-entry when clearing animating hotspots
BUG: 16651728
Change-Id: I2b1b1501a4adfded833d0ed95ec3537ae217a6d7
2014-08-12 15:03:01 -07:00
Deepanshu Gupta
0e4be25409 Whitelist fonts instead of blacklist.
A list of all fonts bundled with the SDK is generated. Load this file to
know which fonts are missing from the SDK.

Change-Id: I1554f1baec842ccdde3b21a93008437e9bac9353
2014-08-12 15:00:58 -07:00
Alan Viverette
029942f77d Add API for obtaining max text length for accessibility
BUG: 16736956
Change-Id: I15ffb9bf68e074adf3e0dbcd230367e115c03e3c
2014-08-12 14:55:56 -07:00
Quddus Chong
ac605c8488 Merge "docs: Updated L Preview Overview and support page with information about using NDK r10 for 64-bit support." into klp-modular-docs 2014-08-12 20:55:12 +00:00
Quddus Chong
20dad64d03 docs: Updated L Preview Overview and support page with information about using NDK r10 for 64-bit support.
Change-Id: Ib759f6a187a8a1298d01f8485a8e05e5d9b67e27
2014-08-12 15:08:05 -07:00
Jorim Jaggi
ddc122ee50 Merge "New lock pattern assets and animations" into lmp-dev 2014-08-12 19:56:56 +00:00
Robert Ly
ecae7cb04f am 378b2558: am 41e836a6: Merge "docs: update dashboard" into klp-modular-docs
* commit '378b25584f3ddeb242dfc3c9c161512a897cc0d8':
  docs: update dashboard
2014-08-12 19:52:21 +00:00
Robert Ly
378b25584f am 41e836a6: Merge "docs: update dashboard" into klp-modular-docs
* commit '41e836a644b1fa767fdcce629bbb4753e0f5ecd6':
  docs: update dashboard
2014-08-12 19:45:28 +00:00
Chris Craik
b3cca876c2 Fix ripples projecting to scrolled view
bug:16873774

1) Fix projectionReceiveIndex, which could in some cases point at
translate/restore ops.

2) Use background translateX / translateY for projected RenderNodes.
This makes them match background position, and thus properly account
for scroll.

Change-Id: Idbd5700858fd67c5abea0270a1012952fe09ac22
2014-08-12 12:33:01 -07:00
Alan Viverette
5454bc19d8 Merge "Use correct checked value when animating Switch" into lmp-dev 2014-08-12 19:31:43 +00:00
Alan Viverette
467d629ca7 Use correct checked value when animating Switch
BUG: 16984959
Change-Id: I1b4ffea568619663e26c097a28b86579d090c0ce
2014-08-12 15:13:19 -07:00
Chris Craik
c7d62b777b Merge "Rework shadow interpolation" into lmp-dev 2014-08-12 19:31:43 +00:00
Chris Craik
bf75945e7a Rework shadow interpolation
bug:16852257

Use pow(alpha, 1.5) to avoid harsh edges on shadow alpha ramps.

Also adjusts shadow constants to compensate.

Change-Id: I5869956d7d292db2a8e496bc320084b6d64c3fb7
2014-08-12 12:44:59 -07:00
RoboErik
0d194c5e23 Post MediaSessionManager callbacks to the caller's thread
We were just sending them from the binder thread. This makes them
post to the thread that registered the listener.

Change-Id: I27c155099da32f3bc8be6e3851272f0463df498b
2014-08-12 12:22:12 -07:00
Adam Lesinski
e25547b335 Merge "AAPT: Dump an APK's split name attribute" into lmp-dev 2014-08-12 19:21:04 +00:00
Adam Lesinski
25d35a9d68 AAPT: Dump an APK's split name attribute
Bug:16919497

Change-Id: I109e21bff9e4a64a10f48dce7f2d41102b32ee1d
2014-08-12 22:17:25 +00:00