OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:preference
(Results
126 - 150
of
2672
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/developers/build/prebuilts/gradle/AppRestrictions/Application/src/main/java/com/example/android/apprestrictions/
CustomRestrictionsFragment.java
25
import android.
preference
.CheckBoxPreference;
26
import android.
preference
.ListPreference;
27
import android.
preference
.MultiSelectListPreference;
28
import android.
preference
.
Preference
;
29
import android.
preference
.PreferenceFragment;
51
implements
Preference
.OnPreferenceChangeListener {
53
// Shared
preference
key for the boolean restriction.
55
// Shared
preference
key for the single-select restriction.
57
// Shared
preference
key for the multi-select restriction
[
all
...]
/developers/samples/android/content/multiuser/AppRestrictions/Application/src/main/java/com/example/android/apprestrictions/
CustomRestrictionsFragment.java
25
import android.
preference
.CheckBoxPreference;
26
import android.
preference
.ListPreference;
27
import android.
preference
.MultiSelectListPreference;
28
import android.
preference
.
Preference
;
29
import android.
preference
.PreferenceFragment;
51
implements
Preference
.OnPreferenceChangeListener {
53
// Shared
preference
key for the boolean restriction.
55
// Shared
preference
key for the single-select restriction.
57
// Shared
preference
key for the multi-select restriction
[
all
...]
/development/samples/ApiDemos/src/com/example/android/apis/preference/
PreferencesFromCode.java
17
package com.example.android.apis.
preference
;
25
import android.
preference
.CheckBoxPreference;
26
import android.
preference
.EditTextPreference;
27
import android.
preference
.ListPreference;
28
import android.
preference
.PreferenceActivity;
29
import android.
preference
.PreferenceCategory;
30
import android.
preference
.PreferenceScreen;
31
import android.
preference
.SwitchPreference;
52
// Checkbox
preference
59
// Switch
preference
[
all
...]
AdvancedPreferences.java
17
package com.example.android.apis.
preference
;
25
import android.
preference
.PreferenceActivity;
26
import android.
preference
.CheckBoxPreference;
30
* Example that shows finding a
preference
from the hierarchy and a custom
preference
type.
40
* This is a simple example of controlling a
preference
from code.
60
// Get a reference to the checkbox
preference
87
// Let's do something when my counter
preference
value changes
/development/samples/browseable/AppRestrictions/src/com.example.android.apprestrictions/
CustomRestrictionsFragment.java
25
import android.
preference
.CheckBoxPreference;
26
import android.
preference
.ListPreference;
27
import android.
preference
.MultiSelectListPreference;
28
import android.
preference
.
Preference
;
29
import android.
preference
.PreferenceFragment;
51
implements
Preference
.OnPreferenceChangeListener {
53
// Shared
preference
key for the boolean restriction.
55
// Shared
preference
key for the single-select restriction.
57
// Shared
preference
key for the multi-select restriction
[
all
...]
/packages/apps/Dialer/src/com/android/dialer/settings/
SoundSettingsFragment.java
26
import android.
preference
.CheckBoxPreference;
27
import android.
preference
.ListPreference;
28
import android.
preference
.
Preference
;
29
import android.
preference
.PreferenceFragment;
30
import android.
preference
.PreferenceScreen;
42
implements
Preference
.OnPreferenceChangeListener {
58
private
Preference
mRingtonePreference;
148
* Supports onPreferenceChangeListener to look for
preference
changes.
150
* @param
preference
The preference to be change
[
all
...]
/packages/apps/Settings/src/com/android/settings/deviceinfo/
ImeiInformation.java
20
import android.support.v7.
preference
.
Preference
;
21
import android.support.v7.
preference
.PreferenceScreen;
91
// check Null in case no specified
preference
in overlay xml
100
// check Null in case no specified
preference
in overlay xml
109
// Modify the
preference
key with prefix "_", so new added information
preference
can be set
115
Preference
pref = prefScreen.getPreference(i);
125
private void updateTitle(
Preference
pref, int slotId) {
145
final
Preference
preference = findPreference(key)
local
166
final Preference
preference
= findPreference(key);
local
[
all
...]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
CaptionFragment.java
22
import android.support.v17.
preference
.LeanbackPreferenceFragment;
24
import android.support.v7.
preference
.ListPreference;
25
import android.support.v7.
preference
.
Preference
;
26
import android.support.v7.
preference
.PreferenceGroup;
27
import android.support.v7.
preference
.TwoStatePreference;
37
Preference
.OnPreferenceChangeListener {
103
public boolean onPreferenceTreeClick(
Preference
preference
) {
104
final String key =
preference
.getKey()
[
all
...]
TimeZoneFragment.java
27
import android.support.v17.
preference
.LeanbackPreferenceFragment;
28
import android.support.v7.
preference
.CheckBoxPreference;
29
import android.support.v7.
preference
.
Preference
;
30
import android.support.v7.
preference
.PreferenceScreen;
70
for (final
Preference
zonePref : zonePrefs) {
92
public boolean onPreferenceTreeClick(
Preference
preference
) {
93
if (
preference
instanceof ZonePreference) {
97
alarm.setTimeZone(
preference
.getKey())
[
all
...]
/cts/tests/tests/preference2/src/android/preference2/cts/
PreferenceCategoryTest.java
19
import android.
preference
.
Preference
;
38
Preference
prefCat = mActivity.findPreference("pref-1");
/frameworks/support/samples/SupportPreferenceDemos/
build.gradle
6
compile project(':support-
preference
-v7')
7
compile project(':support-
preference
-v14')
9
compile project(':support-
preference
-leanback-v17')
/frameworks/support/v14/preference/src/android/support/v14/preference/
ListPreferenceDialogFragment.java
17
package android.support.v14.
preference
;
23
import android.support.v7.
preference
.ListPreference;
48
final ListPreference
preference
= getListPreference();
local
50
if (
preference
.getEntries() == null ||
preference
.getEntryValues() == null) {
55
mClickedDialogEntryIndex =
preference
.findIndexOfValue(
preference
.getValue());
56
mEntries =
preference
.getEntries();
57
mEntryValues =
preference
.getEntryValues();
106
final ListPreference
preference
= getListPreference()
local
[
all
...]
/packages/apps/Settings/src/com/android/settings/
ApplicationSettings.java
22
import android.support.v7.
preference
.CheckBoxPreference;
23
import android.support.v7.
preference
.ListPreference;
24
import android.support.v7.
preference
.
Preference
;
25
import android.support.v7.
preference
.
Preference
.OnPreferenceChangeListener;
76
public boolean onPreferenceChange(
Preference
preference
, Object newValue) {
104
public boolean onPreferenceTreeClick(
Preference
preference
) {
[
all
...]
/packages/apps/Settings/src/com/android/settings/accessibility/
AccessibilitySettingsForSetupWizard.java
26
import android.support.v7.
preference
.
Preference
;
41
implements DialogCreatable,
Preference
.OnPreferenceChangeListener {
51
//
Preference
controls.
52
private
Preference
mDisplayMagnificationPreference;
53
private
Preference
mScreenReaderPreference;
82
public boolean onPreferenceChange(
Preference
preference
, Object newValue) {
87
public boolean onPreferenceTreeClick(
Preference
preference
) {
[
all
...]
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/handheld/
AppPermissionsFragment.java
33
import android.
preference
.
Preference
;
34
import android.
preference
.
Preference
.OnPreferenceChangeListener;
35
import android.
preference
.
Preference
.OnPreferenceClickListener;
36
import android.
preference
.PreferenceScreen;
37
import android.
preference
.SwitchPreference;
199
final
Preference
extraPerms = new
Preference
(context)
210
RestrictedSwitchPreference
preference
= new RestrictedSwitchPreference(context);
local
346
Preference
preference
= screen.getPreference(i);
local
[
all
...]
/frameworks/base/core/java/android/preference/
PreferenceCategory.java
17
package android.
preference
;
23
* Used to group {@link
Preference
} objects
54
protected boolean onPrepareAddPreference(
Preference
preference
) {
55
if (
preference
instanceof PreferenceCategory) {
60
return super.onPrepareAddPreference(
preference
);
/frameworks/base/packages/SystemUI/
Android.mk
26
android-support-v7-
preference
\
28
android-support-v14-
preference
\
44
frameworks/support/v7/
preference
/res \
45
frameworks/support/v14/
preference
/res \
51
--extra-packages com.android.keyguard:android.support.v7.recyclerview:android.support.v7.
preference
:android.support.v14.
preference
:android.support.v7.appcompat \
/packages/apps/DeskClock/src/com/android/deskclock/settings/
ScreensaverSettingsActivity.java
20
import android.
preference
.ListPreference;
21
import android.
preference
.
Preference
;
22
import android.
preference
.PreferenceFragment;
56
implements
Preference
.OnPreferenceChangeListener {
71
public boolean onPreferenceChange(
Preference
pref, Object newValue) {
/packages/apps/EmergencyInfo/
Android.mk
26
LOCAL_STATIC_JAVA_LIBRARIES := android-support-v14-
preference
\
29
android-support-v7-
preference
\
37
$(support_library_root_dir)/v7/
preference
/res \
39
$(support_library_root_dir)/v14/
preference
/res \
44
--extra-packages android.support.v7.
preference
\
45
--extra-packages android.support.v14.
preference
\
/packages/apps/Settings/res/xml/
device_info_phone_status.xml
21
<
Preference
android:key="min_number"
27
<
Preference
android:key="prl_version"
33
<
Preference
android:key="meid_number"
38
<
Preference
android:key="imei"
43
<
Preference
android:key="imei_sv"
48
<
Preference
android:key="icc_id"
testing_wifi_settings.xml
21
<
Preference
27
</
Preference
>
29
<
Preference
35
</
Preference
>
37
<
Preference
43
</
Preference
>
/packages/apps/StorageManager/
Android.mk
26
android-support-v14-
preference
\
28
android-support-v7-
preference
\
33
frameworks/support/v14/
preference
/res \
35
frameworks/support/v7/
preference
/res \
39
--extra-packages android.support.v14.
preference
\
41
--extra-packages android.support.v7.
preference
\
/packages/apps/TvSettings/QuickSettings/
proguard.cfg
14
-keep public class * extends android.
preference
.
Preference
15
-keep public class android.support.v7.
preference
.
Preference
{
18
-keep public class * extends android.support.v7.
preference
.
Preference
{
/packages/apps/TvSettings/Settings/res/xml/
security.xml
32
<
Preference
35
<
Preference
38
<
Preference
42
<
Preference
45
<
Preference
48
<
Preference
/development/samples/SoftKeyboard/src/com/android/inputmethodcommon/
InputMethodSettingsInterface.java
40
* @param title The title for this
preference
.
45
* Sets the title for the input method enabler
preference
for launching subtype enabler with a
52
* Sets the title for the input method enabler
preference
for launching subtype enabler with a
54
* @param title The title for this
preference
.
59
* Sets the icon for the
preference
for launching subtype enabler with a resource ID.
60
* @param resId The resource id of an optional icon for the
preference
.
65
* Sets the icon for the
Preference
for launching subtype enabler with a Drawable.
66
* @param drawable The drawable of an optional icon for the
preference
.
Completed in 542 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>