OSDN Git Service

android-x86/frameworks-base.git
10 years agoHint for phone and camera.
Jorim Jaggi [Mon, 2 Jun 2014 17:29:39 +0000 (19:29 +0200)]
Hint for phone and camera.

Bug: 15189049
Bug: 15126962
Change-Id: Ie28fc8202ace4af56542201d168572ef6ad78d19

10 years agoHide phone/camera affordance when unlocking.
Jorim Jaggi [Mon, 2 Jun 2014 21:37:53 +0000 (23:37 +0200)]
Hide phone/camera affordance when unlocking.

Bug: 15163546
Change-Id: If9f3e270bb3f5473abd687061a0c3f6faf2bf3b0

10 years agoMerge "Disable now defunct touch analysis facility - DO NOT MERGE" into lmp-preview-dev
Adrian Roos [Tue, 3 Jun 2014 10:45:14 +0000 (10:45 +0000)]
Merge "Disable now defunct touch analysis facility - DO NOT MERGE" into lmp-preview-dev

10 years agoMerge "DO NOT MERGE: Added missing entries in the cec device array" into lmp-preview-dev
Jungshik Jang [Tue, 3 Jun 2014 04:14:47 +0000 (04:14 +0000)]
Merge "DO NOT MERGE: Added missing entries in the cec device array" into lmp-preview-dev

10 years agoMerge "Revert sendEnvelope changes [DO NOT MERGE]" into lmp-preview-dev
Evan Charlton [Tue, 3 Jun 2014 03:47:06 +0000 (03:47 +0000)]
Merge "Revert sendEnvelope changes [DO NOT MERGE]" into lmp-preview-dev

10 years agoMerge "Add device capability config for new BLE features(MA, scan filter).(1/3) Fixes...
Wei Wang [Tue, 3 Jun 2014 03:03:03 +0000 (03:03 +0000)]
Merge "Add device capability config for new BLE features(MA, scan filter).(1/3) Fixes b/15387925." into lmp-preview-dev

10 years agoMerge "Refactor NetworkFactory." into lmp-preview-dev
Robert Greenwalt [Tue, 3 Jun 2014 02:59:21 +0000 (02:59 +0000)]
Merge "Refactor NetworkFactory." into lmp-preview-dev

10 years agoMerge "Add onAudioStreamChanged and onClosedCaptionStreamChanged callbacks from TIS...
Dongwon Kang [Tue, 3 Jun 2014 02:31:28 +0000 (02:31 +0000)]
Merge "Add onAudioStreamChanged and onClosedCaptionStreamChanged callbacks from TIS to application." into lmp-preview-dev

10 years agohandle removal of self added configurations
vandwalle [Sun, 1 Jun 2014 21:58:07 +0000 (14:58 -0700)]
handle removal of self added configurations

Change-Id: Ib2891ac38a4a876b0cd4f198cf26198b9fc12909
(cherry picked from commit 23fea6a042073e3cb1b0e74be5b0d096916ab6b8)

10 years agoRefactor NetworkFactory.
Robert Greenwalt [Tue, 27 May 2014 20:20:24 +0000 (13:20 -0700)]
Refactor NetworkFactory.

Make NetworkFactory a concrete class and divide responsibilites between it and NetworkAgent.
Factory will track requests and by default give a single connect/disconnect api for ease
of use.  Then NetworkAgent is created and destroyed as needed with very simple logic.

Change-Id: I401c14a6e5466f2fc63b04219b97ff85bb9af291
(cherry picked from commit 9a17b9c5a256cb4bb14821c5ee89b03b99c045e8)

10 years agoMerge "Rewrite startUsingNetworkFeature for new API" into lmp-preview-dev
Robert Greenwalt [Tue, 3 Jun 2014 01:26:19 +0000 (01:26 +0000)]
Merge "Rewrite startUsingNetworkFeature for new API" into lmp-preview-dev

10 years agoDO NOT MERGE: Added missing entries in the cec device array
Jinsuk Kim [Mon, 2 Jun 2014 09:25:00 +0000 (18:25 +0900)]
DO NOT MERGE: Added missing entries in the cec device array

Change-Id: Ibb775f47cb9fb53df0a1baf67d09d76c4cb42392

10 years agoMerge "add uid and debug fields to wifiConfiguration" into lmp-preview-dev
vandwalle [Tue, 3 Jun 2014 01:03:44 +0000 (01:03 +0000)]
Merge "add uid and debug fields to wifiConfiguration" into lmp-preview-dev

10 years agoAdd onAudioStreamChanged and onClosedCaptionStreamChanged callbacks from TIS to appli...
Dongwon Kang [Mon, 2 Jun 2014 04:33:55 +0000 (13:33 +0900)]
Add onAudioStreamChanged and onClosedCaptionStreamChanged callbacks from TIS to application.

Bug: 14628404
Change-Id: I40abf647e9d608c2c793d007fd2fe0d511535bdd

10 years agoMerge "TvContract: Address the feedback from the API review" into lmp-preview-dev
Jae Seo [Tue, 3 Jun 2014 00:26:05 +0000 (00:26 +0000)]
Merge "TvContract: Address the feedback from the API review" into lmp-preview-dev

10 years agoMerge "Add ClientState for handling the crash of clients." into lmp-preview-dev
Sungsoo Lim [Tue, 3 Jun 2014 00:23:07 +0000 (00:23 +0000)]
Merge "Add ClientState for handling the crash of clients." into lmp-preview-dev

10 years agoadd uid and debug fields to wifiConfiguration
vandwalle [Fri, 30 May 2014 21:29:49 +0000 (14:29 -0700)]
add uid and debug fields to wifiConfiguration

Bug:15111865

Change-Id: I154214c08efe769495cc214cbf65f15d55d83a32

10 years agoFix build
Alan Viverette [Tue, 3 Jun 2014 00:12:58 +0000 (17:12 -0700)]
Fix build

Change-Id: I09c649b3385ed46956f2d784546c430298de3069

10 years agoAdd ClientState for handling the crash of clients.
Sungsoo Lim [Wed, 14 May 2014 00:21:08 +0000 (09:21 +0900)]
Add ClientState for handling the crash of clients.

Bug: 15054040
Change-Id: I4dd8d1c350186fe705daa20c9944bc8e4dd556c2

10 years agoMerge "Add a way to get the class name of SetupActivity and SettingsActivity" into...
Chulwoo Lee [Mon, 2 Jun 2014 23:59:55 +0000 (23:59 +0000)]
Merge "Add a way to get the class name of SetupActivity and SettingsActivity" into lmp-preview-dev

10 years agoAdd a way to get the class name of SetupActivity and SettingsActivity
Chulwoo Lee [Tue, 27 May 2014 05:10:37 +0000 (14:10 +0900)]
Add a way to get the class name of SetupActivity and SettingsActivity

Now, there can be only one SetupActivity and one SettingsActivity for
one TIS apk though one TIS apk can contain several services. Each TIS
need to be able to have its own SetupActivity and SettingsActivity.

BUG: 15177340
Change-Id: I2d944e3ef35c3a981483ba643fd27b15925bab16

10 years agoTvContract: Address the feedback from the API review
Jae Seo [Sun, 1 Jun 2014 00:20:01 +0000 (17:20 -0700)]
TvContract: Address the feedback from the API review

This change addresses the following comments from the council:
- Provider authority should be "android.media.tv"
- Rename COLUMN_DATA to COLUMN_INTERNAL_PROVIDER_DATA and add comment to
  indicate data is internal to the provider that inserted it, and should
  not be decoded by other apps. It would be nice to restrict read access
  to this column, but not essential.
- Hide COLUMN_LOCKED since implementation isn't defined yet, also
  questions about how it interacts with Unicorn.
- Fix typo in ORIGINAL_NETWORK documentation.
- All provider MIME types need to be changed to follow platform
  conventions: "vnd.android.cursor.dir/channel",
  "vnd.android.cursor.dir/program", etc. (Notice singular tense and no
  package prefixes since they're part of the platform API.)
- Rename Programs.COLUMN_DATA to COLUMN_INTERNAL_PROVIDER_DATA, along
  with docs update, for the same reasons as above.
- Rename COLUMN_DESCRIPTION to COLUMN_SHORT_DESCRIPTION and update docs
  to indicate it's a recommended maximum length, not a hard cap.
- COLUMN_GENRE should be split into two columns: COLUMN_BROADCAST_GENRE
  (from broadcast standard) and COLUMN_CANONICAL_GENRE (from an Android
  standard). Define a subclass with the Android canonical genres, which
  are simple strings that are comma-separated when inserted into
  COLUMN_CANONICAL_GENRE.

Bug: 15345342
Change-Id: I7f8e70aef617475a59d096fd73a551e7df8a1d3a

10 years agoMerge "Clean up drawable theming APIs" into lmp-preview-dev
Alan Viverette [Mon, 2 Jun 2014 23:41:59 +0000 (23:41 +0000)]
Merge "Clean up drawable theming APIs" into lmp-preview-dev

10 years agoClean up drawable theming APIs
Alan Viverette [Mon, 2 Jun 2014 23:39:04 +0000 (16:39 -0700)]
Clean up drawable theming APIs

Removes APIs for themed creation of a drawable from a stream, since
that doesn't involve any inflation. Also cleans up tinting methods
left over from previous clean up.

BUG: 15089957
Change-Id: I2af7aa9a6d351ae61b33ee1216c674fae1bffe11
Signed-off-by: Alan Viverette <alanv@google.com>
10 years agoRewrite startUsingNetworkFeature for new API
Robert Greenwalt [Fri, 16 May 2014 01:07:26 +0000 (18:07 -0700)]
Rewrite startUsingNetworkFeature for new API

bug:14993207
Change-Id: I041a80faa07bf3094af13a6c606f3b15aa03f789
(cherry picked from commit 09fe5e618b09965183cf53fba87c39025a19e8d1)

10 years agoAdd device capability config for new BLE features(MA, scan filter).(1/3)
Wei Wang [Mon, 2 Jun 2014 21:31:52 +0000 (14:31 -0700)]
Add device capability config for new BLE features(MA, scan filter).(1/3)
Fixes b/15387925.

Change-Id: Ib53e92967971b769ff9872bf11dfa10f4c9a1fd4

10 years agoMerge "Some battery stats history fixes." into lmp-preview-dev
Dianne Hackborn [Mon, 2 Jun 2014 22:57:40 +0000 (22:57 +0000)]
Merge "Some battery stats history fixes." into lmp-preview-dev

10 years agoMerge "Support fallbacks for custom typefaces (Minikin)" into lmp-preview-dev
Raph Levien [Mon, 2 Jun 2014 22:54:58 +0000 (22:54 +0000)]
Merge "Support fallbacks for custom typefaces (Minikin)" into lmp-preview-dev

10 years agoMerge "Delay sending shared element position until after layout." into lmp-preview-dev
George Mount [Mon, 2 Jun 2014 22:42:44 +0000 (22:42 +0000)]
Merge "Delay sending shared element position until after layout." into lmp-preview-dev

10 years agoDisable now defunct touch analysis facility - DO NOT MERGE
Adrian Roos [Mon, 2 Jun 2014 15:57:07 +0000 (17:57 +0200)]
Disable now defunct touch analysis facility - DO NOT MERGE

Bug: 15381470
Change-Id: I2ab252e4c0122d79c9a78b3df643bfd46a105cf0

10 years agoMerge "Add an internal method for setting optical insets." into lmp-preview-dev
Adam Powell [Mon, 2 Jun 2014 21:36:55 +0000 (21:36 +0000)]
Merge "Add an internal method for setting optical insets." into lmp-preview-dev

10 years agoMerge "Hide header when notifications collide with it on Keyguard." into lmp-preview-dev
Jorim Jaggi [Mon, 2 Jun 2014 21:35:04 +0000 (21:35 +0000)]
Merge "Hide header when notifications collide with it on Keyguard." into lmp-preview-dev

10 years agoHide header when notifications collide with it on Keyguard.
Jorim Jaggi [Mon, 2 Jun 2014 20:47:42 +0000 (22:47 +0200)]
Hide header when notifications collide with it on Keyguard.

Bug: 15163546
Change-Id: If4f39786916df75537959a8104823353c475448f

10 years agoAdd an internal method for setting optical insets.
Adam Powell [Mon, 2 Jun 2014 21:24:47 +0000 (14:24 -0700)]
Add an internal method for setting optical insets.

This will allow views to calculate their own optical insets
e.g. during measurement. Candidate for public API down the road once
it proves itself for framework views.

Change-Id: I098d7b7b52e5aaf7eccc8ef34d79791d127d8c77

10 years agoMerge "Check for NULL on TypefaceImpl unref" into lmp-preview-dev
Raph Levien [Mon, 2 Jun 2014 21:17:49 +0000 (21:17 +0000)]
Merge "Check for NULL on TypefaceImpl unref" into lmp-preview-dev

10 years agoMerge "Put TV Input Framework under android.media.tv, including TvContract" into...
Jae Seo [Mon, 2 Jun 2014 21:03:58 +0000 (21:03 +0000)]
Merge "Put TV Input Framework under android.media.tv, including TvContract" into lmp-preview-dev

10 years agoMerge "Code cleaning" into lmp-preview-dev
Fabrice Di Meglio [Mon, 2 Jun 2014 20:50:42 +0000 (20:50 +0000)]
Merge "Code cleaning" into lmp-preview-dev

10 years agoMerge "Code cleaning" into lmp-preview-dev
Fabrice Di Meglio [Mon, 2 Jun 2014 20:49:37 +0000 (20:49 +0000)]
Merge "Code cleaning" into lmp-preview-dev

10 years agoMerge "Compare task userId with userId profiles." into lmp-preview-dev
Craig Mautner [Mon, 2 Jun 2014 20:40:16 +0000 (20:40 +0000)]
Merge "Compare task userId with userId profiles." into lmp-preview-dev

10 years agoDelay sending shared element position until after layout.
George Mount [Mon, 2 Jun 2014 14:22:59 +0000 (07:22 -0700)]
Delay sending shared element position until after layout.

Bug 15380396

Also updated fade duration to 300ms now that shared element
transition can take place before fade.

Change-Id: I9053615c83b9e0938b015645de0eb6c1534cbb34

10 years agoCheck for NULL on TypefaceImpl unref
Raph Levien [Mon, 2 Jun 2014 20:37:34 +0000 (13:37 -0700)]
Check for NULL on TypefaceImpl unref

It's possible for a TypefaceImpl to contain a null pointer, which was
causing crashes on unref. This patch just checks for NULL.

Fixes bug 15104801 "Aviate Launcher crashes on startup - Hammerhead L
AAV49B"

Change-Id: Idf9f176c54bf81ff3daacc0b33e95aa9d8bbe57f

10 years agoMerge "DO NOT MERGE: Accomoditing API Review feedback for WifiScanner" into lmp-previ...
Vinit Deshpande [Mon, 2 Jun 2014 20:00:12 +0000 (20:00 +0000)]
Merge "DO NOT MERGE: Accomoditing API Review feedback for WifiScanner" into lmp-preview-dev

10 years agoSome battery stats history fixes.
Dianne Hackborn [Mon, 2 Jun 2014 19:42:12 +0000 (12:42 -0700)]
Some battery stats history fixes.

- Now the full wake history uses the history tag if it can.
  Hopefully this will still result in a consistent history,
  since that isn't really want the tag is for...  but the
  current implementation in places will probably make this work.

- Possibly fix a bug with inconsistent state between partial
  history snapshots: after a snapshot is printed, don't allow
  any more batching into the most recent history entry, so the
  next snapshot will not miss anything that might get placed
  into it soon after.

Also rework command line arguments for enable/disable to make these
commands instead of options.

Change-Id: Ia33445cad1538bf8df549cef284f1e736efbc079

10 years agoMerge "Update global actions bug report item." into lmp-preview-dev
John Spurlock [Mon, 2 Jun 2014 19:17:35 +0000 (19:17 +0000)]
Merge "Update global actions bug report item." into lmp-preview-dev

10 years agoUpdate global actions bug report item.
John Spurlock [Mon, 2 Jun 2014 18:10:41 +0000 (14:10 -0400)]
Update global actions bug report item.

New icon, update title to match confirm dialog, new status
line for build information.

Remove redundant QS tile.

Bug:15385554
Change-Id: Idc36dc9ce1cabfa61fd8acac56dc3a70d5dc6645

10 years agoMerge "Add setStartValue to RNA" into lmp-preview-dev
John Reck [Mon, 2 Jun 2014 18:13:13 +0000 (18:13 +0000)]
Merge "Add setStartValue to RNA" into lmp-preview-dev

10 years agoMerge "Revert ascent/descent/lineGap of Roboto to Roboto v1 values" into lmp-preview-dev
Raph Levien [Mon, 2 Jun 2014 18:04:45 +0000 (18:04 +0000)]
Merge "Revert ascent/descent/lineGap of Roboto to Roboto v1 values" into lmp-preview-dev

10 years agoPut TV Input Framework under android.media.tv, including TvContract
Jae Seo [Fri, 30 May 2014 23:57:43 +0000 (16:57 -0700)]
Put TV Input Framework under android.media.tv, including TvContract

Bug: 15345342
Change-Id: I665ca23f0f074ce29cb2e047109b209178532107

10 years agoAdd setStartValue to RNA
John Reck [Mon, 2 Jun 2014 18:00:09 +0000 (11:00 -0700)]
Add setStartValue to RNA

 Bug: 15198607
 Should be good-enough for Ripples to use for pseudo-chaining
 support.

Change-Id: Ia8666928ccb69ae401cb583751632a52bd928b63

10 years agoSupport fallbacks for custom typefaces (Minikin)
Raph Levien [Mon, 2 Jun 2014 05:52:12 +0000 (22:52 -0700)]
Support fallbacks for custom typefaces (Minikin)

This patch adds the fallback font list to custom typefaces created from
files and assets, as well as those created by name. This is a fix for
the deskclock half of bug 15139067 "Centered text isn't working".

Change-Id: I0cc60951953dfb73817a98ddfee5713f0387ee90

10 years agoMerge "Fix keyguard camera logic" into lmp-preview-dev
Adrian Roos [Mon, 2 Jun 2014 17:48:07 +0000 (17:48 +0000)]
Merge "Fix keyguard camera logic" into lmp-preview-dev

10 years agoMerge "Fix null paint in GradientDrawable, make default values explicit" into lmp...
Alan Viverette [Mon, 2 Jun 2014 17:36:50 +0000 (17:36 +0000)]
Merge "Fix null paint in GradientDrawable, make default values explicit" into lmp-preview-dev

10 years agoMerge "Fix default GridView list selector" into lmp-preview-dev
Alan Viverette [Mon, 2 Jun 2014 17:36:00 +0000 (17:36 +0000)]
Merge "Fix default GridView list selector" into lmp-preview-dev

10 years agoFix keyguard camera logic
Adrian Roos [Wed, 28 May 2014 10:13:48 +0000 (12:13 +0200)]
Fix keyguard camera logic

Starts non-secure camera if possible and hides camera if
it is not available.

Bug: 14384051
Change-Id: Ib0b93562bb22eb543c054adaf8f7a211862f480a

10 years agoMerge "Add necessary APIs to support conference calling." into lmp-preview-dev
Santos Cordon [Mon, 2 Jun 2014 17:21:03 +0000 (17:21 +0000)]
Merge "Add necessary APIs to support conference calling." into lmp-preview-dev

10 years agoCompare task userId with userId profiles.
Craig Mautner [Mon, 2 Jun 2014 17:11:53 +0000 (10:11 -0700)]
Compare task userId with userId profiles.

Change comparison of Task.mUserId from comparing with only the
current user id to comparing with all current profile user ids.

Fixes bug 14930145.

Change-Id: Ibbae08da6f4eaa31b171becdd8957293758f527b

10 years agoMerge "Minimum work to make volume handling work with sessions" into lmp-preview-dev
RoboErik [Mon, 2 Jun 2014 17:10:07 +0000 (17:10 +0000)]
Merge "Minimum work to make volume handling work with sessions" into lmp-preview-dev

10 years agoRevert ascent/descent/lineGap of Roboto to Roboto v1 values
Roozbeh Pournader [Sat, 31 May 2014 01:46:42 +0000 (18:46 -0700)]
Revert ascent/descent/lineGap of Roboto to Roboto v1 values

Everything else is left intact to minimize side effects.

Bug: 1530959515330620
Change-Id: I7f10bc093423132b037403aa3abd9304d788f32e

10 years agoAudioManager: do not mandate a looper
Eric Laurent [Mon, 2 Jun 2014 16:16:02 +0000 (09:16 -0700)]
AudioManager: do not mandate a looper

Having a listener for audio port updates is not mandatory.
do not throw an excepion when AudioManager is contructed
from a thread without looper.

Bug: 15368707.
Change-Id: If5ce54bf4efdff8b785098649fa1cd0564861e1e

10 years agoMerge "Implement unlock hint." into lmp-preview-dev
Jorim Jaggi [Mon, 2 Jun 2014 13:36:42 +0000 (13:36 +0000)]
Merge "Implement unlock hint." into lmp-preview-dev

10 years agoImplement unlock hint.
Jorim Jaggi [Mon, 2 Jun 2014 12:44:49 +0000 (14:44 +0200)]
Implement unlock hint.

Before, users didn't have any clue how to unlock their phone. Now
they have. Also, a tap now dismisses the notification shade in the
unlocked state.

Bug: 14080971
Bug: 15189435
Bug: 15282191
Bug: 15126962

Change-Id: I779344b043b4415809dd98217b7cb9ff6d57fa3e

10 years agoMerge "DO NOT MERGE: Start Device Discovery after logical address allocation." into...
Jungshik Jang [Mon, 2 Jun 2014 04:38:05 +0000 (04:38 +0000)]
Merge "DO NOT MERGE: Start Device Discovery after logical address allocation." into lmp-preview-dev

10 years agoMerge "DO NOT MERGE: Register HdmiControlService" into lmp-preview-dev
Jungshik Jang [Mon, 2 Jun 2014 04:37:46 +0000 (04:37 +0000)]
Merge "DO NOT MERGE: Register HdmiControlService" into lmp-preview-dev

10 years agoMerge "DO NOT MERGE: Stop publishing HdmiCecService, start publishing HdmiControlServ...
Jungshik Jang [Mon, 2 Jun 2014 04:37:31 +0000 (04:37 +0000)]
Merge "DO NOT MERGE: Stop publishing HdmiCecService, start publishing HdmiControlService" into lmp-preview-dev

10 years agoMerge "DO NOT MERGE: Do not reply with <Feature Abort> to CEC Broadcast message"...
Jungshik Jang [Mon, 2 Jun 2014 04:36:41 +0000 (04:36 +0000)]
Merge "DO NOT MERGE: Do not reply with <Feature Abort> to CEC Broadcast message" into lmp-preview-dev

10 years agoMerge "DO NOT MERGE: Dispatch incoming CEC messages to feature actions" into lmp...
Jungshik Jang [Mon, 2 Jun 2014 04:36:32 +0000 (04:36 +0000)]
Merge "DO NOT MERGE: Dispatch incoming CEC messages to feature actions" into lmp-preview-dev

10 years agoMerge "DO NOT MERGE: Implement device discovery sequence." into lmp-preview-dev
Jungshik Jang [Mon, 2 Jun 2014 04:36:15 +0000 (04:36 +0000)]
Merge "DO NOT MERGE: Implement device discovery sequence." into lmp-preview-dev

10 years agoMerge "DO NOT MERGE: Fix a couple of bugs in CEC services" into lmp-preview-dev
Jungshik Jang [Mon, 2 Jun 2014 04:35:57 +0000 (04:35 +0000)]
Merge "DO NOT MERGE: Fix a couple of bugs in CEC services" into lmp-preview-dev

10 years agoMerge "DO NOT MERGE: Fix a bug calling a wrong HDMI-CEC Binder API" into lmp-preview-dev
Jungshik Jang [Mon, 2 Jun 2014 04:35:45 +0000 (04:35 +0000)]
Merge "DO NOT MERGE: Fix a bug calling a wrong HDMI-CEC Binder API" into lmp-preview-dev

10 years agoMerge "DO NOT MERGE: Add cec message handler to hdmi cec jni implementation" into...
Jungshik Jang [Mon, 2 Jun 2014 04:35:34 +0000 (04:35 +0000)]
Merge "DO NOT MERGE: Add cec message handler to hdmi cec jni implementation" into lmp-preview-dev

10 years agoMerge "DO NOT MERGE: Fix a bug using wrong addresses for CEC logical address allocati...
Jungshik Jang [Mon, 2 Jun 2014 04:35:21 +0000 (04:35 +0000)]
Merge "DO NOT MERGE: Fix a bug using wrong addresses for CEC logical address allocation" into lmp-preview-dev

10 years agoMerge "DO NOT MERGE: Hook up the CEC playback API to service internal logic." into...
Jungshik Jang [Mon, 2 Jun 2014 04:34:55 +0000 (04:34 +0000)]
Merge "DO NOT MERGE: Hook up the CEC playback API to service internal logic." into lmp-preview-dev

10 years agoMerge "DO NOT MERGE: Add HdmiCecDeviceInfo to HdmiCecLocalDevice" into lmp-preview-dev
Jungshik Jang [Mon, 2 Jun 2014 04:34:36 +0000 (04:34 +0000)]
Merge "DO NOT MERGE: Add HdmiCecDeviceInfo to HdmiCecLocalDevice" into lmp-preview-dev

10 years agoMerge "DO NOT MERGE: Implement <Polling Message>." into lmp-preview-dev
Jungshik Jang [Mon, 2 Jun 2014 04:34:18 +0000 (04:34 +0000)]
Merge "DO NOT MERGE: Implement <Polling Message>." into lmp-preview-dev

10 years agoMerge "DO NOT MERGE: Add the constants for the callback result of SendCecCommand...
Jungshik Jang [Mon, 2 Jun 2014 04:34:02 +0000 (04:34 +0000)]
Merge "DO NOT MERGE: Add the constants for the callback result of SendCecCommand()." into lmp-preview-dev

10 years agoMerge "DO NOT MERGE: CEC Initialization per device type" into lmp-preview-dev
Jungshik Jang [Mon, 2 Jun 2014 04:33:49 +0000 (04:33 +0000)]
Merge "DO NOT MERGE: CEC Initialization per device type" into lmp-preview-dev

10 years agoMerge "DO NOT MERGE: Add SendMessageCallback to Hdmi control service." into lmp-previ...
Jungshik Jang [Mon, 2 Jun 2014 04:33:28 +0000 (04:33 +0000)]
Merge "DO NOT MERGE: Add SendMessageCallback to Hdmi control service." into lmp-preview-dev

10 years agoDO NOT MERGE: Start Device Discovery after logical address allocation.
Jungshik Jang [Thu, 29 May 2014 12:52:28 +0000 (21:52 +0900)]
DO NOT MERGE: Start Device Discovery after logical address allocation.

Usually TV initiates Device Discovery sequence after logical address
allocation of local devices. For that added new callback interface
to AddressAllocationCallback to HdmiCecDevice.
Along with this, add onAddressAllocated to HdmiLocalDevice so that
start sending local device information once logical allocation is done.

Change-Id: I4cdc5dd7770674a17a0f23c383a6c1ca221e3104

10 years agoDO NOT MERGE: Register HdmiControlService
Jinsuk Kim [Thu, 29 May 2014 08:10:39 +0000 (17:10 +0900)]
DO NOT MERGE: Register HdmiControlService

Register the new service that will replace HdmiCecService.
The old one will be removed once the client of the old service
finishes migration to the new service.

Change-Id: I3906292fcf0a7c8286bc89af21a03bd11d3a0e72

10 years agoDO NOT MERGE: Stop publishing HdmiCecService, start publishing HdmiControlService
Jinsuk Kim [Wed, 28 May 2014 22:39:22 +0000 (07:39 +0900)]
DO NOT MERGE: Stop publishing HdmiCecService, start publishing HdmiControlService

HdmiCecService will soon be deprecated and replaced with HdmiControlService.
Stopped publishing the service, and turned the corresponding manager to
stub so that it will do nothing but print out a warning msg instead.

Will help the app transition to the new service in the meantime. Once
the migration is finished, will gut out all the HdmiCecService/
HdmiCecManager stuff.

Change-Id: Ic34a69c4fb99f4e5a2c8323538195204ab16a545

10 years agoDO NOT MERGE: Do not reply with <Feature Abort> to CEC Broadcast message
Jinsuk Kim [Wed, 28 May 2014 21:52:45 +0000 (06:52 +0900)]
DO NOT MERGE: Do not reply with <Feature Abort> to CEC Broadcast message

Broadcast message is not targeted to a specific device but for
announcement. Individual reponse with <Feature Abort> is neither
necessary nor useful. Changed to send the message back only for
direct messages.

Change-Id: I927aa8e58a9868e158ed945c753492207e7c97f6

10 years agoDO NOT MERGE: Dispatch incoming CEC messages to feature actions
Jinsuk Kim [Wed, 28 May 2014 10:11:44 +0000 (19:11 +0900)]
DO NOT MERGE: Dispatch incoming CEC messages to feature actions

This CL dispatches incoming CEC messages to feature actions that
the service manages.

Change-Id: I9221d6a25648846327d00fe5404aaf1e8ec786ce

10 years agoDO NOT MERGE: Implement device discovery sequence.
Jungshik Jang [Tue, 27 May 2014 04:27:36 +0000 (13:27 +0900)]
DO NOT MERGE: Implement device discovery sequence.

When device discover is launched it goes through the following step

1. clear all existing devices
2. send <Polling Message> of all logical addresses
  excecpt one of local device
3. Once got all allocated logical addresses, gather physical address of
  them
4. Once got physical address of them, gather display name of them
5. Once got display names, gather vendor id of them
5. Once got vendor id of them, register all gathered info to
  internal device info list.

Change-Id: Ic9aca3b15d88ac7650f10b6d0bfa9c97923975e8

10 years agoDO NOT MERGE: Fix a couple of bugs in CEC services
Jinsuk Kim [Wed, 28 May 2014 08:42:56 +0000 (17:42 +0900)]
DO NOT MERGE: Fix a couple of bugs in CEC services

- Correct conversion for byte to int for cec opcode
- Use the right Handler.obtainMessage() to pass an integer variable

Change-Id: Ie3e86225f1702decce454aeb197911a371f51c17

10 years agoDO NOT MERGE: Fix a bug calling a wrong HDMI-CEC Binder API
Jinsuk Kim [Wed, 28 May 2014 22:47:51 +0000 (07:47 +0900)]
DO NOT MERGE: Fix a bug calling a wrong HDMI-CEC Binder API

Change-Id: I75e5de3ab820288f0fe6bebdc63d6dd680e18f8a

10 years agoDO NOT MERGE: Add cec message handler to hdmi cec jni implementation
Jungshik Jang [Tue, 27 May 2014 10:52:39 +0000 (19:52 +0900)]
DO NOT MERGE: Add cec message handler to hdmi cec jni implementation

Notification for incoming cec message can be issued
from any thread but jni can call java method
in the thread that jni knows like service thread.
So this change delegates incoming message to
jni-friendly thread, service thread by exploit
looper of service thread.

Change-Id: If3b141d917df3e209912af1778eb509777199969

10 years agoDO NOT MERGE: Fix a bug using wrong addresses for CEC logical address allocation
Jinsuk Kim [Tue, 27 May 2014 08:23:27 +0000 (17:23 +0900)]
DO NOT MERGE: Fix a bug using wrong addresses for CEC logical address allocation

Change-Id: I41da586c16dca4f325d147bb3abe5d4e09f7b91c

10 years agoDO NOT MERGE: Hook up the CEC playback API to service internal logic.
Jinsuk Kim [Mon, 26 May 2014 08:33:05 +0000 (17:33 +0900)]
DO NOT MERGE: Hook up the CEC playback API to service internal logic.

This change enables CEC playback API (oneTouchPlay, queryDisplayStatus).
Also updated local device list type to SparseArray to make it easy
to get one based on device type.

Change-Id: I6f88b2dac2d873c493a90411549a4e5719a5e460

10 years agoDO NOT MERGE: Add HdmiCecDeviceInfo to HdmiCecLocalDevice
Jungshik Jang [Mon, 26 May 2014 02:02:36 +0000 (11:02 +0900)]
DO NOT MERGE: Add HdmiCecDeviceInfo to HdmiCecLocalDevice

As HdmiCecLoclaDevice is a wrapper for local devices
it should include cec device info.

Change-Id: I479665b2aa6bd56470b79dbbb7fb1015f6356090

10 years agoDO NOT MERGE: Implement <Polling Message>.
Jungshik Jang [Fri, 23 May 2014 07:48:31 +0000 (16:48 +0900)]
DO NOT MERGE: Implement <Polling Message>.

When Device Discovery is launched or Hot-plug detection is
launched, the first step of it is to send <Polling Message>
to all remote devices. According to type of feature,
it may have different retry count for sending <Polling Message>.

As <Polling Message> to all devices should be serialized operation
it runs on io thread as single operation.

Along with this, added assertRunOnIoThread and
assertRunOnServiceThread used to make sure that all methods are
called in proper thread.

Change-Id: I2d2df0216867c188e99ba24b216ec73f3396eeae

10 years agoDO NOT MERGE: Add the constants for the callback result of SendCecCommand().
Yuncheol Heo [Fri, 23 May 2014 11:10:19 +0000 (20:10 +0900)]
DO NOT MERGE: Add the constants for the callback result of SendCecCommand().

- Move the send failure warning messages into HdmiCecController.sendCommand()
  from each Actions.
- Stringfy with more detail messages for some opcodes.

Change-Id: Ib7ce24dd2a1f290e6c3a0b26738772ef1d4a9630

10 years agoDO NOT MERGE: CEC Initialization per device type
Jinsuk Kim [Tue, 20 May 2014 07:45:45 +0000 (16:45 +0900)]
DO NOT MERGE: CEC Initialization per device type

CEC initialization may vary from device type to type. Changed logical address
map to HdmiCecLocalDevice map to handle it. These per-type classes for local
device will be extended also to take care of incoming CEC commands that should
require different action based on device type.

Change-Id: Ia59a464607b14e942fcf83e63aa1d6310ca6a575

10 years agoDO NOT MERGE: Add SendMessageCallback to Hdmi control service.
Jungshik Jang [Thu, 22 May 2014 10:28:09 +0000 (19:28 +0900)]
DO NOT MERGE: Add SendMessageCallback to Hdmi control service.

As we have separate IO thread, we should have async callback
mechanism to get result of send request.
For that, I added SendMessageCallback interface to HdmiControl
Service
Along with this, replace message-based IO handling with
post Runnable based one for consistency

Change-Id: I61cf5b751b4f2af3b34956060869f3512f161d11

10 years agoFix default GridView list selector
Alan Viverette [Mon, 2 Jun 2014 01:11:50 +0000 (18:11 -0700)]
Fix default GridView list selector

BUG: 15319488
Change-Id: I4ed7da044d0a697c3ea668b5f3c5c0ba197e8395

10 years agoFix null paint in GradientDrawable, make default values explicit
Alan Viverette [Mon, 2 Jun 2014 01:03:09 +0000 (18:03 -0700)]
Fix null paint in GradientDrawable, make default values explicit

BUG: 15237001
Change-Id: I80844919b910163ed986257efb4b6f8fb62eaf6a

10 years agoMerge "Smaller dialog margin, update button width & font weight" into lmp-preview-dev
Alan Viverette [Mon, 2 Jun 2014 00:51:17 +0000 (00:51 +0000)]
Merge "Smaller dialog margin, update button width & font weight" into lmp-preview-dev

10 years agoSmaller dialog margin, update button width & font weight
Alan Viverette [Mon, 2 Jun 2014 00:41:55 +0000 (17:41 -0700)]
Smaller dialog margin, update button width & font weight

BUG: 15310835
BUG: 15317713
BUG: 15316689
Change-Id: Iaab92eefa3fdba85dfa9cc3931234135e8a0bc5c

10 years agoMerge "Allow ripple bounds to change during enter animation" into lmp-preview-dev
Alan Viverette [Mon, 2 Jun 2014 00:32:12 +0000 (00:32 +0000)]
Merge "Allow ripple bounds to change during enter animation" into lmp-preview-dev

10 years agoMerge "Further implementation for ToolbarActionBar" into lmp-preview-dev
Adam Powell [Mon, 2 Jun 2014 00:23:16 +0000 (00:23 +0000)]
Merge "Further implementation for ToolbarActionBar" into lmp-preview-dev

10 years agoFurther implementation for ToolbarActionBar
Adam Powell [Fri, 30 May 2014 22:52:44 +0000 (15:52 -0700)]
Further implementation for ToolbarActionBar

Integrate activity options menu and inline Toolbars. Fix a series of
small associated bugs.

Activities now (privately) offer several menu-related events directly
to the associated ActionBar. In the future this should help us
untangle some of the menu-based pasta in PhoneWindow.

Bug 15344598

Change-Id: I76211ad17d2bcbb58cf1d88914e855416d084ded