summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/DateTimeSettingsSetupWizard.java
Commit message (Collapse)AuthorAgeFilesLines
* Settings: Remove all unused imports.John Spurlock2015-03-181-6/+0
| | | | Change-Id: Iebfa52cb849d69974c94902b0b020893cf5618a3
* Use SimpleDateFormat for time zone formatting.Elliott Hughes2013-06-251-2/+0
| | | | | | There's no need to do time zone formatting manually. Change-Id: Ibef222d11d04a327e9ef64ddc48322558028555d
* Clamp date setting for the SetupWizard as well as Settings.Elliott Hughes2013-06-241-0/+1
| | | | | | | We fixed this for Settings in 7ccfa0614caeba8eba5d3040a90541a24fa1e6c9, but @sonymobile.com point out that it's still broken for SetupWizard. Change-Id: I59348200105246f3ed7c0892e5f19b901d3e95ac
* Use AlarmManager calls to set date/time, instead of SystemClock.setTimeAmith Yamasani2012-11-151-2/+2
| | | | | | | | 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
* Correct settings namespace for auto time/tzChristopher Tate2012-09-121-8/+8
| | | | | | Bug 7148283 Change-Id: If585b16f5b6ea3046e64eb9c8355fa3c9fbeeada
* fix datetime layout for phones and remove orientation lockingFreeman Ng2011-11-211-2/+0
| | | | | | | | | | 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
* am 945aac2e: am fb096074: am 148222fd: Merge "remove disabling of ↵Freeman Ng2011-06-101-2/+9
|\ | | | | | | | | | | | | Back/Dismiss button for 10" mode" into honeycomb-mr2 * commit '945aac2e299e8a290c6ec3e5fbad84b7c28366ce': remove disabling of Back/Dismiss button for 10" mode
| * remove disabling of Back/Dismiss button for 10" modeFreeman Ng2011-06-091-2/+9
| | | | | | | | | | bug: 4580049 Change-Id: Ifee699a3ff42282a30c3c7c61b6e7799ac902700
| * use prefs-style layout for setup wizard date/time settings on non-xlarge screensFreeman Ng2011-06-061-36/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | fix breakage caused by recent automergeFreeman Ng2011-06-081-39/+85
| | | | | | | | Change-Id: Ifb4c8428f5ebc728146da848cb0319626854c667
* | am f0fae7f2: am 6356b17a: am d671182d: Merge "make setup wizard\'s wifi and ↵Freeman Ng2011-06-011-1/+1
|\ \ | |/ | | | | | | | | | | datetime settings look good for 7"" into honeycomb-mr2 * commit 'f0fae7f27295df2dff531a6293840479a64f7984': make setup wizard's wifi and datetime settings look good for 7"
| * make setup wizard's wifi and datetime settings look good for 7"Freeman Ng2011-05-251-1/+1
| | | | | | | | | | | | | | | | | | | | 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
* | Stop using Switch.Daisuke Miyakawa2011-03-111-3/+4
|/ | | | | Bug: 4082929 Change-Id: Idcf8f891e9e3257ed7b0a2727fe11fe540c8a141
* fix datetime setup problemDaisuke Miyakawa2011-03-021-14/+46
| | | | | | | | - remove bat if clause for xl - use HOUR_OF_DAY instead of HOUR Bug: 3487947 Change-Id: I46a641c301bb3d375cd24692a12ebcc118ad348c
* Remove portrait support in SetupWizardDaisuke Miyakawa2011-02-101-0/+2
| | | | | | | | | | | | 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
* Enable orientation in SetupWizardDaisuke Miyakawa2011-02-041-2/+0
| | | | Change-Id: I45e30c652feab1d30c4f0379379f8ca4e455fa02
* Disable back button on SetupWizard flow.Daisuke Miyakawa2011-01-311-0/+3
| | | | | Bug: 3383738 Change-Id: Ie06d85ee22482f865a8173a45d0645699427729e
* Enlarge texts and fit the other elementsDaisuke Miyakawa2011-01-281-1/+1
| | | | | | | | | | | | | 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
* Revise layout for DateTime setupDaisuke Miyakawa2011-01-161-2/+5
| | | | | Bug: 3347865 Change-Id: Ie80f2eb784ce70edc81fbab9541fe1601f7f0ee3
* Hide CalendarView in SetupWizardDaisuke Miyakawa2010-12-281-0/+1
| | | | | Bug: 3271797 Change-Id: Ie8f63504a9360e19817040284a95dc7112f1c6c6
* Refresh layouts for SetupWizard.Daisuke Miyakawa2010-12-281-2/+3
| | | | | | | | - DateTimeSettingsSetupWizardXL - WifiSettingsForSetupWizardXL Bug: 3308677, 3137755 Change-Id: Ifdf67aa7521de7ef0286fea2b15ce693fbf5d5ce
* Remove skip button from datetime settingsDaisuke Miyakawa2010-12-151-0/+3
| | | | | | | Also force landscape mode in XLarge screen. Bug: 3285153 Change-Id: I9f4a0de6a36d0be2b5f80b734a4910f4bb154905
* Refactor DateTimeSettingsSetup.Daisuke Miyakawa2010-11-161-18/+43
| | | | | | | | | | - 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
* Disable Auto-timezone in SetupWizardDaisuke Miyakawa2010-10-011-33/+26
| | | | | | | Also remove status bar code, as we shouldn't touch it here. Bug: 3008295 Change-Id: I1ae3f118eae2cacd135d3ec61f1c27993fe2e166
* Disable Status bar in SetupWizard XL.Daisuke Miyakawa2010-09-271-0/+24
| | | | | Bug: 3005211 Change-Id: I468b7d45aceda8fbdc72f723c95c3818c8da20f5
* Let SetupWizard XL use Auto_TIME_ZONEDaisuke Miyakawa2010-09-221-26/+52
| | | | | Bug: 2989496 Change-Id: I37719a70783fc0505598ef9aaad1792d4a0ca1af
* Hide software keyboard when it becomes unnecessaryDaisuke Miyakawa2010-09-151-2/+10
| | | | | Bug: 3003749 Change-Id: If8dcf66cf088590bbe26e5ec71537b6b43f66226
* Clear focus when auto mode is set.Daisuke Miyakawa2010-09-151-3/+8
| | | | | Bug: 3003541 Change-Id: I2dbaac4ae55b4484387053dbad1311d562102304
* Implement DateTimeSetings for Setup Wizard XL.Daisuke Miyakawa2010-09-091-11/+127
| | | | | | | | | | 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
* Fragmentize ZoneList, which is needed in DateTimeSettings refactoring.Daisuke Miyakawa2010-09-081-2/+3
| | | | | | | | | | | | | | | | | | - 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
* Refactor settings top level activities to use fragments.Amith Yamasani2010-08-181-1/+1
| | | | | | | | | | | | | 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.
* Removed unused import android.widget.LinearLayoutBen Clark2010-07-211-1/+0
| | | | Change-Id: I904f5e3a2054f99bbc7c685e9d7a805cb621819a
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+41
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-41/+0
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+41