Commit Graph

493 Commits

Author SHA1 Message Date
Svetoslav Ganov
fd070b4b4c Merge "Added contentDescription to IME settings image button." 2011-07-28 16:30:21 -07:00
Alan Viverette
f97840fea6 Added contentDescription to IME settings image button.
Bug: 5092506
Change-Id: Ibd27e4b0d798dd21df0e6eb69babc0df2292bf5f
2011-07-28 16:11:37 -07:00
Christopher Tate
4f33878f20 Add backup password setting UI
Bug 4901637

Change-Id: I515f1475d3675285a830b4b5ddd1f011f1b56e3a
2011-07-28 14:22:29 -07:00
Martijn Coenen
4b9a41c03d Merge "Add on/off actionbar switch for NFC Tap To Share." 2011-07-28 06:48:55 -07:00
Jeff Sharkey
18d2b15b80 Merge "Data usage fit and finish." 2011-07-27 22:08:05 -07:00
Jeff Sharkey
d360e5efaa Data usage fit and finish.
Show time range and data summary based on current sweep selection for
both network and app details.  Fix animations by opting-out of parent
hierarchy animation, since it fights with ListView.

Switch to using NPMS "restrict background" instead of overloading
setBackgroundDataSetting(), and hide app background checkbox when
global background is restricted.

Limit sweeps to valid historical data, and activate sweeps on touch
instead of requiring separate tap.  Fix z-order and avoid animating
sweeps.  Align all elements along vertical edge, and fix item layout
to handle long app title.

Bug: 4979025, 5058107, 5038590, 5079887, 5058108, 5058026, 5037381
Change-Id: Ib45b61ff2a62303f47aa3f47f88d2e688fe4d076
2011-07-27 21:11:39 -07:00
Chia-chi Yeh
d68dbe29bb VpnSettings: make more fields available as advanced options.
Now users can manually override DNS search domains, DNS servers,
and forwarding routes for each VPN network.

Change-Id: I10b8e383ac19fd19d23938dff78201a71724d58f
2011-07-27 17:58:26 -07:00
Martijn Coenen
bb4bdc29d6 Add on/off actionbar switch for NFC Tap To Share.
Change-Id: I009a31d8862a23e15d89fe9813eca02e06469531
2011-07-27 17:31:41 -05:00
jhtop.kim
a1b78408a0 Bluetooth : update bt scanning Icon layout
- previously, layout_width was fixed as 600. it makes scanning icon in device picker disapper.

Change-Id: I6d4c559eb7c2823da65ee047662131ee47ea4866

Signed-off-by: jhtop.kim <jhtop.kim@samsung.com>
2011-07-26 15:59:24 -07:00
Costin Manolache
672b3c6576 Revamp of the accessibility settings.
1. Reimplemented accessibility settings accrding to UX design.

NOTE: The strings are not final, rather reasonable placeholders
   to avoid blocking on them. Will submit another CL with string
   updates and any necessary polishes.

bug:5065409

Change-Id: I3ba229a624298dbf238bc8562b42616b386f8c34
2011-07-25 12:17:01 -07:00
repo sync
b98463f8b0 Updated: Wi-Fi p2p initial UI implementation
Change-Id: If60f42f76fa07a868d2e11b012b4697252c69f5f
2011-07-24 11:16:50 -07:00
Martijn Coenen
ba53440801 Added setting for zero-click sharing over NFC.
Change-Id: I3848c4815d65d3a8b9b5e579c6a353dde6901ee4
2011-07-21 11:39:41 +02:00
Jeff Sharkey
2412b0f248 Data usage app bars, draw estimated cycle usage.
Show application list with normalized percentage data usage as
horizontal bar chart.  Draw estimated usage for remainder of cycle
to reinforce log scale, and break out received/sent when showing app
details.

Bug: 5038591, 4948713, 4818025
Change-Id: Ib71e73d4f692adc7fe8ae87edd0cec2a8f3976d3
2011-07-17 20:31:54 -07:00
Jake Hamby
ca9812a852 Upgrade Bluetooth pairing dialogs for ICS.
* Change Bluetooth pairing dialogs to match ICS wireframes.
* Default to numeric soft keyboard for PIN entry, and add checkbox
  to allow user to switch to alphanumeric keyboard if necessary.
* Move all Bluetooth advanced settings into action bar menu.
* Toggle visibility by touching "My device" entry in devices list.

Change-Id: Ic2377eb4364f41d215181cb1e3933997c9db9106
2011-07-15 15:39:53 -07:00
Alan Viverette
0a08e1fcbd Polishing accessibility tutorial UI.
Change-Id: I059f00e94cdc906935b2d42a505f31512dd99668
2011-07-15 10:45:16 -07:00
Alan Viverette
d21bfa1524 Added touch exploration tutorial to Accessibility settings.
Change-Id: Ic11f7c41e40de2b32f5815dbc3396a308c451c5b
2011-07-12 17:34:22 -07:00
Jeff Sharkey
9f81ee87ef Merge "Draw vertical data usage sweep labels." 2011-07-09 14:24:00 -07:00
Jeff Sharkey
ec3be8a4a5 Draw vertical data usage sweep labels.
Using template string, ask axis to build label for sweeps.  Also
clean up margins exposed to parent view, since we offset when label
is larger than sweep drawable.

Bug: 4598460
Change-Id: If71bc8ec8c952023325c80b9bc00b63c23609c7a
2011-07-09 01:02:56 -07:00
Gilles Debunne
606d878852 Merge "Changed text and appearance when Wifi/Bluetooth is off" 2011-07-07 16:04:53 -07:00
Gilles Debunne
18e9992a5e Changed text and appearance when Wifi/Bluetooth is off
A TextView is used as an empty view, centered on screen with the message.

Change-Id: I33825775d6b2ed212e5839cfac84d055b9336667
2011-07-07 16:04:00 -07:00
Chia-chi Yeh
78c603747e Merge "VpnSettings: pass certificates to racoon directly." 2011-07-07 14:29:12 -07:00
Chia-chi Yeh
413b171159 VpnSettings: pass certificates to racoon directly.
Also fix some style issues.

Change-Id: I7ca46d0cc3038f21ef5904d4515e90907a21d613
2011-07-07 14:23:51 -07:00
Matthew Xie
722934dbbc Merge "Show user dialog for BT connection and phonebook access" 2011-07-07 12:27:41 -07:00
Brian Carlstrom
729c6d99e2 Convert CA loading from spinning wheel to progress bar
Change-Id: I3d9d596cbdf3ac4751b7b2e297faa0f667d2de02
2011-07-06 13:15:03 -07:00
Brian Carlstrom
10cc989346 Improved presentation of CA list
Change-Id: Ibc6dd9d553c3f7f53453fb43e9842afe789d8b50
2011-07-06 10:43:07 -07:00
Chia-chi Yeh
7606a2f4f3 VpnSettings: switch to the new user interface.
Change-Id: I7158cd8f146677b2823cfa936792fd232a37ae28
2011-07-02 17:45:23 -07:00
Chia-chi Yeh
50e53742f1 Merge "VpnSettings: rename some fields." 2011-06-30 23:36:52 -07:00
Chia-chi Yeh
2fa9eade41 VpnSettings: rename some fields.
Change-Id: I999b773192d167f21c4a684c1864c37b9a433390
2011-06-30 23:34:53 -07:00
Jim Miller
c0f447fbc5 Merge "Fix 4686480: Update ChooseLockPatternTutorial" 2011-06-30 19:25:16 -07:00
Jim Miller
c56293dae1 Fix 4686480: Update ChooseLockPatternTutorial
- Shorten description string to fit on one page
- Use new scalable LockPatternView to show example pattern.

Change-Id: I1204b6de9da05d9d3f4e503bec2fc4fb3034a4b3
2011-06-30 18:10:17 -07:00
Brian Carlstrom
91615cfa9e Fix TrustedCredentialsSettings for small screens
Change-Id: I01149a88b044d0f95db01039aabba62666e8f397
2011-06-30 17:57:42 -07:00
satok
3fa13775e8 Implement new UI for IME settings
Bug: 4645160

Change-Id: If9046e7e96732f6ee4c0594cc66622b6462bdec9
2011-06-30 20:13:29 +09:00
Matthew Xie
dbed12020c Show user dialog for BT connection and phonebook access
Show user dialog for incoming BT connection requests from unknown
devices. Move phone book access permission dialog from bluetooth to settings.
The permision dialog pops up to the screen properly instead of
always as notification. AT+CPBR will also use the permission dialog
to ask for user permission.

bug 4489572

Change-Id: Ic1e74b2a9416a462cac4f519240a313691da90c4
2011-06-29 23:33:26 -07:00
Dianne Hackborn
bd9ddab4f4 Fix up storage UI for old USB storage.
- In the storage overview, if storage is not emulated then we have a
new first section showing internal storage.
- In manage applications, we know show storage use on the SD card
separately from internal storage use.

Change-Id: I7eb993f59fdb5de5f5dcfe4a3bc2b95ae30d754a
2011-06-29 15:41:28 -07:00
Jim Miller
212fc5650a Fix 4686480: Cleanup LockScreen settings
This fix updates the style for buttons to better conform to the screen
by using weightSums.

It also makes layouts much more flexible across platforms by making
better use of the square aspect feature of LockPatternView.

Change-Id: I63677790bf0ac52707c8c356540ecd5dc50ca33b
2011-06-28 12:56:39 -07:00
Brian Carlstrom
f6f4e303ab CA certificate settings fragment
Change-Id: I8d4b595d6cc8d20be9bea655c7674c86a9183818
2011-06-27 15:16:42 -07:00
Chia-chi Yeh
fa001e6868 Merge "Settings: add a new layout for VpnDialog." 2011-06-26 19:40:12 -07:00
Chia-chi Yeh
00527d8c11 Settings: add a new layout for VpnDialog.
Change-Id: Ib9d00dc5f56933db60aa08bce489343b00281e28
2011-06-26 19:39:18 -07:00
Jeff Sharkey
b9dd8e10ee Merge "Fix animation bugs, stop disabled sweep touches." 2011-06-24 23:13:13 -07:00
Jeff Sharkey
2af35fb44d Fix animation bugs, stop disabled sweep touches.
Change sweep drawables to crossfade correctly between states, and
work around 4946591 by nesting container one level deeper.  Also wait
until first layout pass is finished before applying LayoutTransition.

Prevent touches from reaching sweeps when chart is disabled.  Also
bring back log scale for data.

Change-Id: I2194714ab075fd32525681119f30427c1b96fc50
2011-06-24 23:11:51 -07:00
David Brown
8373b45169 Add "emergency call" button to CryptKeeper
This allows you to make an emergency call without needing to decrypt
your device first.

The exact appearance of the button, and the two possible icons shown to
the left of the text, are taken directly from the corresponding
framework resources (see keyguard_screen_*.xml, ic_emergency.png, and
stat_sys_phone_call.png.)

Also, the code in CryptKeeper.java for updating the state of, and
handling clicks from, the "Emergency call" button is mostly duplicated
from the corresponding code in LockPatternUtils and
LockPatternKeyguardView under frameworks/base.

Bug: 4494186
Change-Id: I36a713fdbc3281a7ba46762d47d5b61fb3cd194d
2011-06-24 16:18:30 -07:00
Jeff Sharkey
f54f435f1f More data usage chart iteration, app details.
Moved app details back into single Fragment to support animations and
template tabs.  Show the network in background behind app details
chart series to match designs.

Clamping sweeps at axis boundaries.

Bug: 4813014, 4598460, 4818029
Change-Id: I72c0b21ee1d595e4da31d293ae0dab9e801041f3
2011-06-23 22:30:05 -07:00
Jeff Sharkey
52c3f4461b Iterate on data usage chart UI.
Switched to inflating chart views from XML, using attributes for
configuration.  Start using drawable assets for chart components
instead of manually painting.  Include hand-cut assets, and animate
between states when touched to invoke.

Clamp sweeps to valid chart ranges and prepare for sweep labels.

Bug: 4768483, 4598460
Change-Id: Ic660c35bec826eb5e3f6a1dde3cc04d8c437ef2b
2011-06-23 00:39:47 -07:00
Gilles Debunne
e78c187905 Settings refactoring
Wifi and bluetooth pane refactored, main toggles moved to left pane.

Change-Id: I42ea4cf3bdf24158f3c67e0dea311258206cd78a
2011-06-21 11:05:29 -07:00
Jeff Sharkey
29d56b303f Detect radios in data usage, control them.
Teach data usage to inspect hardware radios to determine which tabs
and options to display.  Control "Mobile data enabled" state through
ConnectivityManager.  Persist "Show Wi-Fi" state.

Bug: 4599714, 4645276, 4620024, 4599271, 4596812
Change-Id: I4479593d74a8ba744a056767422f1e03182a7a94
2011-06-20 17:23:43 -07:00
Jeff Sharkey
4c72ae5e3d Cycle day editor and other confirmation dialogs.
Create dialog to edit "cycle day" when data usage resets.  Also added
dialogs to confirm enabling limit and restricting an application.

Change-Id: I1e08b17fabd1fcfc2f260807a61435d0ff1a8627
2011-06-14 16:32:06 -07:00
Jeff Sharkey
94a9095eac Read network policy earlier, fix ugly scrollbar.
Read policy before creating options menu, so we correctly populate
checkboxes.  Also clean up Preference views so we don't crash when
returning from app details.

Change-Id: I52c38a3016ea669e27b325bfb6ae1620d2a5ca53
2011-06-13 22:31:09 -07:00
Jason parks
00046d6e17 Get encryption working for phones.
I've removed the "special" keyboard from the phone
layouts for now.

Change-Id: I4b18279dafb18ba7cebacfad1b7167e34a7203b4
2011-06-13 17:39:25 -05:00
Jeff Sharkey
4dfa66001d First pass at detailed app data usage, policy.
Fragment to show application data usage details, including chart with
inspection ranges.  Button that invokes ACTION_MANAGE_NETWORK_USAGE
towards application, and UID-specific policy controls.  Fragment is
launched when clicking list items from data usage summary page.

Change-Id: Ie1564aa8af98e1a7083817a997059a5a7b1caa50
2011-06-13 00:42:22 -07:00
Jeff Sharkey
8a50364a71 Iterating on data usage; tabs, scrolling, cycles.
Added ActionBar items to control complexity of data surfaced; checked
state causes tabs to be shown/hidden for "Mobile", "2G-3G", "4G", and
"Wi-Fi" network templates.  Loading historical stats and policy from
system services based on selected tab.

Change entire body under tabs to scroll, treating network options and
chart as ListView headers.  Teach chart sweep to disable intercept to
play with ListView, and draw sweep disabled as dashed line.  Hijacking
Preference views for toggles to offer consistency.  No policy updates
are persisted yet.

Based on available historical network stats and policy cycle reset day,
build list of user-selectable cycles.  Wired up chart to display cycle
data and reset inspection region to last week of available data.

Change-Id: Ia561578276fa23908b745fbc06a6ef828d9ccc2e
2011-06-10 16:17:21 -07:00