2005 Commits

Author SHA1 Message Date
Chia-chi Yeh
a2becffcf2 am d667aebf: Merge "VPN: move VpnDialogs away from system uid." into jb-dev
* commit 'd667aebfb34085960e2b41a2f52d10ae749ec44c':
  VPN: move VpnDialogs away from system uid.
2012-06-12 12:41:12 -07:00
Chia-chi Yeh
d667aebfb3 Merge "VPN: move VpnDialogs away from system uid." into jb-dev 2012-06-11 11:49:46 -07:00
Chia-chi Yeh
dadc857d9d VPN: move VpnDialogs away from system uid.
Bug: 6632536
Change-Id: Iece647c077caf5298ccfe7d7aba5f0911a4ed0d1
2012-06-08 13:05:58 -07:00
Adam Powell
7232995216 am 4c38fe36: Merge "Protect against bogus input for ListViews" into jb-dev
* commit '4c38fe369fee76b8d4fca5a7b0b8d81a96f0219f':
  Protect against bogus input for ListViews
2012-06-07 12:14:21 -07:00
Adam Powell
4c38fe369f Merge "Protect against bogus input for ListViews" into jb-dev 2012-06-07 12:12:00 -07:00
Adam Powell
28048d011c Protect against bogus input for ListViews
Guard against cases where ListView might receive touch events while
detached.

Update ListMenuPresenter to dispatch a data set change when the
backing menu is changed.

Bug 6543282

Change-Id: If2fb9b6aa3cf4a1b7070a7cd0de0edf0fc2f4cca
2012-06-06 22:47:56 -07:00
Dianne Hackborn
18aa041a62 am 6cd19e02: Merge "Fix some divide by zero errors that could crash the system." into jb-dev
* commit '6cd19e0266b3f4277f13dab7e9a86ebdd9905ee9':
  Fix some divide by zero errors that could crash the system.
2012-06-06 14:17:54 -07:00
Dianne Hackborn
6cd19e0266 Merge "Fix some divide by zero errors that could crash the system." into jb-dev 2012-06-06 14:16:05 -07:00
Dianne Hackborn
cdadee630e Fix some divide by zero errors that could crash the system.
Change-Id: I66273df84e45de59b5b161f4d13de67a9e0f46d5
2012-06-06 11:48:46 -07:00
Adam Powell
1178569b26 am f6452d0c: Merge "More fun with MediaRouter" into jb-dev
* commit 'f6452d0cac64b72005af330411b5a895f0038312':
  More fun with MediaRouter
2012-06-05 19:29:57 -07:00
Adam Powell
f6452d0cac Merge "More fun with MediaRouter" into jb-dev 2012-06-05 19:27:49 -07:00
Adam Powell
690ffb4e1f More fun with MediaRouter
Add action provider, button, and styles. Extend ActionProvider to
allow for getting references to MenuItem instances.

Implement toggle mode for the MediaRouteButton/ActionProvider. Dialog
selection yet to come.

Change-Id: Ibe3188570f503bbf8dd00cf154663435656a7171
2012-06-05 19:15:57 -07:00
Jeff Brown
eef4bc0813 am 615fd3df: Merge "Implement new rotation policy." into jb-dev
* commit '615fd3dff2e369d8b786abcfe41b6da988e41001':
  Implement new rotation policy.
2012-06-05 19:14:17 -07:00
Jeff Brown
207673cdbb Implement new rotation policy.
Rotation lock does not override NOSENSOR mode anymore.

Centralize the rotation policy settings into a new class shared by
the System UI and Settings applications.

Add a new setting to specify whether rotation-lock is being hidden
because the "auto-rotate screen" option has been toggled in the
Accessibility settings panel.

Bug: 6523269
Change-Id: I15173280d25bc5d101e89a9c65913aefc53fc33a
2012-06-05 17:59:46 -07:00
Jeff Brown
7d3fa093bb am f47e76e2: Merge "Make velocity tracker strategy configurable." into jb-dev
* commit 'f47e76e2c78e78e26110786e99548d718d177c32':
  Make velocity tracker strategy configurable.
2012-06-03 21:19:13 -07:00
Jeff Brown
f47e76e2c7 Merge "Make velocity tracker strategy configurable." into jb-dev 2012-06-03 21:16:18 -07:00
Jeff Brown
9eb7d86181 Make velocity tracker strategy configurable.
This change is very useful for testing purposes because it makes it
easy to compare different implementations to see how they behave.

There is no change to the current default strategy.

Bug: 6413587
Change-Id: I4d8567aa4160571ba9fa397ce419882cd9366749
2012-06-03 19:21:49 -07:00
Jim Miller
a8c42f1aaa am 94a8ae09: Merge "Fix 6592932: add means to replace assist icon from given package" into jb-dev
* commit '94a8ae09bea03ec2ca5563601e28a196d41bb6b6':
  Fix 6592932: add means to replace assist icon from given package
2012-06-02 08:35:33 -07:00
Jim Miller
3294b6b09b Fix 6592932: add means to replace assist icon from given package
This provides the means to replace the assist icon shown in keyguard and the
navigation gesture for assist.  It's done by adding metadata called
"com.android.systemui.action_assist_icon" to the activity that handles
android.intent.action.ASSIST.  It should point to a StateListDrawable
in that package with the required states.  For example:

<meta-data android:name="com.android.systemui.action_assist_icon"
    android:resource="@drawable/ic_android_systemui_action_assist" />

And then something like this in drawable/ic_android_systemui_action_assist.xml :

<selector xmlns:android="http://schemas.android.com/apk/res/android">
    <item android:state_enabled="true"
        android:state_active="false"
        android:state_focused="false"
        android:drawable="@drawable/ic_action_assist_normal" />
    <item android:state_enabled="true"
        android:state_active="true"
        android:state_focused="false"
        android:drawable="@drawable/ic_action_assist_activated" />
    <item android:state_enabled="true"
        android:state_active="false"
        android:state_focused="true"
        android:drawable="@drawable/ic_action_assist_focused" />
</selector>

Change-Id: Ibc29360e179fed68253ff06a07b1bb2b982d0dab
2012-06-01 14:08:28 -07:00
Chet Haase
12dec0f230 am 762ca84c: Merge "Sped up ActionBar and StatusBar animations" into jb-dev
* commit '762ca84cb26b06cfc758db38f4af6edfcf6a4349':
  Sped up ActionBar and StatusBar animations
2012-05-30 17:27:21 -07:00
Chet Haase
762ca84cb2 Merge "Sped up ActionBar and StatusBar animations" into jb-dev 2012-05-30 17:22:37 -07:00
Chet Haase
e8118e17b2 Sped up ActionBar and StatusBar animations
Animations to show/hide the ActionBar and StatusBar were very slow, given
the size of the objects and the distances covered by the sliding animations.
Also, the ActionBar animation was sometimes hiccuppy as it faded in/out.
This change eliminates the ActionBar fade (which is unnecessary) and speeds
up the animations (smaller durations and steeper interpolation curves). Also,
it eliminates the startDelay on the ActionBar show animation.

Issue #6564089 Options menu should slide in much quicker (nakasi/JB)

Change-Id: I2c8298301f7bf26bbbc94444e715420a2c029ba0
2012-05-30 16:47:54 -07:00
Jim Miller
6be353b05e am 2a7b17bb: Fix 6580421: make sure MultiWaveView.reset() makes handle visible
* commit '2a7b17bb2604823e140fb867fe87836dd039611a':
  Fix 6580421: make sure MultiWaveView.reset() makes handle visible
2012-05-30 12:39:11 -07:00
Jim Miller
2a7b17bb26 Fix 6580421: make sure MultiWaveView.reset() makes handle visible
This fixes a bug where sometimes the handle wasn't visble in the
incoming call screen.  The problem was that the animation was
interrupted on its transition from alpha = 0 to alpha = 1 by reset()
and the new handle animation wasn't started.

Change-Id: I3ab4259db1115da20e7f54b91bbfe3b496940214
2012-05-30 12:19:56 -07:00
Jim Miller
9ca07d048f am d8c5f10c: Merge "Fix 6398209: SearchPanel gesture improvements" into jb-dev
* commit 'd8c5f10c10ea1a8708481eac52ee573d5c3b6a67':
  Fix 6398209: SearchPanel gesture improvements
2012-05-30 09:29:37 -07:00
Jim Miller
9a720f5eb6 Fix 6398209: SearchPanel gesture improvements
This fixes a few recent regressions caused by other bug fixes:
- add new flags to animateCollapse() so we can selectively close panels. Fixes regression caused by attempt to close recent apps from startAssistActivity() which had the side effect of closing the search panel before the animation completes.
- adds tuneable holdoff delay for responding to home key press.
- minor tweaks to MultiWaveView animations.

Change-Id: Ia48434b8d59e7b0290a5e9783960c2f684068218
2012-05-30 03:36:20 -07:00
Jim Miller
4abf86ed20 am a073e570: Fix 6398209: General animation improvements for swipe to search
* commit 'a073e570789e5b49e8339af44516444b13db4428':
  Fix 6398209: General animation improvements for swipe to search
2012-05-29 13:16:22 -07:00
Jim Miller
a073e57078 Fix 6398209: General animation improvements for swipe to search
This cleans up the animation for swipe to search from the navbar.  In particular:
1. Wait for initial animation to finish if gesture was too quick.
2. Better fade animation
3. Hide background and fade in when ring is selected
4. Smoother target and outer ring animation when switching between states.

Change-Id: I401197760cf9f06b6ff3e1cdb80bee86a03ef276
2012-05-29 12:49:23 -07:00
Chris Wren
af94889419 am 04b63f6f: Merge "Squelch the logs from SizeAdaptiveLayout." into jb-dev
* commit '04b63f6fb0f04e0cd56a6c2d71c8c4f1f2207758':
  Squelch the logs from SizeAdaptiveLayout.
2012-05-25 06:24:12 -07:00
Chris Wren
04b63f6fb0 Merge "Squelch the logs from SizeAdaptiveLayout." into jb-dev 2012-05-25 06:21:56 -07:00
Jim Miller
4414bdefe1 am 73bde11e: Merge "Fix 6547012: ignore events outside the home/back/recent navigation area" into jb-dev
* commit '73bde11e624c44620819e9c93a61ca6be6e96997':
  Fix 6547012: ignore events outside the home/back/recent navigation area
2012-05-24 17:56:02 -07:00
Jim Miller
73bde11e62 Merge "Fix 6547012: ignore events outside the home/back/recent navigation area" into jb-dev 2012-05-24 17:51:10 -07:00
Jim Miller
960892c0af Fix 6547012: ignore events outside the home/back/recent navigation area
This fixes the search panel to only show if touch events originate
in the home/back/recent area.

Change-Id: I370da8b5c5613b7bbab5d266ba51a61df8f3a57b
2012-05-24 17:02:31 -07:00
Chris Wren
5462508f05 Squelch the logs from SizeAdaptiveLayout.
Bug: 6540109
Change-Id: I52bd64e2f5d1b2f02ef7e956ddf1340fb9b2aff3
2012-05-23 17:15:34 -04:00
Daniel Sandler
79934c0048 am 81de5a0b: Merge "Stop animating when not showing." into jb-dev
* commit '81de5a0b11df08b603693b6d3b381ac9f89ebc67':
  Stop animating when not showing.
2012-05-23 11:07:42 -07:00
Daniel Sandler
aa0a3b6923 Stop animating when not showing.
We were eating too many jelly beans even when the screen was
off.

Also clean up touch offsets, rotation on fling, and main
platlogo asset.

Bug: 6541052
Change-Id: I34e49b8b7a95ce6daab929885130426a5ae58dc4
2012-05-23 01:38:26 -04:00
Dianne Hackborn
7a26eefcc5 am 89604931: Merge "Fix issue #6521829: Sometimes action bar disappears in gallery" into jb-dev
* commit '89604931a85edd82c6b4a8c798fc1af610ba706e':
  Fix issue #6521829: Sometimes action bar disappears in gallery
2012-05-22 18:26:11 -07:00
Dianne Hackborn
80d55065b1 Fix issue #6521829: Sometimes action bar disappears in gallery
Change-Id: Ieb1f1fd0ebb87037cda94e1e1d6e2ca9a9c0754e
2012-05-22 18:03:20 -07:00
Jim Miller
aa0d9f6363 am a6f0b0ad: Merge "Fix6398209: reveal search when home button is long-pressed" into jb-dev
* commit 'a6f0b0ad6966d64d833978cc150cc180b40f8bb3':
  Fix6398209: reveal search when home button is long-pressed
2012-05-21 16:39:37 -07:00
Jim Miller
a6f0b0ad69 Merge "Fix6398209: reveal search when home button is long-pressed" into jb-dev 2012-05-21 16:37:32 -07:00
Jim Miller
998bb76529 Fix6398209: reveal search when home button is long-pressed
This change add a feature to reveal the swipe to search interface
when the home key is pressed for longer than 50ms.  It progressively
reveals the interface.  It still requires a bit of tuning, but all
the basic parameters are in this CL.

Change-Id: I1d3a5bb7b912265eb41da68bc9313eee1af2e415
2012-05-21 13:55:44 -07:00
Dianne Hackborn
9beee6ad20 am d51ac09f: Merge "Fix activity resolver, issues #6519130 and #6507239" into jb-dev
* commit 'd51ac09fd7db5d810452138749f9291617c0dbf7':
  Fix activity resolver, issues #6519130 and #6507239
2012-05-18 15:59:55 -07:00
Dianne Hackborn
5320eb8938 Fix activity resolver, issues #6519130 and #6507239
6519130: Starting ResolverActivity with no arguments crashes system_server
6507239: ResolverActivity may bypass signature permissions

Change-Id: I64534f781bc6b7eb45e85dbe3a55d351ee28e85c
2012-05-18 15:04:53 -07:00
Jim Miller
7bd926c9ba am 5de47b6a: Fix 6398209: Fix glitch in chevron animation in MultiWaveView
* commit '5de47b6ad9d72476302f8a3732b639d3d413ef77':
  Fix 6398209: Fix glitch in chevron animation in MultiWaveView
2012-05-16 18:26:15 -07:00
Jim Miller
5de47b6ad9 Fix 6398209: Fix glitch in chevron animation in MultiWaveView
This fixes a glitch caused by clearing the array of chevrons before
stopping the associated animations. The old animations were allowed to
complete which caused chevrons to move around erratically because they
were being controlled by multiple animators.

Change-Id: Iec1450dd83077a721930eb3cac19a621e7356980
2012-05-16 17:56:59 -07:00
Jim Miller
9a40e307dc am c1c14065: Merge "Fix 6398209: Lots of improvements to gesture search from navbar" into jb-dev
* commit 'c1c140657633cc5b0ff26da1f122fab305d21e01':
  Fix 6398209: Lots of improvements to gesture search from navbar
2012-05-16 14:19:22 -07:00
Jim Miller
c1c1406576 Merge "Fix 6398209: Lots of improvements to gesture search from navbar" into jb-dev 2012-05-16 14:17:33 -07:00
Jim Miller
20830421fe Fix 6398209: Lots of improvements to gesture search from navbar
- 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
2012-05-15 21:10:12 -07:00
Daniel Sandler
4924f2375e am 8414beac: Merge "Test new fonts and use correct OS version." into jb-dev
* commit '8414beac87b9fb411566c0c99f772c54d4223a31':
  Test new fonts and use correct OS version.
2012-05-15 13:32:22 -07:00
Daniel Sandler
f89d5079e4 Test new fonts and use correct OS version.
Bug: 6499146
Change-Id: I83d6298725fe1f3385d5bf0a34487658583141a4
2012-05-15 16:15:15 -04:00