Commit Graph

13519 Commits

Author SHA1 Message Date
Fabrice Di Meglio
1f4140684e Make highlithing delay consistent
- set it to 400ms for HighlightingFragment as it was also 400ms
for SettingsPreferenceFragment

Change-Id: I52b910246ee557c98565dacd2bbcf57a812ea7eb
2014-04-21 09:31:36 -07:00
Fabrice Di Meglio
4ee29d0308 Merge "Enable highlighting of Print services" 2014-04-21 16:30:06 +00:00
Fabrice Di Meglio
c853a4282d Enable highlighting of Print services
- add to SettingsPreferenceFragment to know when the associated
RootAdapter is changing and thus being able to find the highlighted
Preference
- also, add the correct Search key during indexing. She should
match the one created when adding dynamically the Preference
- last, increase to 400ms the delay to do the highlight

Change-Id: I3a1a81fdf5c8ab5f3aaab29f16ea9879ab6df056
2014-04-21 09:28:17 -07:00
John Spurlock
4a35051565 App-level notification configuration settings page.
New sub-page off of notification settings to ban/unban
apps and navigate to an app's notification configuration
activity (if configured).

Centralized all notification settings artifacts under a new
settings subpackage.

Bug: 13935172
Change-Id: I53b75c02f0091900734d17dc9217035d0df9b466
2014-04-21 12:19:14 -04:00
The Android Automerger
4905d76bbe merge in master-release history after reset to master 2014-04-19 05:50:52 -07:00
Fabrice Di Meglio
7476f5b904 Fix Print title name in search results
- use R.string.print_settings

Change-Id: I3a945aed9efbc323e865db1cdbcfd8ceeb6b2558
2014-04-18 17:14:39 -07:00
Fabrice Di Meglio
ede1435518 Make all the Settings Switches appear again
- use the ActionBar Theme context when creating the Switch for
getting the correct Theming

Change-Id: Ic3701c53662b0f245c7149b119de8bb5cbaae232
2014-04-18 16:49:35 -07:00
Fabrice Di Meglio
255743990c Make the WiFi switch appear again
- use the ActionBar Theme context when creating the Switch for
getting the correct Theming

Change-Id: I1c44e1b1c28bf02af4c2ac9912295106d93a60e8
2014-04-18 16:18:26 -07:00
Fabrice Di Meglio
2169c88a14 Code cleaning
- use constants where needed for the tag/key
- remove wrong tag

Change-Id: I32578ce6a3a604dc0ea7168206a5d84391e2cce7
2014-04-18 15:18:40 -07:00
Fabrice Di Meglio
b63eddc240 Merge "Improve Preference highlighting" 2014-04-18 20:46:53 +00:00
Fabrice Di Meglio
f2a5226c1e Improve Preference highlighting
- use PreferenceFragment.onBindPreferences() to launch  highlighting
- improve SettingsPreferenceFragment code for highlighting: now we can
find the View to highlight thru its Tag if there is no ListAdapter available
- add HighlightingFragment for highlighting a View from its tag/key. This
is dealing with cases when the content is custom and not relying on
SettingsPreferenceFragment (like DataUsageSummary)

Also:

- improve DataUsageSummary so that onResume() is not recreating the
Tabs all the time
- add missing "android:keys" on some Security Settings preference files

Change-Id: Ib1dd8238fe2fb57c151d584c0810a0e0a5ad97c4
2014-04-18 13:42:46 -07:00
Baligh Uddin
ea6ee7caa6 am 89e96c30: (-s ours) am 54b5982f: (-s ours) Import translations. DO NOT MERGE
* commit '89e96c308cf67e492b699363d90b58516ea3bf54':
  Import translations. DO NOT MERGE
2014-04-17 19:36:22 +00:00
Baligh Uddin
89e96c308c am 54b5982f: (-s ours) Import translations. DO NOT MERGE
* commit '54b5982f148290a00fa2ff38e7e30d487cf69998':
  Import translations. DO NOT MERGE
2014-04-17 16:23:22 +00:00
Baligh Uddin
39ce3e2b1f Merge "Import translations. DO NOT MERGE" 2014-04-17 16:19:19 +00:00
The Android Automerger
99f3adfa11 merge in master-release history after reset to master 2014-04-17 05:50:25 -07:00
Adrian Roos
b05a065a09 Remove the lockscreen widget setting
Bug: 14087729
Change-Id: Ia276411f7622fe1211528ab779a7099bb20800d4
2014-04-17 14:48:38 +02:00
Fabrice Di Meglio
03ae0fdc6d Merge "Fix potential NPE with Preference highlighting" 2014-04-17 01:26:48 +00:00
Fabrice Di Meglio
5035ec6944 Fix potential NPE with Preference highlighting
- there are some cases where the ListView adapter is null

Change-Id: I9dcd171f57d9ca7b8032d890f5a18c3a01fd38cf
2014-04-16 18:26:19 -07:00
Fabrice Di Meglio
03006d2df2 Merge "Improve Preference highlight effect" 2014-04-17 01:19:13 +00:00
Fabrice Di Meglio
906ff6fdf9 Improve Preference highlight effect
- restrict the effect to the Preference View itself

Change-Id: I3ab04433e1acecb906d0a458b31314f97b9bda03
2014-04-16 18:18:41 -07:00
Fabrice Di Meglio
a684f73973 Merge "Update Search icon" 2014-04-17 00:26:11 +00:00
Fabrice Di Meglio
be07655642 Update Search icon
- use Quantum Theme one

See bug #13818985 Settings using GB-style search icon

Change-Id: I0b0f61524f1e66bfdb46c47798e9ec1f5038c10c
2014-04-16 17:25:17 -07:00
Baligh Uddin
f40d33ff04 Import translations. DO NOT MERGE
Change-Id: I1b956a8b327e77eecc76e3df141ad6b1750433a3
Auto-generated-cl: translation import
2014-04-16 17:22:10 -07:00
Fabrice Di Meglio
0527fd182a Merge "Fix bug #14118555 NPE in settings app when it is launched by UiAutomator" 2014-04-17 00:19:35 +00:00
Fabrice Di Meglio
0bae067a99 Fix bug #14118555 NPE in settings app when it is launched by UiAutomator
- prevent the potential NPE

Change-Id: I428f49c4ee55fb1e8fe121b27dd12e21eced4dad
2014-04-16 17:18:24 -07:00
Baligh Uddin
54b5982f14 Import translations. DO NOT MERGE
Change-Id: I20c3ae14070c3fae914ec7151dc425ddf518ffa6
Auto-generated-cl: translation import
2014-04-16 17:18:12 -07:00
Fabrice Di Meglio
477299cfa2 Merge "Search - add "live" search results" 2014-04-16 23:58:56 +00:00
Fabrice Di Meglio
a32707664f Search - add "live" search results
- now it is possible to have Search results directly when
you are typing (and not only when you press on the Search button
in the IME)
- implement onQueryTextChange(...)
- take care about re-runnin the saved query when the app is resumed

Change-Id: I021c8a9a95b50dce69ab6dace81eecb2fb188f18
2014-04-16 16:54:56 -07:00
Fabrice Di Meglio
cd22f27f73 Merge "Improve Preference highlighting from a Search result" 2014-04-16 23:22:44 +00:00
Fabrice Di Meglio
6602d02f57 Improve Preference highlighting from a Search result
- fix computation of the Preference position in its PreferenceScreen
- use "highlight" (scrolling and Ripple effect) for showing the result
- "highlight" is only done once

Change-Id: I232d79d795b0983beac5a9fec3dfbe9da329c98f
2014-04-16 16:16:45 -07:00
Wink Saville
1583a41f83 am d5b8ee9b: am 242184ca: Merge "Allow tablets to send SMS if enabled in device overlays (1/2)"
* commit 'd5b8ee9ba48f6b22135abc7ab59b3b971f0d85e0':
  Allow tablets to send SMS if enabled in device overlays (1/2)
2014-04-16 20:30:14 +00:00
Wink Saville
d5b8ee9ba4 am 242184ca: Merge "Allow tablets to send SMS if enabled in device overlays (1/2)"
* commit '242184ca23b8ef70f5347874ac9b5c59cce36208':
  Allow tablets to send SMS if enabled in device overlays (1/2)
2014-04-16 20:26:53 +00:00
Wink Saville
242184ca23 Merge "Allow tablets to send SMS if enabled in device overlays (1/2)" 2014-04-16 20:21:57 +00:00
Wink Saville
7c878831b3 Merge "Add displaying DataConnectionRealTimeInfo." 2014-04-16 19:45:43 +00:00
Andres Morales
a298f077c8 Merge "Write wifi config to NFC tag" 2014-04-16 17:19:05 +00:00
Baligh Uddin
d7adb25e87 am ce077b41: (-s ours) am 81ff7980: (-s ours) Import translations. DO NOT MERGE
* commit 'ce077b417de0b40a622f3679552929968d9c63a5':
  Import translations. DO NOT MERGE
2014-04-16 15:47:56 +00:00
Baligh Uddin
ce077b417d am 81ff7980: (-s ours) Import translations. DO NOT MERGE
* commit '81ff798050d4223dec7038cc466847e0d2ef999b':
  Import translations. DO NOT MERGE
2014-04-16 15:43:33 +00:00
Baligh Uddin
61a6f1016d Merge "Import translations. DO NOT MERGE" 2014-04-16 15:40:22 +00:00
The Android Automerger
91abffb4a2 merge in master-release history after reset to master 2014-04-16 05:50:56 -07:00
Wink Saville
4f0d881871 Add displaying DataConnectionRealTimeInfo.
Change-Id: Iadcbf9765af57c125bcdf74e3fc652ed6c8f7d42
2014-04-15 22:05:24 -07:00
Alan Viverette
d471e80fd7 Merge "Implement color palette in Settings" 2014-04-16 01:25:07 +00:00
Alan Viverette
ab585d8ee1 Implement color palette in Settings
Change-Id: I83a4c8726408c253d8f075466c6f51f7c2083e23
2014-04-15 17:42:33 -07:00
Alan Viverette
c42600c215 Merge "Use action bar widget context for accessibility toggle switches" 2014-04-16 00:27:34 +00:00
Alan Viverette
f6cbcdebbd Use action bar widget context for accessibility toggle switches
Change-Id: I078968b3f4f59439743356e9fe241cdf385deef6
2014-04-15 17:08:47 -07:00
Fabrice Di Meglio
8f5c65fd01 Search results - just show the first item of ListPreference entries
- need to increment the database model version to force re-indexing
- change entries separator from SPACE to PIPE
- just show the first entries value in the Search results

Change-Id: I747218ff3528c3231c0209f8870c12f65e036070
2014-04-15 14:09:25 -07:00
Fabrice Di Meglio
7a6bfd132c Update DynamicIndexableContentMonitor
- use factory for creating Intents
- add missing case in handlePackageUnavailable() for IMEs
- move DynamicIndexableContentMonitor to the "search" package

Change-Id: I8d74b28fb9183827db50c6de4b4543b4ff21acc0
2014-04-15 13:31:38 -07:00
Alexandra Gherghina
a044235272 Wiring for displaying managed profiles
Bug: 13756871
Change-Id: I81898e3b32baa0bc9ec72258b3bd470102d42b68
2014-04-15 14:54:01 +01:00
The Android Automerger
4418b313b8 merge in master-release history after reset to master 2014-04-15 05:50:17 -07:00
Fabrice Di Meglio
71a2ef3e7c Update UI for Search results
- put the icon on the left
- just use the "summaryOn" ellipsized instead of the list
of values

Change-Id: I7250ff5b7c882b873cfe6bb0ec550a8eaf052d16
2014-04-14 19:44:31 -07:00
Jeff Davidson
b9558d91df Refactor SmsListPreference into AppListPreference.
This generalizes the pattern of needing to offer a selection among a
list of candidate applications.

Also move some reusable logic around querying PackageManager for icons
into AppListPreference, and remove some unnecessary update logic: the
preference will update itself when onPreferenceChange returns true,
and we can set the summary to '%s' to automatically use the entry as
the summary without having to reset it each time.

Change-Id: I007b9ed58359302f93b367a4b86354e93613bf3e
2014-04-14 19:24:15 -07:00