summaryrefslogtreecommitdiffstats
path: root/core/java/com/android
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Fixing up glowpad scaling issues (issue 7494378)" into ↵Adam Cohen2012-11-071-3/+13
|\ | | | | | | jb-mr1-lockscreen-dev
| * Fixing up glowpad scaling issues (issue 7494378)Adam Cohen2012-11-071-3/+13
| | | | | | | | Change-Id: I55c0f7a3774d42d4f5893b12bc0c08690268e351
* | Merge "Allowing rotation while adding lockscreen widgets" into ↵Michael Jurka2012-11-071-5/+0
|\ \ | |/ |/| | | jb-mr1-lockscreen-dev
| * Allowing rotation while adding lockscreen widgetsMichael Jurka2012-11-071-5/+0
| | | | | | | | | | | | Also cleaning up some unused code Bug: 7468012
* | Giving glow pad the brains to scale itself dynamically (issue 7449554)Adam Cohen2012-11-061-17/+99
|/ | | | Change-Id: I44f31d354171c01b607871d6a9e1e9d06a49ffc8
* Removing sticky widgets in lockscreenMichael Jurka2012-11-061-15/+5
| | | | | | Also adding mechanism to show a widget after adding it Change-Id: Ic4d49e6ef1343c38fa731b0ed2a327c55b678abf
* Handle DevicePolicyManagement and safe mode when inflating widgetsJim Miller2012-11-061-0/+31
| | | | | | | | | | Bug 7459120 Bug 7444159 Bug 7444016 Change-Id: I7966ec510da8113ac571b5a4b9dc48dd291396e8 Conflicts: policy/src/com/android/internal/policy/impl/keyguard/KeyguardWidgetPager.java
* Use clock's widget as the default keyguard widgetMichael Jurka2012-11-011-5/+1
| | | | | | | | Also, if we have no widgets in lockscreen, reinflate the default widget. If that fails, inflate the built-in clock (KeyguardStatusView) Change-Id: I2e90ab0893c993a755700e075e4a8ac5a685e0f2
* Suppressing FUL after going to backup fixes b/7449820Brian Colonna2012-10-311-1/+0
| | | | | | | | | | | | | | | | | | Face Unlock would reappear when rotating a tablet after it had already fallen back to the backup unlock method. This change suppresses Face Unlock after going to the backup so it isn't seen again until the user leaves and revisits keyguard. This change also removes the exposeFallback() callback from Face Unlock. It has been unnecessary for a long tiem since Face Unlock no longer covers the backup. The Face Unlock service was therefore making unnecesaary calls via the AIDL interface. Note that the AIDL interface change broke obsolete keyguard stuff. That is being deleted soon anyway, so code has just been commented out of the obsolete files to make it compile. Change-Id: Ia5c451cce1703b3bc03e27a35c6b38373e944d1b
* Accessibility support for the lockscreen - phone.Svetoslav Ganov2012-10-311-7/+6
| | | | Change-Id: Idc99f1322a1d635dd07e1f5efa1665a4676267c2
* Use new keyguard appwidget pickerMichael Jurka2012-10-311-0/+5
| | | | | | Also, remove ability to filter widgets by feature in appwidget picker in anticipation of api change Change-Id: I325de0b98f03d3a250758d504229ea27794b5330
* Merge "Removed makeInvisible() function" into jb-mr1-lockscreen-devDanielle Millett2012-10-301-1/+0
|\
| * Removed makeInvisible() functionDanielle Millett2012-10-301-1/+0
| | | | | | | | | | | | | | This is now being done inside stopUI instead of its own separate call since it needs to be done on the UI thread inside FaceLockService. Change-Id: Iaf3a203f7f201ba4dde4c878f457e765f11e6c0e
* | Fixed misplacement of cancel(X) button for Face UnlockBrian Colonna2012-10-301-5/+7
|/ | | | | | | | | | Before the FUL service started, the FUL cancel button was positioned off of the right side of the window. This was because the FaceUnlockView (derived from RelativeLayout) was calling super.onMeasure() incorrectly, preventing it from using the new 'square' size when laying out child views. Change-Id: I2f1e86617da5c8f37123febab2e433288bdea062
* FUL uses square aspect ratio for all layouts fixes b/7426399Brian Colonna2012-10-301-0/+67
| | | | | | | | | | | | | | | | | | | | | | | When the referenced bug was filed, face unlock was only showing as a tiny sliver on tablet layouts. Due to other changes in the lockscreen branch, it was no longer a sliver, but was still an incorrect layout, with a width much greater than height. This change makes face unlock square for all layouts. The face unlock RelativeLayout was replaced with a custom FaceUnlockView derived from RelativeLayout. The new view forces a square layout using the same technique used by LockPatternView. Note that there is still a bug where the pattern view covers the widget area on portrait tablet layouts. The face unlock view has this same issue, but may resolve itself when the pattern bug is fixed. Also note there are two other Face Unlock tablet bugs that existed before this change (and therefore are not caused by this change): - flash during transition from spotlight animation to camera preview - PIN backup is upper-left instead of centered Change-Id: I550eccfa3924f230a9dc43f0a9b59f1ea55a9273
* Added a makeInvisible call to Face UnlockDanielle Millett2012-10-291-0/+1
| | | | | | | | | This makes it so that the view is hidden immediately when a call to stop is made. This also changes the call in onPause to only stop and not go to the backup because we still want Face Unlock to show as the view is being dragged down. Change-Id: I66d8fc24e82dc3a0155f7d59d8ced932cb584660
* Use settings to persist sticky widget.John Spurlock2012-10-271-9/+15
| | | | | | | | | | | | Addressing some comments: - Sticky widget is now saved in a user-scoped setting. - Removed multi-user widget from computation (obsolete). - Removed status widget from computation (just use right-most). - Removed duplicate isMusicPlaying logic. (frameworks/base) Change-Id: I8ef8f826677d78ac24da52adf2d99d47c8d965ac
* Merge "single unlock target with honycomb semantics" into jb-mr1-lockscreen-devChris Wren2012-10-261-10/+50
|\
| * single unlock target with honycomb semanticsChris Wren2012-10-261-10/+50
| | | | | | | | | | | | Bug: 7411431 Change-Id: I27a86041c93369df2be2d53cb81c29658e70bcca Proto-Id: I631fa48da4c67351366bcc1002a01dfa66a34d8c
* | Merge "Revert "Fix bug #7325234 LayoutParams are not resolved correctly ↵Fabrice Di Meglio2012-10-262-14/+1
|\ \ | | | | | | | | | (Settings apps looks broken on Manta in Arabic)"" into jb-mr1-dev
| * | Revert "Fix bug #7325234 LayoutParams are not resolved correctly (Settings ↵Fabrice Di Meglio2012-10-262-14/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | apps looks broken on Manta in Arabic)" This reverts commit 6bf6eb7d5f9207d6a3e1d6b61f17a8654d06fbdb. and also fbc21e126f329b7b7c161858c1390ccb023be07e I have also removed all unnecessary calls to resolveLayoutDirection(int). This is possible as we are resolving layout params on every child of a ViewGroup as of commit fcc3348f61b2992f0b84e8e8dcb3535fc715298f Change-Id: I262a375b03fcc3c9261cbe2edebb6ec42ec2e186
* | | Fix bug where it wasn't possible to add widgetsMichael Jurka2012-10-261-1/+1
| | | | | | | | | | | | | | | - Happened when you were down to 0 widgets (which won't be possible in future, but fixing this as well)
* | | Implement "sticky" widget logic.John Spurlock2012-10-261-0/+9
| |/ |/| | | | | | | | | | | | | (frameworks/base) Used after screen-off, and after launching camera. Bug: 7418847 Change-Id: I5179e6af13be4494fde77fde2cdb5610ab888dac
* | Persist reordering/deleting widgets on keyguardMichael Jurka2012-10-251-14/+30
| | | | | | | | | | | | Also, clean up warnings from unused imports Change-Id: Id0ef12a584ffdaa8a4fb64ffe93d0dda0af398ec
* | Fix buildMichael Jurka2012-10-241-1/+0
| |
* | Adding ability to add multiple widgets to keyguardMichael Jurka2012-10-241-14/+91
| | | | | | | | Bug: 7381803
* | Fix up GlowPadView attributesAdam Powell2012-10-231-4/+1
|/ | | | Change-Id: I98c14177753e713fcdaaf886c44ce10ab49eebc9
* Merge changes Ie3c8ca8d,Ia175b36d into jb-mr1-devKenny Root2012-10-191-0/+1
|\ | | | | | | | | | | * changes: Try to free cache before giving up on install Robustly add symlink and add for non-primary users
| * Try to free cache before giving up on installKenny Root2012-10-181-0/+1
| | | | | | | | | | | | | | | | Try to get installd to free up cache before giving up when there is too little space free. Bug: 7232123 Change-Id: Ie3c8ca8dfc190abbb9a29a7baee31f32e9de7d69
* | Parcel VpnProfile without using disk format.Jeff Sharkey2012-10-191-8/+42
|/ | | | | | | | The on-disk format of VpnProfile only stores the username/password when saveLogin is set, which was dropping them across IPC boundaries. Bug: 7378327 Change-Id: I30c16efb358ab8f8d3d9229bbf9811146fe034ce
* Merge "Make all lockscreen widgets follow haptic flag." into jb-mr1-devJeff Sharkey2012-10-125-14/+45
|\
| * Make all lockscreen widgets follow haptic flag.Jeff Sharkey2012-10-125-14/+45
| | | | | | | | | | Bug: 7337006 Change-Id: I782e498b7528e612c4b06a75b77f5521c951cbd6
* | Fix bug #7325234 LayoutParams are not resolved correctly (Settings apps ↵Fabrice Di Meglio2012-10-102-3/+12
|/ | | | | | | | | | looks broken on Manta in Arabic) Part 2 - fix remaining UI widgets by asking layout params resolution when needed Change-Id: I97c41639da645d77eeda85feec3bbcc7fc1260b9
* Merge "Fix bug #7326778 Rename LayoutParams.onResolveLayoutDirection(int)" ↵Fabrice Di Meglio2012-10-101-3/+3
|\ | | | | | | into jb-mr1-dev
| * Fix bug #7326778 Rename LayoutParams.onResolveLayoutDirection(int)Fabrice Di Meglio2012-10-101-3/+3
| | | | | | | | | | | | | | - rename to LayoutParams.resolveLayoutDirection(int) - upate 17.txt too Change-Id: I54fe28dc47cfdb65ef0b5b0244dabbe1d675c781
* | Move lockscreen to using haptic feedback setting.Jeff Sharkey2012-10-101-8/+2
| | | | | | | | | | | | | | | | This removes lockscreen-specific "Vibrate on touch" setting, and changes it to use the haptic feedback setting instead. Bug: 7318772 Change-Id: I637c392a1aaa22403cb20da4723f90c3b2e3de19
* | Cannot force a shown item from an ActionMode into the overflow menu.Svetoslav Ganov2012-10-091-0/+3
|/ | | | | | | | | | | | 1. An app showing an action mode with a visible item that decides to move this item to the overflow menu cannot do so since the action menu is not updated properly. Specifically, ActionMenuPresenter does not clear the "is action button" property of a menu item neither requires nor requests an action button, i.e. the item's "show as action" property changed to be never shown on the action bar. bug:7319766 Change-Id: I5cfda6269466fafca1f039a3bab6397392ae9f17
* Properly handle cancel event in GlowPadViewJim Miller2012-10-071-6/+2
| | | | | | | | | | There was a workaround used in a previous release where we effectively ignored cancel events to work around another bug. This change removes the workaround and GlowPadView correctly handles the event. Bug 6903638 Change-Id: I9b510985c6da346a4e10cf2535267c8d5efa5871
* Plumbing to allow keyguard to be shown with user switcher (issue 7175023)Adam Cohen2012-10-041-0/+21
| | | | | | -> Also reduced calls to lockNow, and moved this call in ActivityManagerService Change-Id: I9ba34ca902f7c0f71fa4ec302104688ca8d11f55
* Fix launching home when there are multiple launchers installedAmith Yamasani2012-10-031-8/+6
| | | | | | | | | | | | | Bug: 7283782 Since ResolverActivity now runs in the correct user, it doesn't need to explicitly pass in the calling userId. In fact, for the Home case, since ActivityManager is the one requesting resolution of Home activity, Resolver is running as user 0 instead of the current user. Removing explicit calls based on the launchingUid fixes the problem. Change-Id: I4676c155aafaa0dd5cefb1acefa0e7e9c1e20f25
* Send LockPatternView accessibility announcements before callbacksalanv2012-10-031-7/+5
| | | | | | | | | This allows the pattern's listener to optionally send accessibility announcements that interrupt the defaults, rather than the view always interrupting the listener. Bug: 7256500 Change-Id: Ief2f5cc2fae76a3becc1321d14d46f97b3092215
* Merge "Fix camera disambiguation in secure keyguard" into jb-mr1-devJim Miller2012-10-021-4/+6
|\
| * Fix camera disambiguation in secure keyguardJim Miller2012-10-011-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When there are multiple activities that respond to MediaStore.INTENT_ACTION_STILL_IMAGE_CAMERA_SECURE we need to show the disambiguation dialog to the user. However the disambiguation "dialog" is actully an activity themed as a dialog. Hence, we can't show it in the secure keyguard. This works around the issue by prompting the user for their credentials directly when the intent needs disambiguation. This will take them out of keyguard and prompt them for which activity they want to use. We'll provide a more robust solution in a future release. Fixes bug 7109816 Change-Id: I94e643d3cb503e1ce6de24c82400b4d5fcbb9d95
* | Sets accessibility importance for the home/up button.Casey Burkhardt2012-10-011-10/+18
|/ | | | | Bug: 7196985 Change-Id: I4d27470eccb8933f751db892218a8032a80df3da
* Status bar: Keep disabled state per user.John Spurlock2012-10-011-0/+1
| | | | | Bug:7165607 Change-Id: If6f7a41c2516996612aef5e013dd0d2bd23f9084
* Add wireless display selection support to MediaRouter.Adam Powell2012-09-281-2/+20
| | | | | | | | | | | | | | | * Adds the new route type LIVE_VIDEO * Wireless displays support both LIVE_VIDEO and LIVE_AUDIO, making wireless display routes valid selections in when apps make selecting live audio routes available. * MediaRouter will only report/manipulate wireless displays that have already been paired at the system level. Bug 7177920 Change-Id: Ic221b8687d77b4c0df9801c396b74870e86206e9
* Merge "Cleanup internal status bar APIs." into jb-mr1-devDaniel Sandler2012-09-282-8/+6
|\
| * Cleanup internal status bar APIs.Daniel Sandler2012-09-272-8/+6
| | | | | | | | | | | | | | | | | | | | | | IStatusBarService.collapseQuickSettings is gone; collapseNotifications is now collapsePanels, which does what collapse() used to do. Similarly, IStatusBar.animateCollapseQuickSettings is now simply IStatusBar.animateCollapse(). Bug: 7245229 Change-Id: Id157d2fdf34926d3c85ffa8b81c741a5359aede4
* | Respect per-user rotation lock et aliaChristopher Tate2012-09-271-11/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Various per-user settings such as rotation lock are relevant to the singleton PhoneWindowManager object. We now listen for user-switch broadcasts and reconfigure the active state based on the newly- active user's settings. The RotationPolicy toolset has also been updated to do the right thing, as has the Quick Settings UI. Bug 7213638 Change-Id: Iee2109e48df550b4c979d3f9c91b5d2b71a6a08e
* | Update keyguard layouts on phoneJim Miller2012-09-271-28/+56
|/ | | | | | | | | | | | | | - Go back to using old date format - All keyguard text is now caps - Lower brightness on emergency call text - Fixed CR/LF issue with Owner info - Added new alarm icon and fixed padding - Swapped Google Now and lock icon in landscape mode - Centered PIN/Password/Pattern help text in view in portrait - Fixed keyboard size issue in landscape - Merge new assets from UX Change-Id: I7adb44b6c9a57d40cab0a77433d43291fb277568