summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix 6398209: Lots of improvements to gesture search from navbarJim Miller2012-05-155-85/+151
| | | | | | | | | | | | | | | | - Added ability to postpone animations until after window is shown to ensure the animation is visible on slower devices. - Fixed layout bug that prevented targets from being located on outer ring. - Fixed bug where some motion events were being ignored when handle wasn't captured. - Reduced temp object generation in several methods. - Added containers to start all animations together and to facilitate delayed start. - Increased radius of outer ring on phones to closer match mocks. - Decreased sensitivity of swipe up gesture on navbar so it's harder to false. Change-Id: I084f840115aef6496a1f87202c4e42d9962c8c3e
* Merge "Add missing XML close tag. Fixes bug 6488238." into jb-devDianne Hackborn2012-05-141-0/+1
|\
| * Add missing XML close tag. Fixes bug 6488238.Raph Levien2012-05-141-0/+1
| | | | | | | | Change-Id: Ic1197d0b8bece1595626a92f025cb7ae7e96163d
* | Merge "Change SMS security check to enforceCallingPermission()." into jb-devJake Hamby2012-05-141-1/+1
|\ \
| * | Change SMS security check to enforceCallingPermission().Jake Hamby2012-05-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The permission check for IccSmsInterfaceManager.sendText() was changed from enforceCallingPermission() to enforceCallingOrSelfPermission() to enable the Phone app to send SMS's directly for the "reply by SMS" feature. That feature was implemented in a different way (handled by the MMS app), so the permission check can be changed back to the original enforceCallingPermission(). Verified that SMS can still be sent, including "reply by SMS" for an incoming call. Bug: 4686733 Change-Id: If844a0c485de0a87857d8f82a3452e776005153e
* | | Merge "Minor touch-up of Animation docs" into jb-devChet Haase2012-05-141-2/+4
|\ \ \
| * | | Minor touch-up of Animation docsChet Haase2012-05-111-2/+4
| | | | | | | | | | | | | | | | Change-Id: Ifd615d352b9924d562f4238c8ed36a8f4e6a91fa
* | | | Merge "WindowManager: unset the wallpaper window crop" into jb-devJamie Gennis2012-05-141-0/+1
|\ \ \ \ | |_|_|/ |/| | |
| * | | WindowManager: unset the wallpaper window cropJamie Gennis2012-05-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | This change removes the window crop of the wallpaper when setting its position. Change-Id: I0f4dc10ea9a724b210f75286580ef391145286df
* | | | Merge "Verify AudioTrack only uses a valid multichannel configuration" into ↵Jean-Michel Trivi2012-05-141-1/+32
|\ \ \ \ | | | | | | | | | | | | | | | jb-dev
| * | | | Verify AudioTrack only uses a valid multichannel configurationJean-Michel Trivi2012-05-141-1/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enforce the same rules as for HDMI output: - FL/FR must be present - paired channels must be used in pairs (e.g. no rear left without rear right) Bug 6392126 Change-Id: I0a39e474dcf509cb7eabd8edd1f0e44852d72b51
* | | | | Merge "Fix 6283709: set max FUL failed attempts to 5" into jb-devBrian Colonna2012-05-141-1/+1
|\ \ \ \ \
| * | | | | Fix 6283709: set max FUL failed attempts to 5Brian Colonna2012-05-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After an unrecognized face occurs 5 times in a row, we disable FUL until the user unlocks via the backup lock. This prevents attacks where someone tries a bunch of different photos, hoping for a good enough match to the device's owner. This value was previously set to 15, which is much higher than necessary. This change sets it to 5. We've been holding off on this change because it makes our testing more difficult, but we want this in there for factory ROM this week. Change-Id: I4e1acc5b1dcc2c0629e0c0fe97a837d6edc44d5d
* | | | | | Merge "fix SurfaceView visibility state changes" into jb-devMathias Agopian2012-05-131-1/+11
|\ \ \ \ \ \
| * | | | | | fix SurfaceView visibility state changesMathias Agopian2012-05-121-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SurfaceView didn't recompute the transparent region when the INVISIBLE state (as opposed to GONE) was involved. Bug: 6467123 Change-Id: I05930bd568a345331840c1ad8d9123ef4904c04f
* | | | | | | Merge "fix BootAnimation timing" into jb-devMathias Agopian2012-05-131-3/+16
|\ \ \ \ \ \ \ | |_|_|_|/ / / |/| | | | | |
| * | | | | | fix BootAnimation timingMathias Agopian2012-05-121-3/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We were including the delay of the previous frame when calculating the delay needed between a frame and the next. This caused a bad jitter in the animation timing. We also now use clock_nanosleep(). Change-Id: Iebb8cca4d57fe2f11d83b23a736e03db7a7d2006
* | | | | | | Merge "Update the API version checks." into jb-devSvetoslav Ganov2012-05-131-4/+1
|\ \ \ \ \ \ \
| * | | | | | | Update the API version checks.Svetoslav Ganov2012-05-131-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Since the API version has been finalized this change updates the SDk version checks to use the JellyBean verson number. bug:5947249 Change-Id: Ie22fa7e18a7ea7b0c7077d80246a26c17f327ceb
* | | | | | | | Merge "Removing default accessibility gesture handling." into jb-devSvetoslav Ganov2012-05-136-297/+14
|\ \ \ \ \ \ \ \
| * | | | | | | | Removing default accessibility gesture handling.Svetoslav Ganov2012-05-136-297/+14
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. The initial design was to have some accessibility gestures being handled by the system if the gesture handling access service does not consume the gesture. However, we are not sure what a good default is and once we add a default handler we cannot remove it since people may rely on it. Thus, we take the simples approach and let the accessibility service handle the gestures. If no gestures are handled the system will work in explore by touch as before. bug:5932640 Change-Id: I865a83549fa03b0141d27ce9713e9b7bb45a57b4
* | | | | | | | Fix build.Dianne Hackborn2012-05-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I53263d509559c70100cd78ad49f225f0dafd8891
* | | | | | | | Merge "Implement new window cropping." into jb-devDianne Hackborn2012-05-1314-137/+138
|\ \ \ \ \ \ \ \ | |_|_|_|/ / / / |/| | | | | | |
| * | | | | | | Implement new window cropping.Dianne Hackborn2012-05-1314-137/+138
| | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The window manager now performs the crop internally, evaluating it every animation from, to be able to update it along with the surface position. Change-Id: I960a2161b9defb6fba4840fa35aee4e411c39b32
* | | | | | | accessibility bug fix in NumberPickerGuang Zhu2012-05-122-13/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * moved View#isVisibleToUser to protected with @hide * added a new View#isVisibleToUser(Rect), so that a portion of the view can be tested for visibility * NumberPicker will report its concrete class name * code to append virtual children was at wrong place * boundInScreen for increment and decrement buttons are reported wrong Change-Id: Ic5d644b3e1efa15b1f0537907c8cdd4ce43a97c1
* | | | | | | Merge "Add call sites for OpenGL's debug label extension" into jb-devRomain Guy2012-05-123-22/+53
|\ \ \ \ \ \ \
| * | | | | | | Add call sites for OpenGL's debug label extensionRomain Guy2012-05-123-22/+53
| | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | Change-Id: I9c689127e8166cbef92c935f8aa07217ab806dda
* | | | | | | Merge "Maintain the anchor at top/left on orientation change." into jb-devMangesh Ghiware2012-05-121-8/+2
|\ \ \ \ \ \ \
| * | | | | | | Maintain the anchor at top/left on orientation change.Mangesh Ghiware2012-05-121-8/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 5291151 Change-Id: Id1d5c157668440fe4d0d1214477ba31e8f02d6b6
* | | | | | | | Merge "Fix 6486099: Fix clipping issues with MultiWaveView on phone/tablet" ↵Jim Miller2012-05-129-21/+16
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | into jb-dev
| * | | | | | | | Fix 6486099: Fix clipping issues with MultiWaveView on phone/tabletJim Miller2012-05-129-21/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes a problem where the bounds of the view weren't being calculated properly when a separate outer radius was specified. The code now takes the maximum of the ring drawable's width/height and that specified in the resource files. This gives it the best default look on all devices while still allowing minor tweaks. Change-Id: I5daa40ff4f14653c8cc89b39102816afb976e4f7
* | | | | | | | | Merge "Improve transition out of recents" into jb-devMichael Jurka2012-05-125-33/+30
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Improve transition out of recentsMichael Jurka2012-05-125-33/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - During the transition, fade the bg to black - Exiting activity fades to black - Recents background no longer fades away, because then it would fight against the fade to black happening behind it
* | | | | | | | | | Merge "Fix 6474712: Disable the google gesture on prime while notifications ↵Jim Miller2012-05-124-0/+14
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | are open" into jb-dev
| * | | | | | | | | | Fix 6474712: Disable the google gesture on prime while notifications are openJim Miller2012-05-124-0/+14
| | |/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I7c40e7bf4859d60c54c186fc49b670397a4ea723
* | | | | | | | | | Merge "Fix 6485058: remove OnTriggerListeners from Wave*Methods in cleanup" ↵Jim Miller2012-05-121-0/+15
|\ \ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / / |/| | | | | | | | | | | | | | | | | | | into jb-dev
| * | | | | | | | | Fix 6485058: remove OnTriggerListeners from Wave*Methods in cleanupJim Miller2012-05-111-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes a rare crash that could happen when the device orientation changes while the handle is held over a target. LockScreen.cleanUp() was being called which set mCallback to null which then causes it to crash in MultiWaveViewMethods.onTrigger(). The solution is to also remove OnTriggerListeners in LockScreen.cleanup(). Change-Id: I487c7c9dbbe40417e685b39f2e79b1c43b30fa00
* | | | | | | | | | Merge "Start voice-based interactions from headsethook key" into jb-devJean-Michel Trivi2012-05-121-9/+220
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | Start voice-based interactions from headsethook keyJean-Michel Trivi2012-05-101-9/+220
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement the interception of long-press on keys that can be used to trigger voice-based interactions (here only HEADSETHOOK) only if the long-press hasn't been trapped by the foreground application: - if the key is not one that is used for voice input, handle the event as before. - if the key press wasn't long enough, simulate a delayed key press. - if long press is detected, send RecognizerIntent.ACTION_WEB_SEARCH. Long press duration is set to 300ms (a typical key press is under 100ms). Bug 3225090 Change-Id: I5b3adeb91d3c41ccd54d23fdb93d7eaec496eee7
* | | | | | | | | | | Merge "Fix typo in javadoc." into jb-devPin Ting2012-05-122-8/+8
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Fix typo in javadoc.Pin Ting2012-05-112-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I0e5d8640764772871e72cb00d117d12f3eaeb64f
* | | | | | | | | | | | Merge "Tell power HAL when user activity occurs." into jb-devJeff Brown2012-05-111-0/+9
|\ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | Tell power HAL when user activity occurs.Jeff Brown2012-05-111-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 6435382 Change-Id: I78754158b057851fcba807ebbda143899da387ec
* | | | | | | | | | | | | Merge "Move power HAL interactions to PowerManagerService." into jb-devJeff Brown2012-05-1117-311/+221
|\ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / | | | | | | | | / / / / / | |_|_|_|_|_|_|/ / / / / |/| | | | | | | | | | |
| * | | | | | | | | | | Move power HAL interactions to PowerManagerService.Jeff Brown2012-05-1117-311/+221
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This refactoring sets the stage for a follow-on change that will make use additional functions of the power HAL. Moved functionality from android.os.Power into PowerManagerService. None of these functions make sense being called outside of the system server. Moving them to the PowerManagerService makes it easier to ensure that the power HAL is initialized exactly once. Similarly, moved ShutdownThread out of the policy package and into the services package where it can tie into the PowerManagerService as needed. Bug: 6435382 Change-Id: I958241bb124fb4410d96f5d5eb00ed68d60b29e5
* | | | | | | | | | | | Merge "Enable SQLite configuration to be set with system properties." into ↵Jeff Brown2012-05-111-11/+20
|\ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / | | | | | / / / / / / / | |_|_|_|/ / / / / / / |/| | | | | | | | | | jb-dev
| * | | | | | | | | | Enable SQLite configuration to be set with system properties.Jeff Brown2012-05-111-11/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change does not alter the behavior of the system except to enable the use of system properties to override SQLite configuration options for debugging. Bug: 6484633 Change-Id: I8908a3ba07910a1193396e2e45791e9faa7be349
* | | | | | | | | | | Merge "Trace: add a tracing tag for video" into jb-devJamie Gennis2012-05-111-0/+1
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Trace: add a tracing tag for videoJamie Gennis2012-05-111-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: If4c3c76b049a475ca99eb258dc3d432435e77dc0
* | | | | | | | | | | | Merge "Surface: replace active rect with window crop" into jb-devJamie Gennis2012-05-113-37/+24
|\ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / /