summaryrefslogtreecommitdiffstats
path: root/core/java/com
Commit message (Collapse)AuthorAgeFilesLines
* Fix 3201849: Enable hardware acceleration in LockScreen WaveView [DO NOT MERGE]Jim Miller2011-03-101-1/+1
| | | | Change-Id: I07bbed7843857158cd2c1ffd9b184bde7fd5860d
* Merge "Make PointerLocationView also log generic motions and some keys. (DO ↵Jeff Brown2011-03-091-4/+53
|\ | | | | | | NOT MERGE)" into honeycomb-mr1
| * Make PointerLocationView also log generic motions and some keys. (DO NOT MERGE)Jeff Brown2011-03-091-4/+53
| | | | | | | | Change-Id: I657588ae08fa462a6ad79326bcd8a199885ff28b
* | Merge "Fix issue #4068088: NPE at ↵Dianne Hackborn2011-03-091-119/+125
|\ \ | |/ |/| | | com.android.internal.os.BatteryStatsImpl..." into honeycomb-mr1
| * Fix issue #4068088: NPE at com.android.internal.os.BatteryStatsImpl...Dianne Hackborn2011-03-091-119/+125
| | | | | | | | | | | | | | | | ...addHistoryRecordLocked(BatteryStatsImpl.java:1210) It was doing a bunch of stuff without holding a lock! Change-Id: Ie5b56514370e0bfc87ba7737d75e01df0859817e
* | Fix bug 4065021 - Adjust spacing of the "home" action bar item to beAdam Powell2011-03-091-0/+57
| | | | | | | | | | | | | | | | | | | | | | consistent with the "up" indicator Make sure that the "home" affordance in the action bar always occupies the same amount of space regardless of whether or not the "up" indicator is visible. This means centering the application icon/logo in the remaining space after the "up" indicator has been added. Change-Id: I3c81cfe8255546d4dd676af913895713baba4f13
* | Fix bug 3501766 - Make the action bar "up" visual more prominentAdam Powell2011-03-071-1/+1
|/ | | | Change-Id: Id4b104dd6ca1df662479ab54f045e119585f990f
* Merge "Start using NetworkUtils.numericToInetAddress."Robert Greenwalt2011-03-021-21/+5
|\
| * Start using NetworkUtils.numericToInetAddress.Robert Greenwalt2011-03-021-21/+5
| | | | | | | | | | | | | | Generates InetAddresses without risking an accidental dns lookup. For use with supposedly numeric-only ip address strings. Change-Id: I694f3976ce1c6382854706f6557ea88a289add3a
* | UsbManager: Enhancements for managing USB devices and accessoriesMike Lockwood2011-02-281-5/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a USB device or accessory is connected, the UsbService now asks the user which application to associate with the device or accessory. Applications interested in devices or accessories must specify the devices they work with via meta-data attached to their manifest. Permission to communicate with the device is assigned when the user chooses the activity to use for the device. The user has the option of clicking the "always use this application" checkbox to make the assignment automatic in the future. The user may later clear this preference and revoke permission for an application to have permission to communicate with the device by clicking the "Clear defaults" button for the activity in the Manage Applications panel in Settings. Added class UsbResolveActivity (a subclass or ResolveActivity for choosing an activity for a USB device or accessory) Added UsbDeviceManager, which manages the mapping between USB devices/accessories and applications, including default applications for devices and accessories, and manages application permissions. Add interface to allow Settings to clear device and accessory preferences and permissions for an application. Remove obsolete ACCESS_USB permission. Add new signatureOrSystem MANAGE_USB permission to allow administrating preferences and permissions. Moved UsbService.java to a "usb" subdirectory, along with new classes UsbResolveActivity and UsbDeviceManager. Change-Id: I92554381e9779e68ce380daaee4e1401fb875703 Signed-off-by: Mike Lockwood <lockwood@android.com>
* | Add support for mouse hover and scroll wheel.Jeff Brown2011-02-251-36/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Dispatch ACTION_HOVER_MOVE and ACTION_SCROLL through the View hierarchy as onGenericTouchEvent. Pointer events dispatched this way are delivered to the view under the pointer. Non-pointer events continue to be delivered to the focused view. Added scroll wheel support to AbsListView, ScrollView, HorizontalScrollView and WebView. Shift+VSCROLL is translated to HSCROLL as appropriate. Added logging of new pointer events in PointerLocationView. Fixed a problem in EventHub when a USB device is removed that resulted in a long stream of ENODEV errors being logged until INotify noticed the device was gone. Note that the new events are not supported by wallpapers at this time because the wallpaper engine only delivers touch events. Make all mouse buttons behave identically. (Effectively we only support one button.) Change-Id: I9ab445ffb63c813fcb07db6693987b02475f3756
* | Fixing issue where RemoteViewsService.onDestroy() was never being called.Winson Chung2011-02-251-0/+2
|/ | | | Change-Id: I15ad04eee18bc3e09d4846c7f2f2d2d8d168e518
* Add new hover move action and scroll wheel plumbing.Jeff Brown2011-02-191-12/+21
| | | | | | | | | | | | Added support for tracking the mouse position even when the mouse button is not pressed. To avoid confusing existing applications, mouse movements are reported using the new ACTION_HOVER_MOVE action when the mouse button is not pressed. Added some more plumbing for the scroll wheel axes. The values are reported to Views but they are not yet handled by the framework. Change-Id: I1706be850d25cf34e5adf880bbed5cc3265cf4b1
* Add new axes for joysticks and mouse wheels.Jeff Brown2011-02-191-1/+4
| | | | | | | | | | | | | | | | | | Added API on InputDevice to query the set of axes available. Added API on KeyEvent and MotionEvent to convert keycodes and axes to symbolic name strings for diagnostic purposes. Added API on KeyEvent to query if a given key code is a gamepad button. Added a new "axis" element to key layout files to specify the mapping between raw absolute axis values and motion axis ids. Expanded the axis bitfield to 64bits to allow for future growth. Modified the Makefile for keyboard prebuilts to run the keymap validation tool during the build. Added layouts for two game controllers. Added default actions for game pad button keys. Added more tests. Fixed a bunch of bugs. Change-Id: I73f9166c3b3c5bcf4970845b58088ad467525525
* Merge "Add an API to listen for window attach/detach events on a View."Adam Powell2011-02-181-21/+30
|\
| * Add an API to listen for window attach/detach events on a View.Adam Powell2011-02-181-21/+30
| | | | | | | | | | | | Fix bug 3312949 - inconsistent state in MenuPopupHelper Change-Id: Ie802ada3f8de4cf71c92fcc7c6abce9ba85e7b75
* | Changes for ril.h version 6.Wink Saville2011-02-181-30/+13
|/ | | | Change-Id: Iacd9d362c4836546ac277cf3571227d426a721aa
* Fix some bugs with MenuPopupHelper and ListPopupWindowAdam Powell2011-02-141-8/+14
| | | | | | | | | | | Clean up handling of a few conditions in MenuPopupHelper that the monkeys manage to trigger around the use of ViewTreeObserver. (bug 3443819, bug 3312949) Fix a bug where a stale handler message could cause a ListPopupWindow to reopen itself after being dismissed. (bug 3453607) Change-Id: I488014767ccee785500862a2572beb35901d173b
* Fix bug 3372468 - ActionBar menu shouldn't be clickable afterAdam Powell2011-02-102-2/+26
| | | | | | | | | ActionBar.hide() is called Action bar will capture touch events and prevent focus from passing to its children while animating out. Change-Id: I4501f785ead2afa34f020f9bc1a1121932f3c047
* Fix bug 3345948 - ActionBar.show()/hide() shouldn't animate if calledAdam Powell2011-02-081-23/+49
| | | | | | | | | | | before first layout Enable/disable the action bar show/hide animation as part of the activity/dialog lifecycle. This allows apps to set action bar visibility state as the activity first becomes visible or returns to visibility without the associated animation. Change-Id: I85ff9268d2cb2c8fcd3364dd275597fe90529224
* Merge "Fix bug 3426162 - Overflow menu closes on its own"Adam Powell2011-02-072-26/+92
|\
| * Fix bug 3426162 - Overflow menu closes on its ownAdam Powell2011-02-072-26/+92
| | | | | | | | | | | | | | | | Makes populating action menus smarter, doesn't completely empty and repopulate. Fixes issues where changing menus can leave popups without an anchor. Change-Id: I03cc266f0952123c5704a78cdcfc69b77af1915b
* | am c1467908: am b8578741: Merge "Fix issue #3424823: 4-corner trick causes ↵Mike Cleron2011-02-071-1/+1
|\ \ | | | | | | | | | | | | | | | | | | runtime restart" into honeycomb * commit 'c14679089376fb7df28eb0a829518b33abb1d794': Fix issue #3424823: 4-corner trick causes runtime restart
| * \ Merge "Fix issue #3424823: 4-corner trick causes runtime restart" into honeycombMike Cleron2011-02-041-1/+1
| |\ \
| | * | Fix issue #3424823: 4-corner trick causes runtime restartDianne Hackborn2011-02-041-1/+1
| | | | | | | | | | | | | | | | Change-Id: Ibd3fc63d0ab975a2b74765a00023c7f783b24216
* | | | resolved conflicts for merge of 31796297 to masterDaniel Sandler2011-02-071-2/+1
|\ \ \ \ | |/ / / | | | | | | | | Change-Id: Ice632b3378f8f67c186245fdb63b022ade864ba1
| * | | Merge "Ongoing notification for GPS use." into honeycombDaniel Sandler2011-02-031-2/+1
| |\ \ \ | | |/ / | |/| |
| | * | Ongoing notification for GPS use.Daniel Sandler2011-02-031-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change improves upon the notification priority API introduced in change I9e738cc4, allowing privileged clients to set the priority of a notification when posting it directly to INotificationManager. StatusBarTest is updated to test this new feature. The new LocationController in SystemUI uses this facility to post a high-priority ongoing notification whenever GPS is in use (replacing the functionality of the legacy GPS status bar icon). Also happens to fix http://b/3325472 (adding a log message when notifications are dropped because of a missing icon). Bug: 3412807 Change-Id: I523016ffa53bf979be98ddc4a2deb55a6270c68a
* | | | am 94baff47: am 1b1962f3: Merge "Fix issue #3420898: More wallpaper issues" ↵Dianne Hackborn2011-02-071-5/+19
|\ \ \ \ | |/ / / | | | / | |_|/ |/| | | | | | | | into honeycomb * commit '94baff47975fb3ae1380333f23fc2de2dc65eb86': Fix issue #3420898: More wallpaper issues
| * | Fix issue #3420898: More wallpaper issuesDianne Hackborn2011-02-031-5/+19
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - The ImageWallpaper wasn't watching for the desired dimensions to change, at which point it needs to resize its surface. - The system process has been running with the small dalvik heap limit, which is too tight with these huge wallpapers; this would cause switching wallpapers to eventually stop working as it couldn't get the memory it needed to load the new one. - The compatibility mode background surface had a bunch of issues, such as moving its windows to the right by the window size to make them disappear. This of course doesn't play well with the now super-sized wallpaper surface. This code is re-worked to not require such shenanigans. Change-Id: I64fde4059645d8507f1c4761ba6c17b89877a5c0
* | am a2e82d4c: am 6f922cbe: Merge "Implement priority ordering in ↵Daniel Sandler2011-02-031-1/+12
|\ \ | |/ | | | | | | | | | | notifications." into honeycomb * commit 'a2e82d4c69bc25eb9f262be0efb4bd38695c4f86': Implement priority ordering in notifications.
| * Implement priority ordering in notifications.Daniel Sandler2011-02-031-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Ongoings are the only notifications currently given higher priority (and it's in an internal data structure, not a public API, so fear not about abuse---this will be no worse than on the phone where ongoings floated to the top). The only thing left is to give privileged customers a way to alter the priority of their notifications. Bug: 3412807 Bug: 3146719 Change-Id: I9e738cc413982845cf4858faa8ccd0a7dbf3187c
* | Removing android.security.MessageDigestBrian Carlstrom2011-02-011-1/+1
|/ | | | | Bug: 3392028 Change-Id: I6b9732da17d086ba00c846c3ad1c7fb39baf9502
* Make image wallpaper use a big surface.Dianne Hackborn2011-02-011-1/+5
| | | | Change-Id: I119f2bfee5fde08040520bd0da8574194a893ab5
* Fix bug 3408834 - actionbar stays gone when leaving reader inAdam Powell2011-01-311-3/+3
| | | | | | | | | lightsout mode Fix an opportunity for race conditions when the action bar is shown/hidden rapidly. Change-Id: I91c0666cad3afd8a4d870d642f971949fba0d333
* Mass merge from gingerbread - do not mergeThe Android Open Source Project2011-01-305-48/+83
|\ | | | | | | Change-Id: I45dc3596bf4211d8f91c64f2d1d00588878df629
| * Merge f126ad3b from gingerbreadJean-Baptiste Queru2011-01-292-8/+11
| |\ | | | | | | | | | Change-Id: I13a79033239d306fcf9291ca7fad7445f2cd1f47
| | * Use classnames instead of ints for NFC techs.Jeff Hamilton2011-01-252-8/+11
| | | | | | | | | | | | | | | | | | | | | | | | This makes the system more flexible and allows adding new technology types without having to update the API. Change-Id: Iaee6b633965e501a70e8afc3f1d54d9d94a4d05a
| * | am 5e81a6e2: Fix trace mismatch.Arnaud Ferir2011-01-291-1/+1
| |\ \ | | |/ | | | | | | | | | * commit '5e81a6e21e9977acd9dfafaf030bf51c8572a98f': Fix trace mismatch.
| | * Fix trace mismatch.Arnaud Ferir2011-01-241-1/+1
| | | | | | | | | | | | Change-Id: Ie6e9a2baef63d2b5621593203742c2ffeaafc4ba
| * | am 42a46157: Fix 3379239: Catch exceptions from workaround for OOM.Jim Miller2011-01-291-2/+10
| |\ \ | | |/ | | | | | | | | | * commit '42a461570b9c5502959e429c4f16ca5ca860c4f2': Fix 3379239: Catch exceptions from workaround for OOM.
| | * Fix 3379239: Catch exceptions from workaround for OOM.Jim Miller2011-01-231-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | This catches possible exceptions caused by attempting to unregister a receiver that may have already been unregistered. This is related to the OOM issue workaround in Change I99a7e0c3. Change-Id: Ib69a8acc6b12659125c958a03efac0a8a68a3859
| * | resolved conflicts for merge of 6687ecb4 to honeycomb-mergeJeff Hamilton2011-01-271-38/+62
| |\ \ | | |/ | | | | | | Change-Id: Id9677d2ef1c03191cf73a7d90e80b57ea686afec
| | * Fix 3106227: use WeakReferences for receivers in DigitalClock classJim Miller2011-01-141-40/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This works around a bug in the framework where LockScreen wouldn't get GC'd under certain circumstances which would lead to an OOM crash. It now uses WeakReferences for observers inside the DigitalClock container class and unregisters them if the containing DigitalClock goes away. Also removed mLive variable which was unused and could potentially leak the receivers. Left mAttached for debugging so we can use it to determine if the calls to onAttachToWindow() and onDetachFromWindow() are grossly unbalanced which may be the root cause of the original problem. Have cleanUp() explicitly clear unused references to make tracing through hprof references easier. Change-Id: I99a7e0c356001b05eab5aa729564553666febfea
| * | am 3ea5728e: Tweak level at which we reset battery stats to 90%.Dianne Hackborn2011-01-251-1/+1
| |\ \ | | |/ | | | | | | | | | * commit '3ea5728e703554f8ba0bb3aa1367d6dc45d704bb': Tweak level at which we reset battery stats to 90%.
| | * Tweak level at which we reset battery stats to 90%.Dianne Hackborn2011-01-051-1/+1
| | | | | | | | | | | | Change-Id: I81151809100912c7956536d5d47279d2c2fea8c4
* | | Merge "Add "Use physical keyboard" option to system bar IME button." into ↵Jeff Brown2011-01-302-0/+2
|\ \ \ | | | | | | | | | | | | honeycomb
| * | | Add "Use physical keyboard" option to system bar IME button.Jeff Brown2011-01-282-0/+2
| | | | | | | | | | | | | | | | | | | | Bug: 3391067 Change-Id: I136087ca4f726d0068d5983d7d3686787ba60c55
* | | | Merge "Update the encryption password when the device password is changed." ↵Jason parks2011-01-291-4/+31
|\ \ \ \ | |/ / / |/| | | | | | | into honeycomb
| * | | Update the encryption password when the device password is changed.Jason parks2011-01-281-4/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added changeEncryptionPassword() to the MountService. * Update LockPatternUtils to call changeEncryptionPassword() when the password is changed. Note we only require the new password to change the encryption password. Bug: 3382129 Change-Id: I26a7e919e325e75e22fa4290da0a8b1b57b55a80