958 Commits

Author SHA1 Message Date
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
7998559032 Merge "Fix the 3G icon shows as G." 2011-01-05 20:53:05 -08:00
Jean-Michel Trivi
9d2d26af2e Add support in TTS for volume and panning control of the synth output
Add two new parameters that are used when synthesizing text and
 playing it back directly to control the volume and left-right
 panning of the output.
Panning is applied using a balance law, which is not energy-preserving
 but which doesn't lower the volume when not panning / panning to
 center (legacy behavior).

Reduced amount of logs, and removed spoken text.

In TextToSpeech.java: added convenience method to handle the setting
 of the cached synthesis parameters.

Change-Id: I235d3d3193283ccc1891e2065d43787e3f63304d
2011-01-05 16:24:30 -08: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
Eric Fischer
c16aea5ee8 Import revised translations.
Change-Id: Ia6a9c2838156dd6f83aea9c4809c57f663c710af
2010-12-23 14:12:01 -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
Daniel Sandler
3ffd5364bf Merge "Remove unused assets in SystemUI." 2010-12-15 14:54:52 -08: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
6866d6912b Merge "Fix the bug that IME switch button is shown when there are two IME is installed but only one IME is enabled." 2010-12-14 21:01:05 -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
Eric Fischer
5814d6963d Merge "Import revised translations." 2010-12-14 17:35:41 -08:00
Daniel Sandler
261834eea7 Remove unused assets in SystemUI.
Change-Id: I8c13566cd58135cf29a3dc7c8e72438269eb5862
2010-12-14 18:31:04 -05:00
Eric Fischer
7b3bfca259 Import revised translations.
Change-Id: Iff90bc663027dc8e7189d5dc229f5f9ddee31f12
2010-12-14 13:52:32 -08:00
Jeff Brown
cb171fabcd Merge "Update shortcuts." 2010-12-14 12:12:07 -08: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
Jeff Brown
caab4d0a50 Update shortcuts.
Also modified the shortcut key handling so that it drops chorded
Search+X keys when even if no shortcut was found.  Without this
change, pressing an unhandled shortcut causes the Search widget to
pop up and the character to be typed.

Bug: 3022227
Change-Id: Ic0921428bd1270604ca28caf1f8493727127f4ed
2010-12-13 23:27:17 -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
Eric Fischer
f1cbffa794 Merge "Import revised translations." 2010-12-10 10:55:54 -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
Eric Fischer
a7a44f1894 Import revised translations.
Change-Id: I207197a388a65827b1c336cde6c5aa27c126e25c
2010-12-09 17:04:40 -08:00
satok
3616fb6ddc Change the initial visibility of IME switch button
Change-Id: I407d49997355a286a13c94a2d6b48a6dbcdaa2d1
2010-12-10 01:09:22 +09: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
Kenny Root
34e48955a5 DefaultContainerService's JNI library is required
Change from LOCAL_JNI_SHARED_LIBRARIES to LOCAL_REQUIRED_MODULES to make
sure the JNI library is built and included when DefaultContainerService
is built.

Change-Id: I322c72415237c2b70bff345d50e2a9e4f2e6d988
2010-12-07 11:56:24 -08:00