summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add setStartValue to RNAJohn Reck2014-06-025-13/+34
| | | | | | | | Bug: 15198607 Should be good-enough for Ripples to use for pseudo-chaining support. Change-Id: Ia8666928ccb69ae401cb583751632a52bd928b63
* Merge "Implement unlock hint." into lmp-preview-devJorim Jaggi2014-06-026-30/+190
|\
| * Implement unlock hint.Jorim Jaggi2014-06-026-30/+190
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Merge "DO NOT MERGE: Start Device Discovery after logical address ↵Jungshik Jang2014-06-026-16/+96
|\ \ | | | | | | | | | allocation." into lmp-preview-dev
| * | DO NOT MERGE: Start Device Discovery after logical address allocation.Jungshik Jang2014-06-026-16/+96
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge "DO NOT MERGE: Register HdmiControlService" into lmp-preview-devJungshik Jang2014-06-021-0/+7
|\ \ \ | |/ /
| * | DO NOT MERGE: Register HdmiControlServiceJinsuk Kim2014-06-021-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge "DO NOT MERGE: Stop publishing HdmiCecService, start publishing ↵Jungshik Jang2014-06-025-56/+11
|\ \ \ | |/ / | | | | | | HdmiControlService" into lmp-preview-dev
| * | DO NOT MERGE: Stop publishing HdmiCecService, start publishing ↵Jinsuk Kim2014-06-025-56/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge "DO NOT MERGE: Do not reply with <Feature Abort> to CEC Broadcast ↵Jungshik Jang2014-06-021-8/+8
|\ \ \ | |/ / | | | | | | message" into lmp-preview-dev
| * | DO NOT MERGE: Do not reply with <Feature Abort> to CEC Broadcast messageJinsuk Kim2014-06-021-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge "DO NOT MERGE: Dispatch incoming CEC messages to feature actions" into ↵Jungshik Jang2014-06-021-2/+11
|\ \ \ | |/ / | | | | | | lmp-preview-dev
| * | DO NOT MERGE: Dispatch incoming CEC messages to feature actionsJinsuk Kim2014-06-021-2/+11
| | | | | | | | | | | | | | | | | | | | | This CL dispatches incoming CEC messages to feature actions that the service manages. Change-Id: I9221d6a25648846327d00fe5404aaf1e8ec786ce
* | | Merge "DO NOT MERGE: Implement device discovery sequence." into lmp-preview-devJungshik Jang2014-06-024-6/+434
|\ \ \ | |/ /
| * | DO NOT MERGE: Implement device discovery sequence.Jungshik Jang2014-06-024-6/+434
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge "DO NOT MERGE: Fix a couple of bugs in CEC services" into lmp-preview-devJungshik Jang2014-06-022-2/+3
|\ \ \ | |/ /
| * | DO NOT MERGE: Fix a couple of bugs in CEC servicesJinsuk Kim2014-06-022-2/+3
| | | | | | | | | | | | | | | | | | | | | - Correct conversion for byte to int for cec opcode - Use the right Handler.obtainMessage() to pass an integer variable Change-Id: Ie3e86225f1702decce454aeb197911a371f51c17
* | | Merge "DO NOT MERGE: Fix a bug calling a wrong HDMI-CEC Binder API" into ↵Jungshik Jang2014-06-021-1/+1
|\ \ \ | |/ / | | | | | | lmp-preview-dev
| * | DO NOT MERGE: Fix a bug calling a wrong HDMI-CEC Binder APIJinsuk Kim2014-06-021-1/+1
| | | | | | | | | | | | Change-Id: I75e5de3ab820288f0fe6bebdc63d6dd680e18f8a
* | | Merge "DO NOT MERGE: Add cec message handler to hdmi cec jni implementation" ↵Jungshik Jang2014-06-023-81/+169
|\ \ \ | |/ / | | | | | | into lmp-preview-dev
| * | DO NOT MERGE: Add cec message handler to hdmi cec jni implementationJungshik Jang2014-06-023-81/+169
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge "DO NOT MERGE: Fix a bug using wrong addresses for CEC logical address ↵Jungshik Jang2014-06-021-1/+1
|\ \ \ | |/ / | | | | | | allocation" into lmp-preview-dev
| * | DO NOT MERGE: Fix a bug using wrong addresses for CEC logical address allocationJinsuk Kim2014-06-021-1/+1
| | | | | | | | | | | | Change-Id: I41da586c16dca4f325d147bb3abe5d4e09f7b91c
* | | Merge "DO NOT MERGE: Hook up the CEC playback API to service internal ↵Jungshik Jang2014-06-022-17/+105
|\ \ \ | |/ / | | | | | | logic." into lmp-preview-dev
| * | DO NOT MERGE: Hook up the CEC playback API to service internal logic.Jinsuk Kim2014-06-022-17/+105
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge "DO NOT MERGE: Add HdmiCecDeviceInfo to HdmiCecLocalDevice" into ↵Jungshik Jang2014-06-022-3/+27
|\ \ \ | |/ / | | | | | | lmp-preview-dev
| * | DO NOT MERGE: Add HdmiCecDeviceInfo to HdmiCecLocalDeviceJungshik Jang2014-06-022-3/+27
| | | | | | | | | | | | | | | | | | | | | As HdmiCecLoclaDevice is a wrapper for local devices it should include cec device info. Change-Id: I479665b2aa6bd56470b79dbbb7fb1015f6356090
* | | Merge "DO NOT MERGE: Implement <Polling Message>." into lmp-preview-devJungshik Jang2014-06-022-20/+140
|\ \ \ | |/ /
| * | DO NOT MERGE: Implement <Polling Message>.Jungshik Jang2014-06-022-20/+140
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge "DO NOT MERGE: Add the constants for the callback result of ↵Jungshik Jang2014-06-026-21/+50
|\ \ \ | |/ / | | | | | | SendCecCommand()." into lmp-preview-dev
| * | DO NOT MERGE: Add the constants for the callback result of SendCecCommand().Yuncheol Heo2014-06-026-21/+50
| | | | | | | | | | | | | | | | | | | | | | | | - Move the send failure warning messages into HdmiCecController.sendCommand() from each Actions. - Stringfy with more detail messages for some opcodes. Change-Id: Ib7ce24dd2a1f290e6c3a0b26738772ef1d4a9630
* | | Merge "DO NOT MERGE: CEC Initialization per device type" into lmp-preview-devJungshik Jang2014-06-024-53/+199
|\ \ \ | |/ /
| * | DO NOT MERGE: CEC Initialization per device typeJinsuk Kim2014-06-024-53/+199
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge "DO NOT MERGE: Add SendMessageCallback to Hdmi control service." into ↵Jungshik Jang2014-06-026-165/+184
|\ \ \ | |/ / | | | | | | lmp-preview-dev
| * | DO NOT MERGE: Add SendMessageCallback to Hdmi control service.Jungshik Jang2014-06-026-165/+184
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge "Smaller dialog margin, update button width & font weight" into ↵Alan Viverette2014-06-025-15/+19
|\ \ \ | | | | | | | | | | | | lmp-preview-dev
| * | | Smaller dialog margin, update button width & font weightAlan Viverette2014-06-015-15/+19
| |/ / | | | | | | | | | | | | | | | | | | BUG: 15310835 BUG: 15317713 BUG: 15316689 Change-Id: Iaab92eefa3fdba85dfa9cc3931234135e8a0bc5c
* | | Merge "Allow ripple bounds to change during enter animation" into ↵Alan Viverette2014-06-022-134/+135
|\ \ \ | | | | | | | | | | | | lmp-preview-dev
| * | | Allow ripple bounds to change during enter animationAlan Viverette2014-06-012-134/+135
| |/ / | | | | | | | | | | | | BUG: 15315168 Change-Id: I7588be96648318473998cfd5deba678224f1db51
* | | Merge "Further implementation for ToolbarActionBar" into lmp-preview-devAdam Powell2014-06-026-96/+160
|\ \ \ | |/ / |/| |
| * | Further implementation for ToolbarActionBarAdam Powell2014-06-016-96/+160
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge "Fix padding for GradientDrawable" into lmp-preview-devAlan Viverette2014-06-011-3/+6
|\ \ \
| * | | Fix padding for GradientDrawableAlan Viverette2014-06-011-3/+6
| |/ / | | | | | | | | | | | | BUG: 15197745 Change-Id: Ibd1c20dd8ba8c7ffbf65031be4ca9813304d4d0f
* | | Merge "Fixes hotspot list transitions, update to use a single hotspot" into ↵Alan Viverette2014-06-0115-338/+436
|\ \ \ | | | | | | | | | | | | lmp-preview-dev
| * | | Fixes hotspot list transitions, update to use a single hotspotAlan Viverette2014-06-0115-338/+436
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also updates background and button colors to match spec, removes dependency on bouncycastle Arrays. Vastly simplifies ripple drawing. Adds APIs for maximum ripple radius. Makes selectableItemBackground bounded by default and adds an unbounded version and theme attribute. BUG: 15315168 BUG: 15314684 BUG: 15314830 BUG: 15316768 BUG: 15333033 BUG: 15344050 Change-Id: Ib0619587ce78e43056b66571bae185e0f1613185
* | | Merge "Add a path for generic event from a session to an application in Tv ↵Dongwon Kang2014-06-016-9/+183
|\ \ \ | |/ / |/| | | | | Input Framework." into lmp-preview-dev
| * | Add a path for generic event from a session to an application in Tv Input ↵Youngsang Cho2014-05-296-9/+183
| | | | | | | | | | | | | | | | | | | | | | | | | | | Framework. Plus, Video size changed event is also added. Bug: 14126559 Change-Id: I04c553481fbaf8d92adbcc34f3c9d26acc87b361
* | | Change parameter name for Activity#setActionBarAdam Powell2014-06-011-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | Feedback from API review Bug 14998253 Change-Id: Id3b87a8071d43de49847e93fd6229d48364bf55e
* | | Settings: Keep SeekBarVolumizer in sync with audio stream.John Spurlock2014-06-011-14/+77
| | | | | | | | | | | | | | | | | | | | | | | | Use AudioManager.VOLUME_CHANGED_ACTION instead of relying on obsolete settings. Bug:15343543 Change-Id: Ia95237bb455268314ec985affe92b0cec6b52e29
* | | VolumeZen: Prevent raising ringer volume in silent mode.John Spurlock2014-06-013-9/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of breaking out of silent mode when raising the volume using the keys, prevent the change and display a visual hint up in the user interface. Bug:15330217 Change-Id: I74aae44319aadcd6db9841c7799967607f5a1617