History log of /packages/apps/Settings/src/com/android/settings/Utils.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b75f10305dee24b1444735623f7c45b1a782606a 07-Aug-2013 Lorenzo Colitti <lorenzo@google.com> Merge "Display all link IP addresses, on different lines"
56f51a8927f53bee81145fe29e63af8a87e6fd1b 05-Aug-2013 Amith Yamasani <yamasani@google.com> Single pane for 10" Settings

Change-Id: I960e4be3cfb19ffec4100f8766742d6fb17dda4a
/packages/apps/Settings/src/com/android/settings/Utils.java
769f069a4701bd91a60219ca3ecd52d6990ca1ac 01-Aug-2013 Lorenzo Colitti <lorenzo@google.com> Display all link IP addresses, on different lines

Currently, the "IP address" field in the status page of the
settings app displays only the IP addesses on the base link.
Make it display the stacked link IP addresses as well.

Also, separate IP addresses via newlines instead of commas.
For example, display:

2a00:f40:e000:11c:cf93:ee9:5ad3:6686
192.0.0.4

instead of:

2a00:f40:e000:11c:cf93:ee9:5ad3:6686, 192.0.0.4

Change-Id: Ie78da142fea87735139adcefcfed7154b4f7fefb
/packages/apps/Settings/src/com/android/settings/Utils.java
a3fe77b2e4e8e6932d2580d361520d93058ea560 04-Jun-2013 Jaewan Kim <jaewan@google.com> Remove Battery settings if battery is not present

Bug: 8051556
Change-Id: I044b24e26dc3d6351c19168a2fcd085a1e761796
/packages/apps/Settings/src/com/android/settings/Utils.java
b27223f139248f92637997378d7a38d7d24f6b02 16-Jan-2013 Fabrice Di Meglio <fdimeglio@google.com> Fix Switches padding for Settings app

- use setPaddingRelative() instead of setPadding()

Change-Id: Ifd14193a5f60d303035b394616dc65a70e1ef5f9
/packages/apps/Settings/src/com/android/settings/Utils.java
004970da50ddbce80321b50536625e149ff1f825 12-Dec-2012 Amith Yamasani <yamasani@google.com> am 0df6a277: Merge "Grey out settings icon when it is in disabled state"

* commit '0df6a2771d92e355e122195d3dceaf9a2b264ee5':
Grey out settings icon when it is in disabled state
97d07fa3aedde44368818551dc789eaff7bfb047 30-Nov-2012 Jeff Sharkey <jsharkey@android.com> Push scrollbars to screen edges.

Push scrollbar to screen edges on custom ListView and ScrollViews to
match Preferences framework behavior.

Bug: 7633165
Change-Id: Ideecd0e243c7de7bf977caef2b1585e707a00ca4
/packages/apps/Settings/src/com/android/settings/Utils.java
79d42bb6220820193b0ce05998726750a4db3b24 29-Nov-2012 Dianne Hackborn <hackbod@google.com> Be quiet!

Change-Id: Ifcce5bf4b2fca35fe50a2684983dc726534c3d0c
/packages/apps/Settings/src/com/android/settings/Utils.java
96577681a298b44be2e1133b10bc637623be3b87 02-Oct-2012 Shuhrat Dehkanov <uzbmaster@gmail.com> Grey out settings icon when it is in disabled state

If engine is not active, its settings icon is disabled in
Settings > Language & input > Text-to-speech output screen.
Currently, settings icons for all TTS engines are shown at
the same opacity. This fix dims settings icons of not-selected
engines.
Make sure that more than one TTS engine are installed on the
target, for e.g., Google Text-to-speech Engine and Classic
Text To Speech Engine (SVOX Classic TTS).

Additionally, since setAlpha() is used in multiple places within
Settings package, moved DISABLED_ALPHA declaration to Utils.java
in order to have single point of reference.

Change-Id: Ifa7de79814a2f4a4aa021cd8621cbfab41655680
Signed-off-by: Shuhrat Dehkanov <uzbmaster@gmail.com>
/packages/apps/Settings/src/com/android/settings/Utils.java
8d40fac706d206355f9a4be58744fb1a8cc3417d 24-Oct-2012 Amith Yamasani <yamasani@google.com> Use given name instead of full name for the initial population of User name.

Bug: 7406217

Change-Id: I5006039ef146369f569445d0fcbaf82fd163343e
/packages/apps/Settings/src/com/android/settings/Utils.java
9627a8ea151c1f27e5e9f34592c7b34fea3101c3 23-Sep-2012 Amith Yamasani <yamasani@google.com> Show more settings and add restrictions/dialogs for secondary users

Bug: 7213029 crash in About>Status
Bug: 7212495 hide System updates for second user
Bug: 7212230 nickname editor should select the text
Bug: 7160487 TTS settings
Bug: 7129411 Settings needs visibility changes for secondary users

Change-Id: Ia2d1229c08b392edfa6b671fce4a382410405b14
/packages/apps/Settings/src/com/android/settings/Utils.java
f34a85d5d54738b4b6d091c36f828788ff67ede1 18-Sep-2012 Amith Yamasani <yamasani@google.com> Use Bitmap instead of ParcelFileDescriptor to get the user's icon.

Change-Id: I1dd7261b47ba98a2a0834dbfb8c22de369e6cc58
/packages/apps/Settings/src/com/android/settings/Utils.java
e940dac47a1d978211eea973fe8576edc4626d48 17-Sep-2012 Amith Yamasani <yamasani@google.com> Use UserManager.getUserIcon() to get the user's avatar.

Change-Id: I035a5e2a518eb827a2e44910471ed04923921aa3
/packages/apps/Settings/src/com/android/settings/Utils.java
ae47ef43fa9f7f408ec08b92d4d334b159a68e82 17-Sep-2012 Amith Yamasani <yamasani@google.com> More user management ui work

Show setup dialog after adding user.
Write user profile to nickname on setup.
Remove self.
Correct dialog text for user creation.

Bug: 7104261
Bug: 7174751
Bug: 7174685

Change-Id: I0ecd688f3edaef61332f974012454ceb87762e9f
/packages/apps/Settings/src/com/android/settings/Utils.java
0bd54a65d62d726dbdccab21bea96bf5eac83c0a 15-Aug-2012 Brian Muramatsu <btmura@google.com> display wireless charging status

- show "Charging (wireless)" when using wireless charger
- change "Discharging" to "Not charging"

bug: 6879638

Change-Id: I20e78f2bde7a526667510b82a030f5952d9dda75
/packages/apps/Settings/src/com/android/settings/Utils.java
929f04e28e7910eae04871e8ea3c7126b100b393 25-May-2012 Amith Yamasani <yamasani@google.com> am 8ad7abbc: Merge "Corrected return value for updatePreferenceToSpecificActivityOrRemove method"

* commit '8ad7abbcf64076b4df8ff3e724815c2e7940be8e':
Corrected return value for updatePreferenceToSpecificActivityOrRemove method
f0b05de3e06ad319a32fc1784d1b5cef48521f81 09-May-2012 Amith Yamasani <yamasani@google.com> Apps tabs align to title on 2-pane settings.

Pad the lists in Apps screen.
Pad the color bar to align with the list.

Bug: 6449489

Change-Id: I28c39e2aae04a1fe36c6b7dc447ae19da575edaf
/packages/apps/Settings/src/com/android/settings/Utils.java
7dc567af052b2c1d701700f250657766802b536f 22-Apr-2012 Shuhrat Dehkanov <uzbmaster@gmail.com> Corrected return value for updatePreferenceToSpecificActivityOrRemove method

Returned value should be false if preference is removed or was already deleted/missing.

Change-Id: I2a48bd8e0f5a82b76b60b2d11fac2305f0e27eed
Signed-off-by: Shuhrat Dehkanov <uzbmaster@gmail.com>
/packages/apps/Settings/src/com/android/settings/Utils.java
6822b749bbd525abcf492e4f5a236d77a910331a 18-Oct-2011 Amith Yamasani <yamasani@google.com> Show IP address of current active link instead of just the WiFi IP address.

Bug: 5359194

Show "Unavailable" only if there's no active link.

Change-Id: I82ba6bda3a08ea84080a8d8cda331f22d7c7a2bd
/packages/apps/Settings/src/com/android/settings/Utils.java
ae69755aa874dbac77e9874d9716ab891a144193 27-Sep-2011 Amith Yamasani <yamasani@google.com> Disable USB connection type when monkeys are running.

Bug: 5375336

Also use the correct API for testing if monkeys are running.
(ActivityManager.isUserAMonkey())

Bug: 5375910
Change-Id: I2bf8e061ee5977d521de197d3a92095c1a98218d
/packages/apps/Settings/src/com/android/settings/Utils.java
a83a24f48a8286ee3d67acc5fdcfb723acc56ada 16-Sep-2011 Jeff Sharkey <jsharkey@android.com> Surface tethering stats in data usage.

Bug: 5244846
Change-Id: Ib4ac03ab634278714576a66ef8d6fdbc6d15c82a
/packages/apps/Settings/src/com/android/settings/Utils.java
5d70679c02a57416eac46581d7242e2382e4b973 09-Sep-2011 Jeff Sharkey <jsharkey@android.com> Larger touch targets, snap to persisted value.

Extend ListView content to screen edges, and use InsetBoundsDrawable
to draw separator and divider with expected padding. Sweep touch
targets are now much larger.

Snap sweep to persisted value, and fix NFE when parsing label value.

Bug: 5274249
Bug: 5262865
Bug: 5242857
Change-Id: Ifa0f3e622767d5b4dc85a73d6340207e6038a429
/packages/apps/Settings/src/com/android/settings/Utils.java
8af88fb8387259e51615709b2d1ea0260f7057fd 31-Aug-2011 Robert Greenwalt <rgreenwalt@google.com> Use the new isNetworkSupported api for wifi-only

Didn't have an API for this before so people used a hacked system property (ro.carrier)
to determine if the device supported mobile data. Added new API and switching callsites.

bug:5087537
Change-Id: Ibd799559be102a9e2fd552d1a23d1afbcf8f4614
/packages/apps/Settings/src/com/android/settings/Utils.java
b654cbb896a6e6db9ecec164476b0ac4a3e72774 18-Aug-2011 Jeff Sharkey <jsharkey@android.com> More TabWidget and padding tweaks to match spec.

Also fix NPE in UserDictionarySettings.

Bug: 5184822
Change-Id: I082981c3bcf9b1e6575dcf9f42495a17f0ec8672
/packages/apps/Settings/src/com/android/settings/Utils.java
a4379d6b38e568fcb60831d6f2fa349ba20f9b82 22-Jul-2011 Amith Yamasani <yamasani@google.com> Use a different wallpaper fragment title from the preference item.

Change wallpaper list ordering to alphabetic.
Display battery level and charging status in Battery settings.

Change-Id: I8ead0fb0f018c79ed258bd1c1ca3f8ecaf32da83
/packages/apps/Settings/src/com/android/settings/Utils.java
71ad1f4e3e819a40a830a148a2d1bd7b10fed09d 12-May-2011 Jean Chalard <jchalard@google.com> Change the interface for user dictionary multiple locales.

The user dictionary interface now works the following way:
* Locale gathering
- The current locale is always considered as present, even if
there are no words for it in the user dictionary.
- Any locale for which at least one word is registered is
considered present.
- A null locale is considered a valid locale meaning "all
languages".
- If no words are present at all, since the current locale is
always considered present, the system will consider there is
exactly one locale present - and allow editing this user
dictionary.

* Options display
- If only one locale is present, the interface is the same as
for Honeycomb: display a "User dictionary" PreferenceScreen
that brings up the dictionary editor interface.
- If there are several locales present, then the user
dictionary option will jump to a screen that will display a
list of available locales.

* Word insertion
- Inserting a word will always use the locale of the currently
displayed dictionary. If it is the "all languages" null
pseudo-locale, that will still hold and the word will be added
to this pseudo-locale.

It is worthy to note that the "All languages" locale is only
accessible if for some reason there are already words with a
null locale in the database before this is installed. For
example, if an application has inserted some words that way,
or if the user inserted words with a previous version of the
settings application.
On a freshly flashed device, barring the use of third-party
application that would add such words, it is not possible to
access the "all languages" locale any more because there is
no interface to do it, though it works if such words are
inside.

Bug: 3479738
Change-Id: Iba323e5aeb3f4f575896903a4e8bef6ffb3ea306
/packages/apps/Settings/src/com/android/settings/Utils.java
c06d4c48a9455d6018f2d793c6b8f211f1131055 25-Feb-2011 Amith Yamasani <yamasani@google.com> Remove more entries not relevant to wifi-only devices.

Bug: 3488384
Bug: 3487976
Bug: 3488381

Removed Cell standby entry from Battery use screen.
Removed Mobile signal strength from BatteryHistory screen.
Added wifi IP address to About->Status
Remove auto-timezone checkbox in Settings->Date & time

Change-Id: I228721a3613b1aeb600026e42274337886552698
/packages/apps/Settings/src/com/android/settings/Utils.java
0f85c48d6c77e811f4d949503f0aa3efd908834d 24-Feb-2011 Amith Yamasani <yamasani@google.com> Remove / re-word some settings for WiFi-only devices.

Bug: 3468248

1. Remove Wireless->Mobile networks
2. Remove Wireless->Tethering and WiFi hotspot
3. Remove Wireless->Wi-Fi Settings->Wi-Fi disconnect policy
4. Re-word Network location summary text to not include "mobile network"

Change-Id: I84a551a1b63591974731029b0d4b90a85e43a716
/packages/apps/Settings/src/com/android/settings/Utils.java
02cf71a5916d1b0155e8fff3f62987cdc5c2b7c3 22-Sep-2010 Amith Yamasani <yamasani@google.com> Use PreferenceActivity and FragmentBreadCrumbs as they offer the same capabilities now.

Also fix: 2997438 and a similar bug in Tether Settings
Show + menu item for User Dictionary
/packages/apps/Settings/src/com/android/settings/Utils.java
a2633d0232adefd2767484add759a46906e00bcc 16-Sep-2010 Daisuke Miyakawa <dmiyakawa@google.com> Move ManageAccountsSettings into Settings.

- Add activity-alias for the Activity.
- Copy the Activity from AccountsAndSyncSettings.
- Fragmentize ManageAccountsSettings.
- Remove dependency toward AccountPreferenceBase, which is
used in AccountsAndSyncSettings widely.
- Add missing implementation derived from AccountPrefernceBase.
- Copy dependent drawables.
- Copy dependent xmls
- Copy AccountPrefernce.java.
- Copy strings, adding CHAR LIMIT.
- Remove the logic which remove the preference when its destination
Activity is missing. We already have the destination as
Fragment, and it never disappear.

Change-Id: Id41c63d7064aebeaae31bcd84bf4fd20a5636dfe
/packages/apps/Settings/src/com/android/settings/Utils.java
60133dd03657354e06fa3aa7e6041862f8ce20a8 11-Sep-2010 Amith Yamasani <yamasani@google.com> Conditionally remove settings that aren't required on the tablet.

Bug: 2985267

Changes not done : SD card related stuff, as we need some way still
to figure out if there is a real SD card in the device.

Change-Id: I21c41f18ebe6c050981918481a7f6d69f04b65d0
/packages/apps/Settings/src/com/android/settings/Utils.java
b2dd90383bae9f3ca0a99b59d3f5992e7fd5ad48 08-Apr-2010 Anders Hammar1 <anders.hammar1@sonyericsson.com> Settings: Add a hook for operator or vendor specific settings.

The Settings application now provides a hook that can be used by an
operator or a vendor specific application to add an activity of choice
in the settings menu.

Change-Id: Id55da9fd4262bbfc6a5abf863799c747b0d75b24
/packages/apps/Settings/src/com/android/settings/Utils.java
a718832e28095219a897c6e95e903c1a3fe57c12 05-Jan-2010 Ying Wang <wangying@google.com> Still use ro.monkey

http://b/issue?id=1681101
So just some refactoring.
/packages/apps/Settings/src/com/android/settings/Utils.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/Utils.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/Utils.java
de2d9f5f109265873196f1615e1f3546b114aaa7 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/packages/apps/Settings/src/com/android/settings/Utils.java