Commit Graph

280 Commits

Author SHA1 Message Date
Christopher Tate
02d2b3ba9b API CHANGE: startDrag() now takes "int flags" instead of "boolean localOnly"
There will be, in the future, a flag (View.DRAG_FLAG_GLOBAL) that means
for the drag to be cross-application.  For now that flag constant is @hide
and furthermore the server-side implementation strips it, enforcing
local-only drags.

Change-Id: I8db840480ab90e18a5b8ecf29d62b4e6eafd405e
2011-01-11 18:30:23 -08:00
Joe Onorato
14770e049e Merge "The status bar half of making the status bar resize when hdmi is plugged in." into honeycomb 2011-01-11 17:09:16 -08:00
Joe Onorato
dc10030581 The status bar half of making the status bar resize when hdmi is plugged in.
Change-Id: Ia349413774ba709fb3242780671c7b459850f4a4
2011-01-11 17:07:41 -08:00
Jaikumar Ganesh
0c84855334 Merge "Update status bar icons for BT reverse tethering." into honeycomb 2011-01-11 14:51:01 -08:00
Daniel Sandler
033376f6f0 Merge "Simplify panel animations with an eye to performance." into honeycomb 2011-01-11 11:51:59 -08:00
Daniel Sandler
7d9ea8ccc8 Simplify panel animations with an eye to performance.
Things are faster, but we're not buttery-smooth yet.

Bug: 3322970
Change-Id: Ib63bdc2e807b039197a12d3ed3935653e6237ae0
2011-01-11 14:47:26 -05:00
Jim Miller
01f9944749 Fix 3305645: Hide recents if there are no recent apps.
Change-Id: I7a6131b22fd73cb8dae12b8bb80a5921414c1861
2011-01-10 21:02:25 -08:00
Jaikumar Ganesh
fde7f0ede4 Update status bar icons for BT reverse tethering.
This updates the icon when its connected and the IP address
has been obtained.
Change-Id: I1b0ad5572a1899b118d1b6b6f49e41b7242b689a
2011-01-10 14:26:22 -08:00
Adam Powell
947f782411 Fix bug 3245465 - Themed dialog icons
Added light/dark versions of holo dialog icons. Apps using
AlertDialogs that wish to use the system dialog icon should use
setIconAttribute(android.R.attr.alertDialogIcon) instead of
setIcon(android.R.drawable.ic_alert_dialog).

Change-Id: I40793a3164478be5ffa045ededfcab8210753a4b
2011-01-08 13:09:51 -08:00
Christopher Tate
36d4c3f02b Rename drag "thumbnail" to the drag "shadow"
No functional changes; just a rename of the relevant class/method/parameters.

Change-Id: I55d9ef7c2c17892b0bc99f5da622c281e006b53e
2011-01-07 16:30:44 -08:00
Joe Onorato
100748e328 Mark the veto button GONE for ongoing notifications so they can go into its space.
Change-Id: I0f03052c630c937f12d52d93dfa680ce8c6a27d0
2011-01-07 11:08:11 -08:00
Daniel Sandler
100744fa54 Merge "Fix stuck-open notification shade." into honeycomb 2011-01-07 09:20:09 -08:00
Daniel Sandler
6869c1876b Fix stuck-open notification shade.
Reversing the animations isn't working well, but re-creating
them in the correct direction is, so we'll use that for now.

Bug: 3326529
Change-Id: I40fdbd1d02bb8028d4d1f1bceb15f2c335366063
2011-01-07 11:38:12 -05:00
Joe Onorato
641bad449b This makes the events at the edge of the screen find the button.
Change-Id: Ib809d4c501a1863d4023a5cc52260077be295b10
2011-01-06 16:26:12 -08:00
satok
82652574b7 Merge "Check null pointer agressively." 2011-01-06 02:40:07 -08:00
satok
4fdf1de47f Check null pointer agressively.
Bug: 3250622

Change-Id: I25f367ad1bd6a741282603f2f587f7a1256ef460
2011-01-06 19:35:12 +09:00
Joe Onorato
933464dd02 Fix the 3G icon shows as G.
The connectivity services does not seem to return meaningful network types.  That's ok because we
get good ones from the telephony service anyway.

Also adds a ton of stuff for adb shell dumpsys activity service SystemUI TabletStatusBar

Bug: 3255953
Change-Id: If4bf413a628a8ffc338c83a9c33bfd367d6d2796
2011-01-05 15:53:36 -08:00
Joe Onorato
eeed994983 Don't re-show the ticker for a notification if they have set FLAG_ONLY_SHOW_ONCE.
Bug: 3306725
Change-Id: Ie733ad38d9e801f676966fa3ddee6847670c6deb
2011-01-04 18:12:33 -08:00
Joe Onorato
ec51a82bd6 Allow taps on the ticker to pass through to the notification target view
so the notification panel still opens.

Bug: 3313762
Change-Id: Ia4e869b859fabe7016283f36631891c179dc82bf
2011-01-04 18:12:32 -08:00
Joe Onorato
6c3e5601a7 The whole title area of the notification panel should toggle the settings view.
Bug: 3313452
Change-Id: I8240e76367a6608849bbeb69af6ca8f206475d8d
2011-01-04 18:12:32 -08:00
Jim Miller
25eef89082 Fix 3309250: Don't crash when thumbnail is null
This fixes a bug where Recents would crash when the
thumbnail for the given app isn't available.  The
defined behavior for this situation should be just
the app icon on top of the default glow background.

Change-Id: Ie5a3a7878381a6b8fc640319fccfc16387e3d4cc
2011-01-04 13:52:22 -08:00
Jim Miller
f9905b437a New thumbnail generation and centering in RecentApps
This centers the thumbnail in the given glow background and
reduces compositing by one window per recent item.

Change-Id: I228648022e12214fb3d8b66067e214cef5aaf8e9
2010-12-22 21:29:29 -08:00
Jim Miller
5e5b1b39eb Fix 3290446: Reduce number of recents to fit in a single binder
This fixes a bug where all recent apps disappear because the
binder transaction fails due to size constraints.

Change-Id: I173e552e820314b4c539aaf356cef4042a0822e9
2010-12-21 22:49:09 -08:00
satok
16331c8a1d Add a parameter to InputMethodManagerService.getEnabledSubtype for allowing to select subtypes implicitly if no subtype is enabled.
Bug: 3142286

Change-Id: I92d019d0648c552e6d7695c3530aa81ae054d702
2010-12-21 16:14:15 +09:00
satok
b70c82dc45 Hide IME Switch Button when a handset is locked.
Bug: 3247192

Change-Id: I61a327b480c5b3055a14219050cebb04cf0adf6e
2010-12-20 20:45:22 +09:00
satok
d57896a64c Use settings of the visibility of IME Switch button
Bug: 3141466

Change-Id: Ia5ef059af184d9c203a0065bf25b088e0529858e
2010-12-20 18:36:04 +09:00
Jim Miller
74fd1dd596 Fix 3295530: Fix crash in RecentApps when we have no recents
A change to the Animation framework now throws an exception for
negative durations, which was causing Recents to crash when
there are no recent activities.

Change-Id: I65b7d6b6d5ad4637ae93b44c147ff6193d8c03cc
2010-12-18 04:12:47 -08:00
Daniel Sandler
ef6e936017 Fix for the notification panel getting stuck open.
Bug: 3295437
Change-Id: I2205902790818048a637729249f3dfd844c101ea
2010-12-17 14:50:03 -05:00
Daniel Sandler
b8027d87d8 Improved ticker & bar animations.
The entire notification area fades out quickly before the
notification ticker appears, and fades back in when the
ticker is totally done.

This change has the side-effect of bringing back nice
animations for the notification icons when they appear by
themselves (at boot and when unlocking the device).

Bug: 3293680
Bug: 3018785
Change-Id: Id99cc20e6849f0f037fc9fba076243d362664478
2010-12-16 19:40:06 -05:00
Daniel Sandler
c51451a318 Improvements to ticker:
- Ticker view can be tapped immediately
  - Ticker views animate in/out smoothly

Bug: 3274655
Bug: 3293680
Change-Id: I504dae65d91cc26a81a2a18f7bc71d6b3271f06d
2010-12-16 19:40:06 -05:00
Daniel Sandler
7ef29b5a06 Update flyover if notification changes.
Bug: 3292466
Change-Id: I11407b7a0eedc3d8474d34e45e4b472a2dc61d27
2010-12-16 17:29:50 -05:00
Joe Onorato
244e415905 Fix the SettingsView so it shows again.
Change-Id: Ie041fd12412ee1de9d1f90604b777db2fd00f550
2010-12-16 13:29:38 -08:00
Daniel Sandler
6f6cf3c5e5 Reimplement StatusBarManager.disable(DISABLE_SYSTEM_INFO).
Bug: 3284968
Change-Id: I7171b7770c2972bb56672a771c7ed5ca10fb4dda
2010-12-16 12:54:03 -05:00
Daniel Sandler
0ad460b087 Look again; the system bar is now diamonds.
Lights Out 3.0 (bug 3241144)
  - new artwork
  - new transition animations
  - new interaction (tap anywhere to dismiss & interact)
  - much simpler overall design and implementation

Layout (bug 3242949)
  - fine-tuned spacing on navigation and notification icons
  - notification icon spacing compresses in portrait

Shirt Pocket (bug 3203179)
  - disabled for now

Bug: 3241144
Bug: 3242949
Bug: 3203179
Change-Id: I6e9b7f9ebe07317d07609f11d5f03f22269bc7bb
2010-12-15 20:53:32 -05:00
Jim Miller
d19bedee34 Fix 3253629: Tweaks to recent apps
This change reduces the overall timing of showing recents to make it
feel more snappy.

It also removes the first item from the list, which is assumed to be
the current app or the home screen, depending on which is currently
showing. This allows the use of muscle memory for switching between
two tasks quickly.

Change-Id: I04713c41ea235483ea4d3f712a84c56b0174394f
2010-12-15 14:08:51 -08:00
satok
07e7279cb4 Fix the bug that IME switch button is shown when there are two IME is installed but only one IME is enabled.
Bug: 3286682
Change-Id: I6a9c6972c136ca8df85ab2b305d08120c09a4543
2010-12-15 13:46:46 +09:00
Joe Onorato
4738da2e30 Merge "notification panel animations" 2010-12-14 01:22:23 -08:00
Joe Onorato
7c270fab75 notification panel animations
Change-Id: I3ca06a35be480df6e8741270c10eb1b23b1d4835
2010-12-14 01:20:56 -08:00
satok
7a49e60eb3 Merge "Hide ime switch icon when there are only one IME and no enabled subtypes" 2010-12-13 22:15:17 -08:00
satok
a84b8d94fb Hide ime switch icon when there are only one IME and no enabled subtypes
Change-Id: I4684d852cc61db125538e1255fd99fa55d60d593
2010-12-14 14:32:57 +09:00
Dianne Hackborn
d2835935d2 Fix issue #3258849: Grab thumbnail when exiting an app via back
Also issue #3281400: Rotating a retained instance fragment leaks the fragment manager

And turn off fragment debug logging.

Change-Id: Ibdd7db82bb35618021bcba421ba92ced7cd691c2
2010-12-13 20:41:17 -08:00
Jim Miller
169a211f6b Fix 3253629: Improve Recents panel animation performance.
This change improves animation by enabling hardware acceleration
and reducing the size of the blue glow.

Change-Id: Ie8b7668b9b1f1ae91211875c2fa11b305a317d64
2010-12-10 18:37:35 -08:00
Mike Lockwood
770126a678 Rename android.hardware.Usb to UsbManager and UsbObserver to UsbService
In preparation for an upcoming change that will make UsbService into a real system service

Change-Id: Id85d624cfc6b10b49a08105cfaaacc667a492c12
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-12-09 22:52:05 -08:00
Jim Miller
e5c16ab5a8 Fix 3253629: Initial pass at updating RecentsPanel UI
Change-Id: I578d0efd9f4b67675ff531494259f54182851e0e
2010-12-08 16:42:12 -08:00
Joe Onorato
ff3c470778 Merge "make the wifi button go where it's supposed to." 2010-12-08 15:51:33 -08:00
Joe Onorato
cbcce92295 Merge "Make the ToggleSlider in the status bar settings panel show the right track when it's disabled." 2010-12-08 15:51:27 -08:00
Joe Onorato
64eb5d2900 make the wifi button go where it's supposed to.
Change-Id: I415a5ad5e7524746d1e8d467f94058468bc719b7
2010-12-08 15:48:08 -08:00
Joe Onorato
4b0912d490 Make the ToggleSlider in the status bar settings panel show the right track when it's disabled.
Change-Id: Iead2a7f93dd312254d715f010ccca50cdcda5d00
2010-12-08 15:48:07 -08:00
Daniel Sandler
10163c689a Experimental: Tapping on the status bar sends a space key.
While any IME is showing, taps on the empty region in the
center of the status bar will inject a KEYCODE_SPACE (62)
KeyEvent. This gives a huge Fitts' Law boost to LatinIME's
spacebar, which is easy to miss when typing quickly.

This is sort of a hack; a better solution would be to
translate the tap vertically until it enters the IME's
window and then hand the motion event back to the IME
(thereby accommodating IMEs that have something other than a
spacebar in their bottom row).

Bug: 3114340
Change-Id: Iabbfb5ca0000101074932304bce44eb6f7dca85d
2010-12-08 11:51:05 -05:00
satok
9b40747aaa Move IME button to right side by new desing spec
Bug: 3212206

- And remove mic icon

Change-Id: I46481db9afe500b244da66e1615795bf55e9a734
2010-12-07 15:15:02 +09:00