Commit Graph

42 Commits

Author SHA1 Message Date
Jim Miller
a34279fb2a Fix 3383575: use styled attribs and update layout
This updates the layout to make more room for the button
text in SecuritySettings. The code now uses styled attributes
to make it easier to tweak in the future.

Change-Id: I5fbdf2f6ae4c4c1f9614ab97891f9f2fe6cda628
2011-01-25 12:29:35 -08:00
Jason parks
f1dbf55819 More UI tweaks.
* Grab a full wakelock while encrypting.
* Fix a bug with failed attempts.
* Add a custom theme to animate the screen to black.
* Fix the keyboard to be displayed properly in landscape and portrait.

Change-Id: Icc2d813ce1780588eb3b16f5204c3c60cae5236f
2011-01-25 08:38:17 -06:00
Jason parks
43775c7f9b Merge "More work on the CryptKeeper." into honeycomb 2011-01-20 15:58:02 -08:00
Daisuke Miyakawa
0692dffa8e Fix layout in DateTime picker
Bug: 3347865
Change-Id: I9c425186515df387ac7951ff85ccf3d4d6732d08
2011-01-18 21:01:38 -08:00
Daisuke Miyakawa
a30013fad4 UI fix for wifi setup in xl
- Show "connecting" and "connected" text
- Modify layout for "Add network"

Bug: 3347865
Change-Id: I9c9b33b9033e7fb4f885717f00507c1360400725
2011-01-18 20:29:47 -08:00
Daisuke Miyakawa
ee5576ce06 Polish layout and UI for wifi setup
Bug: 3347865
Change-Id: I529fc2f5e11388b34b66617aee64b7facd3708e0
2011-01-18 16:26:03 -08:00
Jason parks
ec5a45e79c More work on the CryptKeeper.
* There is now a 30 seconds delay after 10 failed password attempts.
* The device is factory reset after 30 failed password attempts.
* Implemented the progress UI for inplace encryption.

Change-Id: Ie830b03f9c84a117ee3048086275d6049907fa3c
2011-01-18 15:28:53 -06:00
Daisuke Miyakawa
14cbcb7fe8 Revise layout for Wifi Setup in XLarge screen
- revise xml for new layout
- introduce padding View objects for resizing screen when
  software keyboard is shown.
- We now don't show the detailed status of Wi-Fi module anymore
  in SetupWizard flow (like "disconnected", "connecting", etc.)
- remove Forget button and relevant code.

Bug: 3347865
Change-Id: Ieab3246f06ee73af59e247b3f9f31c7570efc71f
2011-01-17 13:34:21 -08:00
Daisuke Miyakawa
11eea9d0ee Use style for buttons in setup wizard flow
- Use style
- Use minWidth instead of layout_width

Bug: 3362316
Change-Id: I16b99b234a50784e0a9bac3d3141ac9fe618f214
2011-01-17 10:28:09 -08:00
Daisuke Miyakawa
ffe621f03f Revise layout for DateTime setup
Bug: 3347865
Change-Id: Ie80f2eb784ce70edc81fbab9541fe1601f7f0ee3
2011-01-16 11:49:47 -08:00
Jason parks
6f8fb43617 Add a setting to enable encryption.
This isn't final and it will wipe your device.

Change-Id: I7fecded92a745844435878d0409d620bfa571472
2011-01-13 17:39:20 -06:00
Jason parks
b734f6abc4 Merge "Move the CryptKeeper to Settings." into honeycomb 2011-01-13 07:42:16 -08:00
Daisuke Miyakawa
a33ba8eb45 Set appropriate margin to dividers in SetupWizard
Bug: 3346105
Change-Id: I4a8367d54d2c62257618ad9e8415bcd1c3419802
2011-01-12 15:25:20 -08:00
Jason parks
8fd5bc9e6f Move the CryptKeeper to Settings.
Change-Id: I59e46366e1911ae7fd37f07719f1e7ba0825733c
2011-01-12 16:04:51 -06:00
Daisuke Miyakawa
844f323ee5 Modify layout for wifi and datetime setup
Change-Id: I8410a98246d81606ab728cfe4e9c700dd5ef2c7e
2011-01-11 11:20:45 -08:00
Daisuke Miyakawa
c961f0ac0b Modify layout for Wi-Fi Setup
Bug: 3330109
Change-Id: I09a3965cb150d1004ef03d6bc3170ad79526c47f
2011-01-11 09:14:26 -08:00
Daisuke Miyakawa
8630cde72b Remove unnecessary codes around WifiSettings.
Bug: 3321110
Change-Id: Iaac35a507b8e46e2d4702f0e5cda7b515a57db67
2011-01-06 13:27:36 -08:00
Daisuke Miyakawa
0688f251af Refresh layouts for SetupWizard.
- DateTimeSettingsSetupWizardXL
- WifiSettingsForSetupWizardXL

Bug: 3308677, 3137755
Change-Id: Ifdf67aa7521de7ef0286fea2b15ce693fbf5d5ce
2010-12-28 12:06:08 -08:00
Jim Miller
9709625874 Fix 3148496: Update LockPatternTutorial to be one screen.
This combines the two activities ChooseLockPatternExample and
ChooseLockPatternTutorial into one activity and makes use of the
built-in LockPatternView animation to show an example view.

Change-Id: If3a4b236a15a6d99b1c0b5c11e5e923267fa30d3
2010-12-22 20:28:32 -08:00
Jim Miller
9757e30dfa Fix 3281395: Use breadcrumb area to display title for LockScreen
Change-Id: Icd631b4c70e7b9f6b9a8c24dd513aed259a22d6a
2010-12-21 18:35:23 -08:00
Jim Miller
e201a54c53 Merge "Fix 3148496: Update LockScreen layouts on large device" 2010-12-15 14:37:33 -08:00
Jim Miller
2e28acedc6 Fix 3148496: Update LockScreen layouts on large device
This updates the layouts to conform to the latest UX spec on
large devices and fixes a bug where the IME shown for PIN
selection was the QWERTY keyboard.

Change-Id: Ib9f0b1631f11c8eff6898bfff9447d3dad75cc42
2010-12-15 14:15:01 -08:00
Daisuke Miyakawa
da40cc28d9 Remove skip button from datetime settings
Also force landscape mode in XLarge screen.

Bug: 3285153
Change-Id: I9f4a0de6a36d0be2b5f80b734a4910f4bb154905
2010-12-15 11:56:35 -08:00
Jim Miller
17e9e19330 Fix 3148496: Initial pass at fragmentizing lockscreen settings.
This converts most of the existing activities to fragments and wraps
them in PreferenceActivities so they can be launched as before
(e.g. by a DevicePolicyManager)

Upload after sync/rebase.

Change-Id: I4f351b75d9fca0498bcb04b4e11ff3b70765a4ba
2010-12-08 16:45:52 -08:00
Freeman Ng
8b441e3252 remove all keepScreenOn flags from setup wizard flow
bug: 3253922

Change-Id: I71ef24dcb19437d0666ea3206f184e511b5f047e
2010-12-07 10:54:11 -08:00
Daisuke Miyakawa
2571f0dcb1 Refactor DateTimeSettingsSetup.
- Use Popup instead of bare fragment.
- Expose Adapters in ZonePicker.java so that it can be used
  outside the fragment.
- Fix layout

Bug: 3175603
Change-Id: I2726fde4fa1a9aea1ecb29b6aa2d23dbc54232b9
2010-11-16 09:44:47 -08:00
Daisuke Miyakawa
58b0291fe6 Refactor WiFi code around XL setup
Major:
- move SetupWizard-related codes to WifiSettingsForSetupWizardXL as
  much as possible
- stop using Preference for configurinig wifi network. We use
  WifiConfigUiForSetupWizardXL instead, which is base on a bare View.

Minor:
- change button handling code expecting better readability.
- hide Detail button.
- modify strings a bit.
- add logs

Bug: 3175016
Change-Id: I5b29917af73aac6a82e13ba846a9d5085f9bd523
2010-11-10 15:31:10 -08:00
Daisuke Miyakawa
8b3b876c09 Fix UI for WifiSettings for XL screen
Change-Id: I874e1e8d86e8b219414f6bf2ff945ea4f9ab7a6c
2010-11-04 12:44:27 -07:00
Daisuke Miyakawa
f3cd94652f Show "connecting" just after user's connect action
Bug: 3164013
Change-Id: Ide367d51bcd7fcd97403c92ee049a1bb2633e272
2010-11-03 20:12:00 -07:00
Daisuke Miyakawa
1dc3715e3a Reduce default settings in WifiSetup XL.
We don't want to show every configurations in default, while
we also don't want to complicate basic wifi logics. In order to
achive both goals, we first introduce tweaked xml file
(wifi_config_preference2.xml). It does contain all the
config components but almost all of them are in "gone" visibility.
Those components are still able to act as data storage, but never
be seen as actual UI components.

Change-Id: I4ad3c1b4cbbe77ca2b628b0be25e2b3eb9d645aa
2010-10-29 18:00:36 -07:00
Daisuke Miyakawa
150d4aaef1 Fix layout for WifiSettingsForXL
Change-Id: I99b503005d199084062b63a2de1e049926b212a9
2010-10-29 16:03:23 -07:00
Daisuke Miyakawa
c05efc1df7 UI refresh
Bug: 3110575
Change-Id: Ia6ffef6de8882920b89372052b5e29968bedfe5f
2010-10-19 10:12:50 -07:00
Daisuke Miyakawa
fef4125d4e Disable buttons during first scan.
Also remove status manager code, as they should not be here.

Bug: 3069020
Change-Id: I6fcf8470066f96b7f608ceb519b0783e44307846
2010-10-06 13:34:18 -07:00
Daisuke Miyakawa
ce0a7b2df0 Disable Auto-timezone in SetupWizard
Also remove status bar code, as we shouldn't touch it here.

Bug: 3008295
Change-Id: I1ae3f118eae2cacd135d3ec61f1c27993fe2e166
2010-10-01 09:14:24 -07:00
Freeman Ng
ab5c381222 keep screen on in setup wizard datetime and wifi settings activities
bug: 3052067

Change-Id: I5378a5f9afd90e6aaadb25e0284188c25dce6b2a
2010-09-30 17:32:01 -07:00
Daisuke Miyakawa
2aae224a94 Modify title color.
Change-Id: I3b0ab29ec33aadc5940ed2d8aa54dfffea2d55e6
2010-09-24 15:10:41 -07:00
Daisuke Miyakawa
86eaa09aa4 Modify implementation around SetupWizard XL
Bug: 3005211
Change-Id: Ia01957725956d570370aceeab01750d77069001a
2010-09-24 11:06:30 -07:00
Daisuke Miyakawa
6c8a61d5b7 Modify layout for DateTimeSettings for SetupWizard
Change-Id: I58abf66746f6bbebb19e9a67cd6d4678e3c9a424
2010-09-16 09:25:57 -07:00
Daisuke Miyakawa
71cc548f7e Implement DateTimeSetings for Setup Wizard XL.
Make the orientation "behind", as XL would require landscape.

TODO:
- Automatic Time Zone should be available.
- Layout is immature: need to have better theme and layout xml.

Change-Id: Iafe141223a227643ca774f4df5e5b7fde9520d31
2010-09-09 16:51:57 -07:00
Daisuke Miyakawa
5cd60eb8aa Add modifications which should have been in the change
I520d690d3301837d32f91dad54a973a379ce1989

Change-Id: Iecca6b4fef2ec42a62273035b096ccedcea94d78
2010-09-01 19:38:23 -07:00
Daisuke Miyakawa
d36699282c Add Wifi Setup screen for Setup Wizard with XL size screen.
* Add WifiSettingsForSetupWizardXL as a new Activity
The activity has WifiSettings fragment in it. It also contains
several buttons, texts around the fragment.

* Making configuration UI part of Preference list.
In Wifi Setup for Setup Wizard XL, WifiSettings fragment lets
a UI for configuring access points shown inside a
PregerenceCategory object, while it has been shown as Dialog.

To achieve this action, WifiDialog is decomposed into two parts:
- WifiConfigUiBase (Mainly UI part)
- WifiConfigController (Mainly Wifi controller part)

All codes for wifi configuration in WifiDialog is now in
WifiConfigController, which is reused from
WifiConfigPreference.

* Misc stuff
- Remove AccessPoint#compareTo(). Instead,
  AccessPoint.AccessPointComparater should be used when needed.

Change-Id: I520d690d3301837d32f91dad54a973a379ce1989
2010-09-01 16:17:51 -07:00
Amith Yamasani
d79934731c Refactor settings top level activities to use fragments.
Added a base class SettingsPreferenceFragment from which the settings activities should
be derived so that they can behave like fragments. It contains some commonly called
utility methods and dialog conversion to DialogFragment.

Some of the top-level activities can be launched directly without the left pane.
Settings.java acts as a proxy activity that contains just that settings fragment without
the left pane.

There are still a lot of second and third level activities that need to be fragmentized.
This is just the first pass to test the 2-pane layout.
2010-08-18 22:59:33 -07:00