History log of /packages/apps/Settings/src/com/android/settings/DateTimeSettingsSetupWizard.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
81faf895d7654322d46e1254bd9f75d915c78622 25-Jun-2013 Elliott Hughes <enh@google.com> Use SimpleDateFormat for time zone formatting.

There's no need to do time zone formatting manually.

Change-Id: Ibef222d11d04a327e9ef64ddc48322558028555d
/packages/apps/Settings/src/com/android/settings/DateTimeSettingsSetupWizard.java
b85d48fa43e5f7b98492c2ee313f51c072f5ddd8 25-Jun-2013 Elliott Hughes <enh@google.com> Clamp date setting for the SetupWizard as well as Settings.

We fixed this for Settings in 7ccfa0614caeba8eba5d3040a90541a24fa1e6c9,
but @sonymobile.com point out that it's still broken for SetupWizard.

Change-Id: I59348200105246f3ed7c0892e5f19b901d3e95ac
/packages/apps/Settings/src/com/android/settings/DateTimeSettingsSetupWizard.java
5f050104386b96d8c99eb3ff0f5088814709348b 01-Nov-2012 Amith Yamasani <yamasani@google.com> Use AlarmManager calls to set date/time, instead of SystemClock.setTime

This way secondary users' settings app can request the system server to
set the time. Alarm driver cannot be opened as a secondary user.

Bug: 7459635
Change-Id: I1ae1630dc448021d35280a297c5d9960f8e8fc2e
/packages/apps/Settings/src/com/android/settings/DateTimeSettingsSetupWizard.java
f1c085899dd3d9142392b9ab7841c0e9502526a3 12-Sep-2012 Christopher Tate <ctate@google.com> Correct settings namespace for auto time/tz

Bug 7148283

Change-Id: If585b16f5b6ea3046e64eb9c8355fa3c9fbeeada
/packages/apps/Settings/src/com/android/settings/DateTimeSettingsSetupWizard.java
5a825280895e82091e326f00174ca05cf7c07625 21-Nov-2011 Freeman Ng <tenorslowworm@google.com> fix datetime layout for phones and remove orientation locking

The first fixes the bug, the second was something I noticed
while debugging. We're no longer locking setup wizard orientation
for anything screen size, and so no activities it calls needs
to do that any more, either.

bug: 5642402
Change-Id: I5911223112a19841f6b4754a70148f28a753f736
/packages/apps/Settings/src/com/android/settings/DateTimeSettingsSetupWizard.java
86432504d356e3de7e63b48251f653245bcafd32 10-Jun-2011 Freeman Ng <tenorslowworm@google.com> am 945aac2e: am fb096074: am 148222fd: Merge "remove disabling of Back/Dismiss button for 10" mode" into honeycomb-mr2

* commit '945aac2e299e8a290c6ec3e5fbad84b7c28366ce':
remove disabling of Back/Dismiss button for 10" mode
03708e030a9c85e323ba2464e908e4c9c3fc3095 10-Jun-2011 Freeman Ng <tenorslowworm@google.com> remove disabling of Back/Dismiss button for 10" mode

bug: 4580049
Change-Id: Ifee699a3ff42282a30c3c7c61b6e7799ac902700
/packages/apps/Settings/src/com/android/settings/DateTimeSettingsSetupWizard.java
4412e88e83099323a49e63f9544abd3294091f03 08-Jun-2011 Freeman Ng <tenorslowworm@google.com> fix breakage caused by recent automerge

Change-Id: Ifb4c8428f5ebc728146da848cb0319626854c667
/packages/apps/Settings/src/com/android/settings/DateTimeSettingsSetupWizard.java
7f6f6e18c9f078323b15c8185a7e707194e7d155 03-Jun-2011 Freeman Ng <tenorslowworm@google.com> use prefs-style layout for setup wizard date/time settings on non-xlarge screens

Adjusted the screen size test to fall back to phone version of
DateTimeSettingsSetupWizard on large screens.

I made the following changes from how the phone version works:

1. Some layout changes. (Tablet look, bigger margins.)
2. Use zone picker to select time zone.
3. Added isFirstRun boolean extra to hide the pref fields
we don't need to see from setup wizard

Furthermore, I made the following fixes to the existing phone flow
(which had probably never yet been tried on a phone):

1. Added conditionals around access to some variables that only
exist in the xlarge layout.
2. Implemented PreferenceFragment.OnPreferenceStartFragmentCallback
in DateTimeSettingsSetupWizard in order to catch the user tapping
on the timezone preference and show the time zone picker popup.
(Note: for phones in ICS, we might want to launch the zone picker
preferences style, like it would have been had this been a
PreferenceActivity. Or maybe we should just create a separate
DateTimeSettingsSetupWizardPhone activity that subclasses
PreferencesActivity and doesn't need to play this trick.)

Change-Id: Ib5774a005c9f44d730d86c13746d91eb712141cc
/packages/apps/Settings/src/com/android/settings/DateTimeSettingsSetupWizard.java
f75c6e20adbf9fb2fa904149992476dc776e2800 01-Jun-2011 Freeman Ng <tenorslowworm@google.com> am f0fae7f2: am 6356b17a: am d671182d: Merge "make setup wizard\'s wifi and datetime settings look good for 7"" into honeycomb-mr2

* commit 'f0fae7f27295df2dff531a6293840479a64f7984':
make setup wizard's wifi and datetime settings look good for 7"
edb03bf537063f466a7fee48341b90ed8f9f90af 26-May-2011 Freeman Ng <tenorslowworm@google.com> make setup wizard's wifi and datetime settings look good for 7"

Note: this entailed locking datetime settings not into portrait
like everything else in the setup process, but landscape, because
the existing xlarge layout wasn't rearranging itself into a portrait
alignment very well. I can give it another try later if I can have
some help from UE.

Change-Id: Ia8ce8e8292ed768bd117beedf3d94a287e658f4b
/packages/apps/Settings/src/com/android/settings/DateTimeSettingsSetupWizard.java
d4fa73f87799fc96b89bec81ab7b322e58de3159 11-Mar-2011 Daisuke Miyakawa <dmiyakawa@google.com> Stop using Switch.

Bug: 4082929
Change-Id: Idcf8f891e9e3257ed7b0a2727fe11fe540c8a141
/packages/apps/Settings/src/com/android/settings/DateTimeSettingsSetupWizard.java
a85bfd2552ea4ee73e4a98e85194a3eb42284940 03-Mar-2011 Daisuke Miyakawa <dmiyakawa@google.com> fix datetime setup problem

- remove bat if clause for xl
- use HOUR_OF_DAY instead of HOUR

Bug: 3487947
Change-Id: I46a641c301bb3d375cd24692a12ebcc118ad348c
/packages/apps/Settings/src/com/android/settings/DateTimeSettingsSetupWizard.java
cc0dc00916c5194cdef4151767ec58c6ccad6578 10-Feb-2011 Daisuke Miyakawa <dmiyakawa@google.com> Remove portrait support in SetupWizard

We support sensorLandscape for a moment.

See also I45e30c652feab1d30c4f0379379f8ca4e455fa02

- Use sensorLandscape instead of default
- Modify paddings in default xmls to layout landscape stuffs
correctly

Change-Id: Ife03de69e4d1d2d898cd0e8de3cefd733aea8f19
/packages/apps/Settings/src/com/android/settings/DateTimeSettingsSetupWizard.java
f3bfc89ce56986ea61e773028398e3832bf5f22f 01-Feb-2011 Daisuke Miyakawa <dmiyakawa@google.com> Enable orientation in SetupWizard

Change-Id: I45e30c652feab1d30c4f0379379f8ca4e455fa02
/packages/apps/Settings/src/com/android/settings/DateTimeSettingsSetupWizard.java
62fb701ea9781f4e1c05af6d730e91bb2cdcdae0 31-Jan-2011 Daisuke Miyakawa <dmiyakawa@google.com> Disable back button on SetupWizard flow.

Bug: 3383738
Change-Id: Ie06d85ee22482f865a8173a45d0645699427729e
/packages/apps/Settings/src/com/android/settings/DateTimeSettingsSetupWizard.java
7893447987debb6bde72f4efb6b07f6e0d5b4f6f 27-Jan-2011 Daisuke Miyakawa <dmiyakawa@google.com> Enlarge texts and fit the other elements

Basically set text size to 18sp and change layouts
along with the new design.

- Add custom list item xml for Wi-Fi security field
rename existing "custom_list_item.xml" to appropriate
name so that we won't be confused with their naming.
- Use the custom xml just in SetupWizard.

Bug: 3364731
Change-Id: I014903277a03c359ea193dd0f0a37c84ade19fa1
/packages/apps/Settings/src/com/android/settings/DateTimeSettingsSetupWizard.java
ffe621f03f2ce14883ada77e4f4a76c529275495 16-Jan-2011 Daisuke Miyakawa <dmiyakawa@google.com> Revise layout for DateTime setup

Bug: 3347865
Change-Id: Ie80f2eb784ce70edc81fbab9541fe1601f7f0ee3
/packages/apps/Settings/src/com/android/settings/DateTimeSettingsSetupWizard.java
4af903742ba9e9df2880fb73cf6c638222e696ea 28-Dec-2010 Daisuke Miyakawa <dmiyakawa@google.com> Hide CalendarView in SetupWizard

Bug: 3271797
Change-Id: Ie8f63504a9360e19817040284a95dc7112f1c6c6
/packages/apps/Settings/src/com/android/settings/DateTimeSettingsSetupWizard.java
0688f251af533c09682c791ae20834ab7854d7d7 28-Dec-2010 Daisuke Miyakawa <dmiyakawa@google.com> Refresh layouts for SetupWizard.

- DateTimeSettingsSetupWizardXL
- WifiSettingsForSetupWizardXL

Bug: 3308677, 3137755
Change-Id: Ifdf67aa7521de7ef0286fea2b15ce693fbf5d5ce
/packages/apps/Settings/src/com/android/settings/DateTimeSettingsSetupWizard.java
da40cc28d9156d89392dedd83d827967ff6ffb7f 15-Dec-2010 Daisuke Miyakawa <dmiyakawa@google.com> Remove skip button from datetime settings

Also force landscape mode in XLarge screen.

Bug: 3285153
Change-Id: I9f4a0de6a36d0be2b5f80b734a4910f4bb154905
/packages/apps/Settings/src/com/android/settings/DateTimeSettingsSetupWizard.java
2571f0dcb1cc96b7220687aff6fcddc623b57c3c 30-Oct-2010 Daisuke Miyakawa <dmiyakawa@google.com> 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
/packages/apps/Settings/src/com/android/settings/DateTimeSettingsSetupWizard.java
ce0a7b2df0d6ce3d5a9bf063cde2e23b92ec7002 01-Oct-2010 Daisuke Miyakawa <dmiyakawa@google.com> Disable Auto-timezone in SetupWizard

Also remove status bar code, as we shouldn't touch it here.

Bug: 3008295
Change-Id: I1ae3f118eae2cacd135d3ec61f1c27993fe2e166
/packages/apps/Settings/src/com/android/settings/DateTimeSettingsSetupWizard.java
fe3b6bea01de328cdf7d6cf414607304fcdeaed6 27-Sep-2010 Daisuke Miyakawa <dmiyakawa@google.com> Disable Status bar in SetupWizard XL.

Bug: 3005211
Change-Id: I468b7d45aceda8fbdc72f723c95c3818c8da20f5
/packages/apps/Settings/src/com/android/settings/DateTimeSettingsSetupWizard.java
4ad2f9b87047237538fdfbe4730b378b7aa3bbcc 22-Sep-2010 Daisuke Miyakawa <dmiyakawa@google.com> Let SetupWizard XL use Auto_TIME_ZONE

Bug: 2989496
Change-Id: I37719a70783fc0505598ef9aaad1792d4a0ca1af
/packages/apps/Settings/src/com/android/settings/DateTimeSettingsSetupWizard.java
f2d5e9536ac741b384e154abb5bdb6d5d295a391 15-Sep-2010 Daisuke Miyakawa <dmiyakawa@google.com> Hide software keyboard when it becomes unnecessary

Bug: 3003749
Change-Id: If8dcf66cf088590bbe26e5ec71537b6b43f66226
/packages/apps/Settings/src/com/android/settings/DateTimeSettingsSetupWizard.java
e25b55c00b14c92f81b7ef28776fc6c4b7da3839 15-Sep-2010 Daisuke Miyakawa <dmiyakawa@google.com> Clear focus when auto mode is set.

Bug: 3003541
Change-Id: I2dbaac4ae55b4484387053dbad1311d562102304
/packages/apps/Settings/src/com/android/settings/DateTimeSettingsSetupWizard.java
71cc548f7ee51ff77a2c1dfb5da7a3f7b6c55fd5 09-Sep-2010 Daisuke Miyakawa <dmiyakawa@google.com> 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
/packages/apps/Settings/src/com/android/settings/DateTimeSettingsSetupWizard.java
0f4f2f3a81f2a6d7100b4cff0d8de062cb2bc8f6 04-Sep-2010 Daisuke Miyakawa <dmiyakawa@google.com> Fragmentize ZoneList, which is needed in DateTimeSettings refactoring.

- remove old ZonePicker and rename ZoneList to ZonePicker, as
the name is really confusing (see LocalePicker)
- Make the new ZonePicker fragment.
- remove dependency toward "ZoneList" class.
-- AndroidManifest.xml does not allow the other components to
access ZoneList directly, so it would be ok to remove without
using activity-alias.
-- Noticed there is a significant code duplication between
DateTimeSettings and DateTimeSettingsActivity. I'll work on it
later.
- add DateTimeSettingsSetupWizardXL class, which is not used yet,
but will be in the near future.
-- It is not recognized by AndroidManifest.xml

Change-Id: Id26152a3d560f9e0bd84afdf3e1c5101f0e166b4
/packages/apps/Settings/src/com/android/settings/DateTimeSettingsSetupWizard.java
d79934731c8d33f6fc63b21c120b9ffba5d06f54 18-Aug-2010 Amith Yamasani <yamasani@google.com> 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.
/packages/apps/Settings/src/com/android/settings/DateTimeSettingsSetupWizard.java
f7f47d001b2e7faf9aacfcfe546bd209482149b8 21-Jul-2010 Ben Clark <benbread@gmail.com> Removed unused import android.widget.LinearLayout

Change-Id: I904f5e3a2054f99bbc7c685e9d7a805cb621819a
/packages/apps/Settings/src/com/android/settings/DateTimeSettingsSetupWizard.java
afc4ab2ffbb8327ddce9907961295a32cbf49d0f 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/packages/apps/Settings/src/com/android/settings/DateTimeSettingsSetupWizard.java
4e14e5ccbf1ef27220419849133d482a546d5c04 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/packages/apps/Settings/src/com/android/settings/DateTimeSettingsSetupWizard.java
de2d9f5f109265873196f1615e1f3546b114aaa7 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/packages/apps/Settings/src/com/android/settings/DateTimeSettingsSetupWizard.java