990 Commits

Author SHA1 Message Date
Svetoslav Ganov
bfc3ce78f4 Updating the WebView accessibility key bindings after discussion with the access-eng team
Change-Id: I39a303864b94a8a11b6cded9b8bb23041ad91502
2011-01-13 01:20:39 -08:00
Jim Miller
66707eee84 Merge "Fix 3253629: Tweaks to recent apps" into honeycomb 2011-01-12 20:07:36 -08:00
Jim Miller
85babff4a3 Fix 3253629: Tweaks to recent apps
This updates the animation and fixes a few bugs with showing
and hiding recents as well as tweaks from UX in animation
timing, effects and the background protector.

Change-Id: I1c57e566408c7b732a0c902e27125951d0277322
2011-01-12 19:25:57 -08:00
Joe Onorato
c9596d6d8e Possibly fix bad notification updates.
I think what was happening is that it was using a different layout but we were trying to reapply the
RemoveViews because of some bad boolean logic.  This fixes that, and adds some better debugging that
might show us what else is happening.

Bug: 3298062
Change-Id: I0984f24cb2960166c79b9f2cc7c6a98bd75e17ba
2011-01-12 17:06:14 -08:00
Joe Onorato
d7cbe592dd Remove the volume slider in SystemUI.
Bug: 3344667
Change-Id: I8701fadac1736c73fbecb6f50d2ced7bba2c559c
2011-01-12 15:45:20 -08:00
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
Svetoslav Ganov
49c771c4da Merge "WebView accessibility key bindings do not allow mapping of all meta keys. Exception when turning off acessibility and having a WebView showing content." into honeycomb 2011-01-11 17:43:01 -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
Svetoslav Ganov
b01c3d2bf2 WebView accessibility key bindings do not allow mapping of all meta keys. Exception when turning off acessibility and having a WebView showing content.
bug:3341772

1.  Now a key in the binding is represented as a long with 32 MSB for modifiers and 32 LSB for keyCode.

bug: 3340732

1. Added check in the WebView key handling code to diable the accessibility injector/injected script in
   case accessibility is been disabled after loading the content.

Change-Id: Ic3746dff16ec77ba682a5b139cec0e6afd8fc839
2011-01-11 15:11:30 -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
Vasu Nori
01a479ccc4 bug:3339065 enable sqlite concurrency enhancing feature on settingsprovider
why is settingsprovider doing getReadbleDatabase() in onCreate() method?
it shoul do getWritableDatabse() so that sqlite's WAL
feature can be enabled on it.

Change-Id: I60e46ce240a6474bbb50ab26fb1d979242b0c9ad
2011-01-10 23:20:39 -08: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
Amith Yamasani
fe53015b0b Merge "Update default for auto-brightness." into honeycomb 2011-01-09 12:07:17 -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
Svetoslav Ganov
c93fb656dc bug:3325039 Making the cursor ring movement send accessibility events.
1. Added a mechanism to select the cursor ring content if accessibility is
   enabled - This is achieved by sending an event to the WebCore thread
   (if accessibility is enabled) to select the content of the cursor when
   the latter moves. Added code in WebViewCore to select the given node
   and notify the UI thread for the selection markup which is delivered
   of the accessibility injector which manages sending accessibility
   events. This is relevant for adding accessibility to WebView if
   JavaScript is not enabled. (If JS is enabled we inject a screenreader
   written in JS).

2. Fixed the event delegation to the accessibility injector since it
   should be able to consume key events of interest and perform some
   action which leads to sending appropriate accessibility event.
   In the previous implementation it was possible that the injector
   consumes the event but the latter was bubbled up.

3. Added function to scroll the selection into view while moving it
   around based on user commands.

Note: This is a part of two project commmit.

Change-Id: Ibb81d0468726efbe3bf6e3add1b19c69e3206638
2011-01-07 14:04:22 -08:00
Eric Fischer
691bc9fec0 Merge "Import some unabbreviated translations for large screens." into honeycomb 2011-01-07 13:00:17 -08:00
Amith Yamasani
f50c5113d0 Update default for auto-brightness.
Bug: 3297046
Change-Id: I92e34a85332988bb3faa1e1997ccc85abf4b5dec
2011-01-07 11:32:30 -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
Eric Fischer
483f2c2772 Merge "Mark the status bar configuration string untranslatable." into honeycomb 2011-01-07 10:41:50 -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
Daniel Sandler
b3b98d9b70 Merge "Remove obsolete strings (rather than fix l10n guidelines)." into honeycomb 2011-01-07 06:34:55 -08:00
Justin Ho
646897cb07 Merge "Updated flightmode stat_sys icon" into honeycomb 2011-01-06 18:34:34 -08:00
Justin Ho
a5742aeb81 Updated flightmode stat_sys icon
Change-Id: Ic87be7c565fe374617bb51cbac912151288a1728
2011-01-06 18:32:24 -08:00
Eric Fischer
77813aa918 Mark the status bar configuration string untranslatable.
Change-Id: I77dd3b7cfca6601064329382c9ef88924af17506
2011-01-06 18:07:43 -08:00
Eric Fischer
ab1d9f33ba Import some unabbreviated translations for large screens.
Change-Id: I41c5b010bfa14d84f8802b415e6bb465663c722c
2011-01-06 18:02:15 -08: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
Daniel Sandler
8896079dac Remove obsolete strings (rather than fix l10n guidelines).
Bug: 3197000
Change-Id: I8e501922d0a5d80a970281446ddeeab43ed69ea3
2011-01-06 16:06:30 -05: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