OSDN Git Service

android-x86/frameworks-base.git
9 years agoImprove the spot shadow computation.
ztenghui [Thu, 21 Aug 2014 20:47:54 +0000 (13:47 -0700)]
Improve the spot shadow computation.

Get rid of compuation of the intersection for penumbra and convex hull for umbra.
Use simple circle / normal to compute the penumbra and simple intersection for umbra.

The new way could be 2x to 4x faster from rectangle to round shape.
And this part is roughly half of the shadow computation, or 2/3 of spot shadow
computation.

This improve the spot shadow spikeness too.

b/16712006
b/14976551

Change-Id: I02911784868731369efa73f76fc915bc08248600

9 years agoMerge "Make alarm invisible when going to detail in QS" into lmp-dev
Jorim Jaggi [Wed, 20 Aug 2014 17:00:36 +0000 (17:00 +0000)]
Merge "Make alarm invisible when going to detail in QS" into lmp-dev

9 years agoMake alarm invisible when going to detail in QS
Jorim Jaggi [Wed, 20 Aug 2014 14:59:23 +0000 (16:59 +0200)]
Make alarm invisible when going to detail in QS

Bug: 17058346
Change-Id: Id93eb150582799a3e258c839c056e0fa38259424

9 years agoMerge "Allow the system in other users to call startActivityAsCaller." into lmp-dev
Nicolas Prevot [Wed, 20 Aug 2014 16:55:38 +0000 (16:55 +0000)]
Merge "Allow the system in other users to call startActivityAsCaller." into lmp-dev

9 years agoMerge "Copy framework internal resources for indeterminate anim." into lmp-dev
John Spurlock [Wed, 20 Aug 2014 16:49:48 +0000 (16:49 +0000)]
Merge "Copy framework internal resources for indeterminate anim." into lmp-dev

9 years agoCopy framework internal resources for indeterminate anim.
John Spurlock [Wed, 20 Aug 2014 15:36:57 +0000 (11:36 -0400)]
Copy framework internal resources for indeterminate anim.

Bug:14622065
Change-Id: Icfe4df5b01f342b7d3dc792e03391dc764abd59b

9 years agoMerge "Made all classes required for an InCallService @SystemApi" into lmp-dev
Santos Cordon [Wed, 20 Aug 2014 16:09:42 +0000 (16:09 +0000)]
Merge "Made all classes required for an InCallService @SystemApi" into lmp-dev

9 years agoMade all classes required for an InCallService @SystemApi
Gabriel Peal [Tue, 19 Aug 2014 21:24:18 +0000 (14:24 -0700)]
Made all classes required for an InCallService @SystemApi

Bug: 17153048
Change-Id: I6b46969e976a47fd814022939a99b823fcb7b2bd

9 years agoAllow the system in other users to call startActivityAsCaller.
Nicolas Prevot [Wed, 20 Aug 2014 10:03:03 +0000 (11:03 +0100)]
Allow the system in other users to call startActivityAsCaller.

BUG: 17148852

Change-Id: I4c9811b7da90b5705e72001dd36bf67d559cb189

9 years agoMerge "camera2: Fix StreamConfigurationMap#getOutputSizes for ImageReader" into lmp-dev
Igor Murashkin [Tue, 19 Aug 2014 18:35:09 +0000 (18:35 +0000)]
Merge "camera2: Fix StreamConfigurationMap#getOutputSizes for ImageReader" into lmp-dev

9 years agocamera2: Fix StreamConfigurationMap#getOutputSizes for ImageReader
Igor Murashkin [Tue, 19 Aug 2014 17:51:30 +0000 (10:51 -0700)]
camera2: Fix StreamConfigurationMap#getOutputSizes for ImageReader

Return empty array since no implementation-defined sizes are supported

Bug: 17007153
Change-Id: I178e89ef6b2640896f8657765beb458022d66ae5

9 years agoMerge "camera2: (Legacy) Add control.sceneMode = DISABLED to templates" into lmp-dev
Igor Murashkin [Tue, 19 Aug 2014 18:34:56 +0000 (18:34 +0000)]
Merge "camera2: (Legacy) Add control.sceneMode = DISABLED to templates" into lmp-dev

9 years agomedia.MediaPlayer: don't check file-existence for URI-s with scheme
Lajos Molnar [Mon, 18 Aug 2014 21:26:55 +0000 (14:26 -0700)]
media.MediaPlayer: don't check file-existence for URI-s with scheme

setDataSource can be called with URI-s as well as with file paths.
Check file-existence only for file:// URI-s as well as URI-s
without scheme (which are assumed to be paths).

Bug: 17109022
Change-Id: I70f16a4f614dcef0b47fa264cf708473036cef4e

9 years agocamera2: (Legacy) Add control.sceneMode = DISABLED to templates
Igor Murashkin [Tue, 19 Aug 2014 18:04:03 +0000 (11:04 -0700)]
camera2: (Legacy) Add control.sceneMode = DISABLED to templates

Bug: 17024375
Change-Id: Ie4e2a7f22caa842b4f3850f3739f22c5f6a9b88f

9 years agoUpdate MediaSession APIs for council feedback
RoboErik [Fri, 15 Aug 2014 22:21:41 +0000 (15:21 -0700)]
Update MediaSession APIs for council feedback

-Changes MediaSessionManager.SessionsListener to OnActiveSessionsChangedListener
and makes it an interface.
-Renames MediaController.VolumeInfo to MediaController.AudioInfo
-Renames MediaSession.Track to MediaSession.Item

bug:17059552
Change-Id: I3a0b4371700ad6657972c312a5ab89ddfac6df5b

9 years agoMerge "Respect round rect clip when determining op opaqueness" into lmp-dev
Chris Craik [Tue, 19 Aug 2014 16:51:32 +0000 (16:51 +0000)]
Merge "Respect round rect clip when determining op opaqueness" into lmp-dev

9 years agoAdd a way to get Transitions from a TransitionSet.
George Mount [Mon, 18 Aug 2014 23:24:21 +0000 (16:24 -0700)]
Add a way to get Transitions from a TransitionSet.

Bug 17113732

Change-Id: I0a157a59448e66560ba2252709971131c5dea401

9 years agoRespect round rect clip when determining op opaqueness
Chris Craik [Tue, 19 Aug 2014 02:55:36 +0000 (19:55 -0700)]
Respect round rect clip when determining op opaqueness

bug:17115570
Change-Id: I30184b4678d333b5d222af8b61daa07a5e865cab

9 years agoPlay "device trusted" sound when onTrustInitiatedByUser fires
Adrian Roos [Wed, 13 Aug 2014 15:14:51 +0000 (17:14 +0200)]
Play "device trusted" sound when onTrustInitiatedByUser fires

Bug: 16840500
Change-Id: I73fbe5c2cff665ccb637abb9039d57f377d9df53

9 years agoMerge "Don't allow to scroll to QS if not provisioned" into lmp-dev
Jorim Jaggi [Wed, 20 Aug 2014 13:59:03 +0000 (13:59 +0000)]
Merge "Don't allow to scroll to QS if not provisioned" into lmp-dev

9 years agoDon't allow to scroll to QS if not provisioned
Jorim Jaggi [Thu, 14 Aug 2014 22:03:09 +0000 (00:03 +0200)]
Don't allow to scroll to QS if not provisioned

Bug: 15593900
Change-Id: I54ae38f7f2c82e26b859ba7b7b3a5e096e18289e

9 years agoMerge "Fix accessibility actions for navigation bar" into lmp-dev
Jorim Jaggi [Wed, 20 Aug 2014 13:39:59 +0000 (13:39 +0000)]
Merge "Fix accessibility actions for navigation bar" into lmp-dev

9 years agoFix accessibility actions for navigation bar
Jorim Jaggi [Fri, 15 Aug 2014 16:42:00 +0000 (18:42 +0200)]
Fix accessibility actions for navigation bar

Because we handle touch events with custom code, we also need to
handle accessibiltiy correctly.

Bug: 15938266
Change-Id: I186807b7349881a5f0804d7452974cc3c3a8a160

9 years agoAdded notification color to all system notifications
Selim Cinek [Tue, 19 Aug 2014 20:29:02 +0000 (22:29 +0200)]
Added notification color to all system notifications

Bug: 17128331
Change-Id: I81a94510ef51b99916f314c0dd65852426a1fbeb

9 years agoMerge "Add check to allow notification listener packages to post >50 notifications...
Justin Koh [Wed, 20 Aug 2014 16:09:01 +0000 (16:09 +0000)]
Merge "Add check to allow notification listener packages to post >50 notifications" into lmp-dev

9 years agoAdd check to allow notification listener packages to post >50 notifications
Justin Koh [Wed, 4 Jun 2014 20:57:49 +0000 (13:57 -0700)]
Add check to allow notification listener packages to post >50 notifications

Bug: 13433398
Change-Id: I77abf19982add240e1bbe8196fbe148d32884f68
(cherry picked from commit 2dbd36fc7f9341ecef51c2ed96a0f21b046f5a8d)

9 years agoMerge "Revert workaround for network limit dialog." into lmp-dev
John Spurlock [Tue, 19 Aug 2014 16:43:01 +0000 (16:43 +0000)]
Merge "Revert workaround for network limit dialog." into lmp-dev

9 years agoRevert workaround for network limit dialog.
John Spurlock [Tue, 19 Aug 2014 16:38:32 +0000 (12:38 -0400)]
Revert workaround for network limit dialog.

Restore the window type now that it no longer crashes.

This reverts https://googleplex-android-review.git.corp.google.com/#/c/527371/

Bug:17102499
Change-Id: Ifb93a959a693b5925712ae82192c80790b6aefb1

9 years agoData usage limit strings + icon changes.
John Spurlock [Mon, 18 Aug 2014 15:35:36 +0000 (11:35 -0400)]
Data usage limit strings + icon changes.

- Change notification icon + text.
- Change QS detail overlimit title.

Bug:17042440
Change-Id: I45ebd82c3e676ec265f29b778605444ae4a1c4f1

9 years agoMerge "CEC: Broadcast language setting whenever it changes" into lmp-dev
Terry Heo [Wed, 20 Aug 2014 06:57:27 +0000 (06:57 +0000)]
Merge "CEC: Broadcast language setting whenever it changes" into lmp-dev

9 years agoCEC: Broadcast language setting whenever it changes
Terry Heo [Mon, 18 Aug 2014 01:30:32 +0000 (10:30 +0900)]
CEC: Broadcast language setting whenever it changes

Bug: 16995278
Change-Id: Id695d4d2f213cd8039c9915f3d4e451e829e715c

9 years agoMerge "Disable device when it's removed or disabled." into lmp-dev
Jungshik Jang [Wed, 20 Aug 2014 06:47:28 +0000 (06:47 +0000)]
Merge "Disable device when it's removed or disabled." into lmp-dev

9 years agoDisable device when it's removed or disabled.
Jungshik Jang [Wed, 20 Aug 2014 01:29:22 +0000 (10:29 +0900)]
Disable device when it's removed or disabled.

Bug: 17122583
Change-Id: Iabda3123ab7e3366c53ae39d9887cb0dd90bdd89

9 years agoFix the signature of nativeSendScratchpadCommand
Jae Seo [Wed, 20 Aug 2014 03:40:03 +0000 (20:40 -0700)]
Fix the signature of nativeSendScratchpadCommand

Change-Id: Ie90a7317f4cf368bf84a64d72e3d8b0de2458b50

9 years agoMerge "Compress miscellaneous fonts." into lmp-dev
Sascha Prueter [Wed, 20 Aug 2014 03:22:00 +0000 (03:22 +0000)]
Merge "Compress miscellaneous fonts." into lmp-dev

9 years agoMerge "Use the CAST_SETTINGS activity for Cast Screen / More Settings." into lmp-dev
Jeff Brown [Wed, 20 Aug 2014 03:12:12 +0000 (03:12 +0000)]
Merge "Use the CAST_SETTINGS activity for Cast Screen / More Settings." into lmp-dev

9 years agoUse the CAST_SETTINGS activity for Cast Screen / More Settings.
Jeff Brown [Wed, 20 Aug 2014 00:51:47 +0000 (17:51 -0700)]
Use the CAST_SETTINGS activity for Cast Screen / More Settings.

Change-Id: Ifc2e505896ecf17ac2d0d24a3fec07c10d604448

9 years agoRemove incomplete media router API. (DO NOT MERGE)
Jeff Brown [Wed, 20 Aug 2014 00:39:42 +0000 (17:39 -0700)]
Remove incomplete media router API. (DO NOT MERGE)

Change-Id: I310fadafb5a6b8190a32e5d87f3e1823c87bcef7

9 years agoMerge "Remove incomplete media router API. (DO NOT MERGE)" into lmp-dev
Jeff Brown [Wed, 20 Aug 2014 03:11:57 +0000 (03:11 +0000)]
Merge "Remove incomplete media router API. (DO NOT MERGE)" into lmp-dev

9 years agoMerge "Annotate @SystemApi on some WifiManager methods." into lmp-dev
Wenchao Tong [Wed, 20 Aug 2014 02:58:22 +0000 (02:58 +0000)]
Merge "Annotate @SystemApi on some WifiManager methods." into lmp-dev

9 years agoEnable VoLTE with overlay configuration allowing disabling.
Etan Cohen [Tue, 19 Aug 2014 22:54:42 +0000 (15:54 -0700)]
Enable VoLTE with overlay configuration allowing disabling.

Bug: 17134661
Change-Id: Ie6262b2b39848a13729a4b9d6acad10ebb91636b

9 years agoAnnotate @SystemApi on some WifiManager methods.
Wenchao Tong [Tue, 19 Aug 2014 00:17:57 +0000 (17:17 -0700)]
Annotate @SystemApi on some WifiManager methods.

Bug: 17112931
Change-Id: I5980bc46bc1f16316caecd7fcc6cd771b8ca6cdf

9 years agoMerge "Update text selection handles to have a minimum touch target size." into lmp-dev
Adam Powell [Wed, 20 Aug 2014 02:37:04 +0000 (02:37 +0000)]
Merge "Update text selection handles to have a minimum touch target size." into lmp-dev

9 years agoUpdate text selection handles to have a minimum touch target size.
Adam Powell [Wed, 20 Aug 2014 01:28:04 +0000 (18:28 -0700)]
Update text selection handles to have a minimum touch target size.

The text selection handles were traditionally sized based on the size
of the provided drawables. When these drawables are visually small, do
not restrict the size of the touch target beyond a certain minimum.

Bug 16851360

Change-Id: If6a468c7b3a9a1a21913006633f00699637751c0

9 years agoMerge "Make Toolbars (and Toolbar-based ActionBars) have constant text size" into...
Adam Powell [Tue, 19 Aug 2014 22:14:06 +0000 (22:14 +0000)]
Merge "Make Toolbars (and Toolbar-based ActionBars) have constant text size" into lmp-dev

9 years agoMake Toolbars (and Toolbar-based ActionBars) have constant text size
Adam Powell [Tue, 19 Aug 2014 02:09:27 +0000 (19:09 -0700)]
Make Toolbars (and Toolbar-based ActionBars) have constant text size

Bug 16397655

Change-Id: I908feb1c0a44e4d6061ed49a81c326c841bb2e7c

9 years agoMerge "ConnectionService API has only one completed callback (1/3)" into lmp-dev
Ihab Awad [Tue, 19 Aug 2014 21:21:33 +0000 (21:21 +0000)]
Merge "ConnectionService API has only one completed callback (1/3)" into lmp-dev

9 years agoConnectionService API has only one completed callback (1/3)
Ihab Awad [Mon, 18 Aug 2014 16:23:25 +0000 (09:23 -0700)]
ConnectionService API has only one completed callback (1/3)

Refactor ConnectionService API so it has only one "completed"
callback, and connection state and failure codes indicates what
happened. Previous design where we had separate callbacks for failure,
cancellation and success was error prone because it was easy to forget
to implement one of them.

Bug: 16993846
Bug: 17070939

Change-Id: I84bf5d041cf78193ccf80db201b08db3b7014830

9 years agoMerge "Fix issue #17114392: android.com.phone crashes - PackageManager code" into...
Dianne Hackborn [Tue, 19 Aug 2014 01:09:33 +0000 (01:09 +0000)]
Merge "Fix issue #17114392: android.com.phone crashes - PackageManager code" into lmp-dev

9 years agoFix issue #17114392: android.com.phone crashes - PackageManager code
Dianne Hackborn [Tue, 19 Aug 2014 01:07:23 +0000 (18:07 -0700)]
Fix issue #17114392: android.com.phone crashes - PackageManager code

Change-Id: Ib02119c6f313384a73fa7cb7b2b62dbd716fa6ca

9 years agoMerge "When forwarding intents, ignoring the package set in the intent." into lmp-dev
Nicolas Prevot [Mon, 18 Aug 2014 18:50:41 +0000 (18:50 +0000)]
Merge "When forwarding intents, ignoring the package set in the intent." into lmp-dev

9 years agoMerge "Use id to find proper HdmiDeviceInfo instead of ojbect itself." into lmp-dev
Jungshik Jang [Wed, 20 Aug 2014 06:36:10 +0000 (06:36 +0000)]
Merge "Use id to find proper HdmiDeviceInfo instead of ojbect itself." into lmp-dev

9 years agoUse id to find proper HdmiDeviceInfo instead of ojbect itself.
Jungshik Jang [Wed, 20 Aug 2014 06:06:01 +0000 (15:06 +0900)]
Use id to find proper HdmiDeviceInfo instead of ojbect itself.

TvInputHardwareManager manages internal device info and update
it by remove or add method of List collection. However,
HdmiDeviceInfo overrides equals method and remove may not work
if incoming HdmiDeviceInfo has different power status.
Instead, this change iterates all HdmiDeviceInfo and compares
id of HdmiDeviceInfo.

Bug: 17145753
Change-Id: Ia5de3e33cf05b28fa2bd108d99e78de09b838fb3

9 years agoMerge "TIF: Remove session state when hardware wrapper input crashes" into lmp-dev
Ji-Hwan Lee [Tue, 19 Aug 2014 00:58:50 +0000 (00:58 +0000)]
Merge "TIF: Remove session state when hardware wrapper input crashes" into lmp-dev

9 years agoTIF: Remove session state when hardware wrapper input crashes
Ji-Hwan Lee [Sat, 16 Aug 2014 19:51:18 +0000 (04:51 +0900)]
TIF: Remove session state when hardware wrapper input crashes

Change-Id: I2306cc407a19892c1895ee70bd6bd52b1a3bd4f3

9 years agoMerge "Temporary: raise overflow limit, print all wake locks." into lmp-dev
Dianne Hackborn [Tue, 19 Aug 2014 00:44:37 +0000 (00:44 +0000)]
Merge "Temporary: raise overflow limit, print all wake locks." into lmp-dev

9 years agoTemporary: raise overflow limit, print all wake locks.
Dianne Hackborn [Mon, 18 Aug 2014 23:33:44 +0000 (16:33 -0700)]
Temporary: raise overflow limit, print all wake locks.

Change-Id: I02baa775b8e0659bd9cd4547b8671730f056cb86

9 years agoMerge "Persist Show IME option." into lmp-dev
Michael Wright [Tue, 19 Aug 2014 00:34:51 +0000 (00:34 +0000)]
Merge "Persist Show IME option." into lmp-dev

9 years agoMerge "Update MenuItem#setShortcut docs" into lmp-dev
Michael Wright [Tue, 19 Aug 2014 00:34:44 +0000 (00:34 +0000)]
Merge "Update MenuItem#setShortcut docs" into lmp-dev

9 years agoMerge "Add callbacks for MediaProjection start / stop." into lmp-dev
Michael Wright [Tue, 19 Aug 2014 00:26:06 +0000 (00:26 +0000)]
Merge "Add callbacks for MediaProjection start / stop." into lmp-dev

9 years agoUpdate MenuItem#setShortcut docs
Michael Wright [Sat, 9 Aug 2014 23:23:05 +0000 (16:23 -0700)]
Update MenuItem#setShortcut docs

Change-Id: I6b73992b0c8d590e8c9884bec377c7c0c1e35720

9 years agoPersist Show IME option.
Michael Wright [Sun, 10 Aug 2014 02:28:42 +0000 (19:28 -0700)]
Persist Show IME option.

Add a new setting to persist whether to show the IME when a hard
keyboard is connected.

Bug: 14066881
Change-Id: I2237ded850a0d4ab43ca441d0b7df13e0958e630

9 years agoChange 'disable hardware keyboard' to 'show input method'
Michael Wright [Thu, 7 Aug 2014 22:44:40 +0000 (15:44 -0700)]
Change 'disable hardware keyboard' to 'show input method'

Previously it implied that the hardware keyboard would be disabled,
but really the toggle would just enable showing the IME even if a
hardware keyboard was present. Changed the string and swapped the
semantics to be more clear about the behavior.

Bug: 14066881
Change-Id: I9c8a7eb98b5277f1d09cc19fa7402e9b4cf51d92

9 years agoAdd callbacks for MediaProjection start / stop.
Michael Wright [Wed, 13 Aug 2014 02:27:54 +0000 (19:27 -0700)]
Add callbacks for MediaProjection start / stop.

Also, enforce that there is only one valid MediaProjection at a time.

Bug: 16488053
Change-Id: Id05445d798c98cb208bc4dab186296392e15d30b

9 years agoMerge "Update the print spooler icon." into lmp-dev
Svetoslav [Mon, 18 Aug 2014 23:57:44 +0000 (23:57 +0000)]
Merge "Update the print spooler icon." into lmp-dev

9 years agoUpdate the print spooler icon.
Svetoslav [Mon, 18 Aug 2014 23:10:59 +0000 (16:10 -0700)]
Update the print spooler icon.

Removed a duplicate resource also defined in the platform
resources. Added a tint to the print spooler icon.

bug:16568027

Change-Id: I1c0b9a7bd75bc59d1d86653c05d8fc2bb77056c1

9 years agoTIF: Fix some comment warnings
Jae Seo [Mon, 18 Aug 2014 22:03:33 +0000 (15:03 -0700)]
TIF: Fix some comment warnings

Also fixed some other obvious warnings from Eclipse

Bug: 16876068
Change-Id: Ic9c44caf3fd53e965043aa96039d5f3a5655eaff

9 years agoMerge "Fix a bug propagating navigation button events from ToolbarActionBar" into...
Adam Powell [Mon, 18 Aug 2014 23:20:22 +0000 (23:20 +0000)]
Merge "Fix a bug propagating navigation button events from ToolbarActionBar" into lmp-dev

9 years agoFix a bug propagating navigation button events from ToolbarActionBar
Adam Powell [Mon, 18 Aug 2014 22:58:23 +0000 (15:58 -0700)]
Fix a bug propagating navigation button events from ToolbarActionBar

Add a simple internal wrapper for dealing with window callback events.
This should also make working with things like action modes from
ToolbarActionBar significantly easier in later changes.

Bug 16980711

Change-Id: I2c3d7525489a21847f4af9b80f6ebf9b34b4dd58

9 years agoMerge "CEC: Hook up device select API to MHL device RAP" into lmp-dev
Jinsuk Kim [Wed, 20 Aug 2014 05:32:56 +0000 (05:32 +0000)]
Merge "CEC: Hook up device select API to MHL device RAP" into lmp-dev

9 years agoCEC: Hook up device select API to MHL device RAP
Jinsuk Kim [Wed, 20 Aug 2014 01:40:12 +0000 (10:40 +0900)]
CEC: Hook up device select API to MHL device RAP

This lets the input selection on UI perform MHL RAP signalling, and
CEC routing control.

Bug: 17141884
Change-Id: Ic1605175c5779a9a3c43df954baf9fdb6f154d36

9 years agoRevert "Update indeterminate linear progress bar"
Tenghui Zhu [Tue, 19 Aug 2014 23:23:20 +0000 (23:23 +0000)]
Revert "Update indeterminate linear progress bar"

This reverts commit 00282d5a5182293d401164278738f454b42cf979.

Change-Id: I1c1d167c32006cef807e0eeb44cfef784a6444e5

9 years agoFixes for a few bugs related to visible-behind activities
Jose Lima [Mon, 18 Aug 2014 22:19:41 +0000 (15:19 -0700)]
Fixes for a few bugs related to visible-behind activities

   - Allow activities currently not visible to switch back to not
     visible-behind state.
   - Do not allow an activity that is not set as the visible-behind
     activity to cancel the visible-behind state.
   - Immediately mark a finishing activity as no longer visible behind.

Bug: 17070266
Change-Id: I2c5016793e5264013b8a54b84098e6ffae34ae6c

9 years agoMerge "Allow enum generated IDs to reuse existing IDs" into lmp-dev
Adam Lesinski [Tue, 19 Aug 2014 23:17:32 +0000 (23:17 +0000)]
Merge "Allow enum generated IDs to reuse existing IDs" into lmp-dev

9 years agoAllow enum generated IDs to reuse existing IDs
Adam Lesinski [Tue, 19 Aug 2014 00:14:57 +0000 (17:14 -0700)]
Allow enum generated IDs to reuse existing IDs

Change-Id: Ida5dbbce1c4ecb0a4e57511555cec6448737be25

9 years agoMerge "camera2: legacy: disable shutter sounds unconditionally via camera2 api" into...
Igor Murashkin [Tue, 19 Aug 2014 23:06:54 +0000 (23:06 +0000)]
Merge "camera2: legacy: disable shutter sounds unconditionally via camera2 api" into lmp-dev

9 years agocamera2: legacy: disable shutter sounds unconditionally via camera2 api
Igor Murashkin [Tue, 19 Aug 2014 21:51:47 +0000 (14:51 -0700)]
camera2: legacy: disable shutter sounds unconditionally via camera2 api

Bug: 17109582
Change-Id: Ieb3fc61ff111d792cc657c018e278349c25472cf

9 years agoMerge "Fix button text color, reduce alert dialog padding" into lmp-dev
Alan Viverette [Tue, 19 Aug 2014 22:56:42 +0000 (22:56 +0000)]
Merge "Fix button text color, reduce alert dialog padding" into lmp-dev

9 years agoMerge "Fix alignParentRight/End in RelativeLayout" into lmp-dev
Alan Viverette [Tue, 19 Aug 2014 22:55:07 +0000 (22:55 +0000)]
Merge "Fix alignParentRight/End in RelativeLayout" into lmp-dev

9 years agoFix alignParentRight/End in RelativeLayout
Alan Viverette [Tue, 19 Aug 2014 22:41:51 +0000 (15:41 -0700)]
Fix alignParentRight/End in RelativeLayout

BUG: 17136816
Change-Id: If7edb2e0216384429f4caf7e9aae01c09ddd8be4

9 years agoMerge "Fixed ChangeBounds matching against the wrong View." into lmp-dev
George Mount [Tue, 19 Aug 2014 22:53:13 +0000 (22:53 +0000)]
Merge "Fixed ChangeBounds matching against the wrong View." into lmp-dev

9 years agoFixed ChangeBounds matching against the wrong View.
George Mount [Tue, 29 Jul 2014 18:15:54 +0000 (11:15 -0700)]
Fixed ChangeBounds matching against the wrong View.

ChangeBounds must ensure that its parents match to use reparent,
but it used instance and ID matching. Matching can now be
done in several ways and that is insufficient.

Change-Id: Ic0432cd06549e4dc9ba49f33b0a6a42082e29dc1

9 years agoMerge "Update indeterminate linear progress bar" into lmp-dev
ztenghui [Tue, 19 Aug 2014 22:42:33 +0000 (22:42 +0000)]
Merge "Update indeterminate linear progress bar" into lmp-dev

9 years agoUpdate indeterminate linear progress bar
ztenghui [Tue, 19 Aug 2014 21:35:53 +0000 (14:35 -0700)]
Update indeterminate linear progress bar

b/14622065

Change-Id: I1366ecd5e265f5acc31a0ec6281de6e345a8464b

9 years agoMerge "Update setShadowLayer doc" into lmp-dev
Chris Craik [Tue, 19 Aug 2014 22:40:49 +0000 (22:40 +0000)]
Merge "Update setShadowLayer doc" into lmp-dev

9 years agoUpdate setShadowLayer doc
Chris Craik [Tue, 19 Aug 2014 21:41:31 +0000 (14:41 -0700)]
Update setShadowLayer doc

bug:17134528
Change-Id: I436bb0163b18d0b88954bf9dac16e51d14a533eb

9 years agoMerge "Early reject drawText calls that will not draw" into lmp-dev
Chris Craik [Tue, 19 Aug 2014 22:36:32 +0000 (22:36 +0000)]
Merge "Early reject drawText calls that will not draw" into lmp-dev

9 years agoAPI Review: android.media.tv
Jae Seo [Tue, 19 Aug 2014 06:14:12 +0000 (23:14 -0700)]
API Review: android.media.tv

TvView:
- Instead of ERROR_INPUT_DISCONNECTED, a separate callback
  onDisconnected; change onError to onConnectionFailed.

Bug: 17114406
Change-Id: I9457ac81c883610f96954494bf75a4e78e53383f

9 years agoEarly reject drawText calls that will not draw
Chris Craik [Tue, 19 Aug 2014 17:21:12 +0000 (10:21 -0700)]
Early reject drawText calls that will not draw

bug:17114102

Prevents high contrast text from drawing invisible text.

Also fixes stroked text bounds calculation.

Change-Id: Iaeff51ead8b7b8ef2a1a0ca8b89598564e0d443f

9 years agoFix button text color, reduce alert dialog padding
Alan Viverette [Mon, 18 Aug 2014 21:43:36 +0000 (14:43 -0700)]
Fix button text color, reduce alert dialog padding

Material.Button was inheriting from the default Button style, which
incorrectly set textColor (thus overriding the value from the text
appearance).

BUG: 17047363
BUG: 17111560
Change-Id: I74a8fb865bbb7262afd7eb1328e2173e9b74c175

9 years agoMerge "Exposes style and theme data, adds developer option." into lmp-dev
Jon Miranda [Tue, 19 Aug 2014 02:44:46 +0000 (02:44 +0000)]
Merge "Exposes style and theme data, adds developer option." into lmp-dev

9 years agoExposes style and theme data, adds developer option.
Jon Miranda [Mon, 11 Aug 2014 19:32:26 +0000 (12:32 -0700)]
Exposes style and theme data, adds developer option.

Adds support for a String[] return type in ViewDebug; and in addition to that,
the hasAdjacentMapping method can use the String array as means to map a key to
its value.

Adds DEBUG_VIEW_ATTRIBUTES to Settings so that the heavy per-view
computations only affect those who opt in. This setting is used in
CoreSettingsObserver to avoid impacting start time.

Change-Id: I8f507e4e5361414c30d247e8d9815205feb5e91f

9 years agoMerge "Remove parameter field in HdmiCecKeycode." into lmp-dev
Jungshik Jang [Tue, 19 Aug 2014 02:19:54 +0000 (02:19 +0000)]
Merge "Remove parameter field in HdmiCecKeycode." into lmp-dev

9 years agoRemove parameter field in HdmiCecKeycode.
Jungshik Jang [Mon, 18 Aug 2014 07:50:12 +0000 (16:50 +0900)]
Remove parameter field in HdmiCecKeycode.

Since we don't support mapping between android key and parameterized
cec keycode, remove parameter fields in HdmiCecKeycode.

Bug: 17099253
Change-Id: I8b6b6b361f0c343b0a263240b49e41bf289d36ca

9 years agoMerge "CEC: Handle Remote Control command" into lmp-dev
Terry Heo [Mon, 18 Aug 2014 07:21:56 +0000 (07:21 +0000)]
Merge "CEC: Handle Remote Control command" into lmp-dev

9 years agoCEC: Handle Remote Control command
Terry Heo [Tue, 12 Aug 2014 05:41:00 +0000 (14:41 +0900)]
CEC: Handle Remote Control command

Generate an Android key event when a UserControl message is received.
And report menu state active when a MenuRequest message is received to
notify sender can send a UserControl message.

Bug: 16938007
Change-Id: Id8f393dc254508b9e7a6fa203f8e817fbe807e38

9 years agoMerge "Clean up MHL local devices when HdmiControlService turns into disabled state...
Jungshik Jang [Wed, 20 Aug 2014 01:19:12 +0000 (01:19 +0000)]
Merge "Clean up MHL local devices when HdmiControlService turns into disabled state" into lmp-dev

9 years agoImplement missing mhl apis
Jungshik Jang [Tue, 19 Aug 2014 00:30:05 +0000 (09:30 +0900)]
Implement missing mhl apis

1. get_supported_features
2. get_ecbug_device_rols
3. set_option in native.
4. get_mhl_version
5. get_peer_mhl_version
6. send_scratchpad_command
 - it includes send_scratchpad_command but does not include
  java side implementation. It will be added when we implement
  scratchpad.

Bug: 17096490

Change-Id: Iacb4a41234cbbd2d832908b48d188bd81a301b0f

9 years agoMerge "TIF: Add the video frame rate information to TvTrackInfo" into lmp-dev
Jae Seo [Wed, 20 Aug 2014 00:50:31 +0000 (00:50 +0000)]
Merge "TIF: Add the video frame rate information to TvTrackInfo" into lmp-dev

9 years agoMerge "Update toggle switch asset to include content area" into lmp-dev
Alan Viverette [Wed, 20 Aug 2014 00:20:17 +0000 (00:20 +0000)]
Merge "Update toggle switch asset to include content area" into lmp-dev