7583 Commits

Author SHA1 Message Date
Baligh Uddin
13d111c925 Import translations. DO NOT MERGE
Change-Id: Ifefb5cc2d2e9545e3a3c89ec8b2284a04c1bff39
Auto-generated-cl: translation import
2013-10-21 08:39:26 -07:00
John Spurlock
ae3349e1c3 Move the IME navigation guard view up to decor.
Although the IME windows are now allowed to extend into
the nav bar, some IMEs were making assumptions about
computed insets based on the height of the content view.

So our navigation bar view (opaque view blocking the nav bar
area to avoid the island effect when transparent) needs to live
above the content view in the hierarchy, making the content view
the same height as it was before.

A surgical spot to put the guard view is up at the root view
(PhoneWindow.DecorView).  fitSystemWindows is always called since
this view is not recreated, and the layout is stable: waiting until
the IME is attached to the window is too late to add a guard view.

This is above the screen_* layouts, so will work without having to
touch all of them.  And it only affects windows of TYPE_INPUT_METHOD.

Bug:11237795
Change-Id: I6a93f30aec83f1cecfb854073046cbc87ab4aa66
2013-10-18 18:41:22 -04:00
Alan Viverette
280dc0ea2f Merge "Fix assorted FastScroller regressions" into klp-dev 2013-10-17 18:30:25 +00:00
John Spurlock
b346270dde Merge "Input method root view should have BOTTOM gravity." into klp-dev 2013-10-17 16:30:46 +00:00
Svetoslav
265a099c10 Merge "Add APIs for an advanced print options activity." into klp-dev 2013-10-16 23:35:35 +00:00
Svetoslav
1c43fceaaa Add APIs for an advanced print options activity.
This is the API part needed to implement support for custom print
options by a print service. Some printers have quite fancy options
and we want users to benefit using them.

bug:11241800

Change-Id: I3a9df771c0ded559b61c597c686795840d702b27
2013-10-16 15:47:44 -07:00
Baligh Uddin
58c564fce9 Import translations. DO NOT MERGE
Change-Id: I35eeda6573625b99277852996769544b8d2f0d37
Auto-generated-cl: translation import
2013-10-16 15:18:56 -07:00
John Spurlock
59b74dd9b9 Input method root view should have BOTTOM gravity.
The window had BOTTOM gravity, but the root view was using the
LinearLayout default (START | TOP), meaning an IME with a tall
inputArea could effectively push the navigation bar guard view
off screen.

This change simply uses BOTTOM instead of TOP for the root view.

Bug:11237795
Change-Id: I681c2b1eddac53589e0d168f09a183d67b1e5322
2013-10-16 16:28:50 -04:00
Alan Viverette
f9af7b250e Fix assorted FastScroller regressions
Fixes the following bugs:
- Don't show preview if text is empty, e.g. whitespace
- Avoid transitioning decor from DRAGGING to DRAGGING
- Restore original font size
- Restore thumb position adjustment for last row

BUG: 11207575
Change-Id: I72fc031d1fd22a41d81e7f52ca0856cf82d1be27
2013-10-15 17:09:35 -07:00
Baligh Uddin
1fcf34d820 Import translations. DO NOT MERGE
Change-Id: Idf3c804dad4f6a6acbfbf176b06ffacfe30345cf
Auto-generated-cl: translation import
2013-10-15 14:27:27 -07:00
John Spurlock
1ed453a26e Update resource name for renamed string.
Fix translations for recently renamed string.

Also remove old name from symbols.xml.  The resource is no
longer referenced in code, and will break builds without
translations.

Bug:11062108
Change-Id: I61977cb1ee5298947b3ee48b5fbd0354727253c0
2013-10-15 11:47:09 -04:00
Robert Greenwalt
4df84602fd Fix change to re-add carrier roaming details.
bug:11176211
Change-Id: Ibde8bd4b98df781a3c851d97a893da88c161d98b
2013-10-14 14:50:33 -07:00
Vineeta Srivastava
1680cfd803 Merge "Modify config.xml for tethering APN information." into klp-dev 2013-10-14 19:57:30 +00:00
kenneeth.ryu
16359089ea Modify config.xml for tethering APN information.
1. Remove Tethering profile for Spain Orange(214-03). Because Orange and Euskaltel use same MCC-MNC but have separate tethering APN.
- Spain Orange(214-03) use "internet" apn.
- Spain Euskaltel(214-03) use "internet.euskaltel.mobi" apn.

2. Remove Tethering profile for Spain Telefonica(214-07). Because Telefonica and Jazztel use same MCC-MNC but have separate tethering APN.
- Spain Telefonica (214-07) use "movistar.es" apn.
- Spain Jazztel (214-07) use "jazzinternet" apn.

3. Remove Tethering profile for France Orange(208-01). Because Orange and Carrefour/NRJ/Tele2/Virgin/use same MCC-MNC but have separate tethering APN.
- France Orange (208-01) use "orange.fr" apn.
- France Carrefour (208-01) use "ofnew.fr" apn.

4. Remove Tethering profile for UK T-Mobile(234-33). Because T-Mobile and Orange were merger so doesn't use "consumerbroadband" apn for tethering anymore.

5. Remove Tethering profile for HK 1O1O(454-00). Because 1O1O and NWMOBILE use same MCC-MNC but have separate tethering APN.
- HK 1O1O(454-00) use "lte.internet" apn.
- HK NWMOBILE(454-00) use "NWMOBILE" apn.

6. Remove Tethering profile for HK 3(454-03). Because 3 LTE and 3G have separate tethering apn.
- HK 3 LTE use "lte.three.com.hk" apn.
- HK 3 3G use "mobile.three.com.hk" apn.

7. Update Tethering profile for Orange(340-01). The format of tethering profile was wrong.

8. Add Tethering profile for Mexico Iusacell(334-050).

9. Add Tethering profile for Portugal Optimus(268-03).

Bug: 11176211

Change-Id: I453ff8b745ee4f483bfdd6c362bd67ce50ba8b7a

Conflicts:
	core/res/res/values-mcc234-mnc33/config.xml
2013-10-14 12:33:37 -07:00
Daniel Sandler
dd73ee4d0a Add a config resource to enable translucent bars globally.
Setting config_enableTranslucentDecor to false will not
prevent clients from adding FLAG_TRANSLUCENT_NAVIGATION or
STATUS to the window or using the TransluentDecor themes,
but it will prevent View.STATUS_BAR_TRANSLUCENT and
View.NAVIGATION_BAR_TRANSLUCENT from being propagated to the
SystemUI so these requests will not be honored.

Bug: 11182618
Change-Id: I8be6a3a565acf0987ff12f18f1c7e67c96d563c3
2013-10-14 14:52:44 -04:00
John Spurlock
f1a36648ca Implement new SYSTEM_UI_FLAG_IMMERSIVE_STICKY.
Migrate transient bar mode to IMMERSIVE_STICKY, and
introduce new behavior for IMMERSIVE: namely the
opaque bars are revealed by clearing the flags on swipe.

Remove low-profile optimization that confuses api demos
and other apps using low-profile as a signal.

TransientNavigationConfirmation renamed to
ImmersiveModeConfirmation, and its associated resources,
since the confirmation is now shown when the nav bar is
shown in either of the two immersive modes.

Remove unused Toast.makeBar and associated hidden framework
bits now that the confirmation uses a cling instead.

Bug:11062108
Change-Id: Iae49d31973940b9bee9f5b1827756db5eaa76aa3
2013-10-14 13:11:21 -04:00
Daniel Sandler
b83f5c6a42 Limit transient nav cling to 380dp on large/land devices.
Bug: 11077915
Change-Id: I141a5f3f565109ae5ac9221053e5a4db36633ca7
2013-10-14 09:26:43 -04:00
duho.ro
23ee84ee5e telephony: redirect call barring MMI code to other purpose
Some operators redirect call barring MMI codes to other purpose.
For instance, *333# should be processed as USSD code with Indonesia
Axis SIM and Indonesia Hutchison SIM.  This change is adding an array
for call barring MMI code to config.xml. So, we can redefine the array
for redirecting the call barring MMI codes.

Bug: 10101303

Change-Id: Ib21540a90c64e105cd4bc1864238329d594cd056

Conflicts:
	core/res/res/values/config.xml
	core/res/res/values/symbols.xml
2013-10-13 15:23:28 -07:00
Daniel Sandler
ce6d9066b6 Merge "New window cling for immersive mode." into klp-dev 2013-10-13 19:30:29 +00:00
Daniel Sandler
a953b6d968 New window cling for immersive mode.
Bug: 11077915
Change-Id: I6858259b31301b76dee81d3e6fbc534c1cdea661
2013-10-13 15:28:19 -04:00
Daniel Sandler
70966ec922 Easter egg cleanups.
Bug: 11171189
Bug: 10240151
Change-Id: Id5a8904bdf6c16302e09f2b48392f99c280a8179
2013-10-13 15:20:52 -04:00
Jeff Sharkey
12ad9ce23e Merge "Fix spelling." into klp-dev 2013-10-11 21:30:54 +00:00
Jeff Sharkey
ed74f8eda2 Fix spelling.
Change-Id: Ibcc5a5b976e185c4a6605b18b645b05a5c00f3ec
2013-10-11 14:25:48 -07:00
Torne (Richard Coles)
8483e4f007 Merge "Add internal resource symbol used by WebViewChromium." into klp-dev 2013-10-11 16:17:42 +00:00
Baligh Uddin
6db722776b Merge "Import translations. DO NOT MERGE" into klp-dev 2013-10-11 15:08:53 +00:00
Torne (Richard Coles)
740753c5b4 Add internal resource symbol used by WebViewChromium.
The Chromium WebView needs access to the default <video> tag poster
image, which is a framework resource. Add to the list of internal
resource symbols.

Bug: 11158656
Change-Id: I0c9ca7c25fe4c9a970b9e336ff72eda55637c201
2013-10-11 15:47:06 +01:00
Vineeta Srivastava
caaefaeab7 Merge "Setting MTU size for specific network" into klp-dev 2013-10-11 04:07:58 +00:00
Baligh Uddin
602ac9fdd0 Import translations. DO NOT MERGE
Change-Id: I4031eafe6c1d9a831c733711ddb2fcdc89400e8d
Auto-generated-cl: translation import
2013-10-10 18:25:40 -07:00
seonju.oh
c24aabd619 Setting MTU size for specific network
UK H3G - MTU:1440, HPLMN:234-20, 235-94

Bug:10195070
Change-Id: I42b4472ee1c64044872ea1fcaf268faf500dd879
2013-10-10 15:42:51 -07:00
David Christie
000bffabb8 Merge "New icons that eliminate location "crosshair" -b/8142654" into klp-dev 2013-10-10 22:29:45 +00:00
Eric Laurent
8a9b694d12 Merge "Revert "Headphones volume warning disabled by default"" into klp-dev 2013-10-10 18:43:11 +00:00
Eric Laurent
f971b1eec5 Revert "Headphones volume warning disabled by default"
This reverts commit 7cf06209dcdbadd41fabd7e4e7229832aa8ffff2.

Bug: 10297243.
Change-Id: I95b9b34bb38550af493f9a585b6940c4e18e39cc
2013-10-10 10:43:13 -07:00
John Spurlock
57beb3b5b3 IME navigation guard implemented as a View.
Instead of a custom onDraw in order to stay 100% in sync with abrupt
layout changes.

Also use the unrestricted layout bottom to avoid unnecessary
fitSystemWindows churn.

Bug:11162351
Change-Id: If9bb9a52d503e348d642bf1238f75c4a418ad805
2013-10-10 12:54:05 -04:00
Dianne Hackborn
ebc15ef80f Fix some doc issues.
Bug: 11079621
Bug: 10461610
Bug: 10461369
Bug: 10461417
Change-Id: I7fd966f3cda0660ba20fa15d7164dcac95efadd3
2013-10-09 17:36:57 -07:00
John Spurlock
c68d577f29 Allow IMEs to extend below nav bar, remove SystemUI veto.
Layout IMEs below the nav bar, offset by bottom padding and
associated guard rectangle with a black background to ensure
they do not appear as islands during transitions.

This makes it safe to remove the SystemUI forced opaque transition
when showing an IME, making the overall transition less expensive,
quicker and smoother overall.

Bug:11058746
Change-Id: I460912ee7c117480c57b947ed31eca330819f32c
2013-10-09 16:23:15 -04:00
David Christie
3334e9f522 New icons that eliminate location "crosshair"
-b/8142654

Change-Id: I8143aaa677ae0f95c896ac4c3cc66cab74e6e9d8
2013-10-08 14:22:06 -07:00
Adam Powell
0b6afb3356 Fix typo in drawable xml
Bug 11130411

Change-Id: I76e1f5f684b17a4fa9e3e7064f7ab66029171c70
2013-10-08 10:10:40 -07:00
Baligh Uddin
a54d00d3a8 Import translations. DO NOT MERGE
Change-Id: I526647a96dfaad1d0687f84efd9f5b0e7cfcb07b
Auto-generated-cl: translation import
2013-10-07 09:54:02 -07:00
John Spurlock
bd95740648 Transparent system ui flags -> Translucent WM flags.
Migrate View.SYSTEM_UI_FLAG_TRANSPARENT_(STATUS/NAVIGATION) to
WindowManager.LayoutParams.FLAG_TRANSLUCENT_(STATUS|NAVIGATION).

Add associated public attrs for both new window flags:
  windowTranslucentStatus
  windowTranslucentNavigation

Introduce convenient four new themes that set translucent decor:
  Theme.Holo.NoActionBar.TranslucentDecor
  Theme.Holo.Light.NoActionBar.TranslucentDecor
  Theme.DeviceDefault.NoActionBar.TranslucentDecor
  Theme.DeviceDefault.Light.NoActionBar.TranslucentDecor

Update PhoneWindowManager mechanism to plumb these values back to
SystemUI to drive bar mode state.

The new translucent flags come from the top fullscreen window, not
the focused window, so translucency does not change when opening
dialogs.

Imply some window-level system-ui visibility if one or both of these
new flags are present, specifically:
  FLAG_TRANSLUCENT_STATUS implies LAYOUT_STABLE, LAYOUT_FULLSCREEN
  FLAG_TRANSLUCENT_NAVIGATION implies LAYOUT STABLE, LAYOUT_HIDE_NAV

Rename all associated variable & resource names to use the term
translucent instead of transparent. (Retain the term semi-transparent
for the transient bar style).

Recents activity allowed to inherit translucent decor state via the
new PRIVATE_FLAG_INHERIT_TRANSLUCENT_DECOR.  Compensating changes
to use the full screen area more appropriately.

Update keyguard to use new WM flags.

Update docs and various api artifacts.

Sanity-check fixes:
 - Toasts and alerts given stable layout.
 - Suppress nu-gradient when in transient (hidey) mode.
 - New translucent flags use top-fullscreen window, dialogs don't clear.

Bug:10674960
Bug:11062108
Bug:10987178
Bug:10786445
Bug:10781433
Change-Id: If667a55bea4cf5e008549524b9899197fab55ebe
2013-10-06 16:03:53 -04:00
Baligh Uddin
af0c8bfbc5 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-10-04 18:48:44 +00:00
Baligh Uddin
6d4aa52733 Import translations. DO NOT MERGE
Change-Id: I927e06ba5d3e63e0744fac3faa82061dcf2c518d
Auto-generated-cl: translation import
2013-10-04 11:35:25 -07:00
Robert Greenwalt
cac2fd302e Merge "Revert "Use a build-specific wifi country code"" into klp-dev 2013-10-04 18:33:51 +00:00
Yuhao Zheng
f3ca947784 Merge "New Telephony APIs to return MMS UA and UAProfUrl" into klp-dev 2013-10-04 00:14:18 +00:00
Yuhao Zheng
d2078bc8c9 New Telephony APIs to return MMS UA and UAProfUrl
Added two public APIs under TelephonyManager to return MMS UserAgent and
UAProfUrl strings, for apps that handle SMS/MMS.

Bug: 11054501

Change-Id: Ifa1a64990fa2bf7d0e340d784a9672bf79525338
2013-10-03 15:06:21 -07:00
Robert Greenwalt
3ea0c99b67 Revert "Use a build-specific wifi country code"
This reverts commit c33cd23c17c24df33550a6662cedfe60b323604a.

bug:11064682
Change-Id: I35825a7005e75f3abf02f23f31dee1cb7b101c31
2013-10-03 21:15:54 +00:00
Alan Viverette
093318eeac Merge "Add importantForAccessibility mode to block entire hierarchy" into klp-dev 2013-10-03 20:33:56 +00:00
Dianne Hackborn
7192c6d7c6 Merge "KLP/KitKat is now API 19." into klp-dev 2013-10-03 19:19:10 +00:00
Dianne Hackborn
6bc3789b39 KLP/KitKat is now API 19.
Bug: 10348975

Change-Id: I19bf1a56064deda2e59085520960aac8ce3a825b
2013-10-03 12:17:31 -07:00
Baligh Uddin
65f57e5f49 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-10-03 03:41:26 +00:00
Alan Viverette
23be199171 Add importantForAccessibility mode to block entire hierarchy
Since older versions of the platform will crash if the mode is
set to 3, this CL adds an extra bit and uses 4 as the mode. This
will also cleanly default the mode to AUTO on unsupported
platforms.

BUG: 11031947
Change-Id: I48035abbf35523d65cead6f27be10f8087973ceb
2013-10-02 17:41:15 -07:00