HomeSort by relevance Sort by last modified time
    Searched refs:mPreference (Results 1 - 18 of 18) sorted by null

  /cts/tests/tests/preference2/src/android/preference2/cts/
PreferenceTest.java 31 private Preference mPreference;
41 mPreference = (CheckBoxPreference) mActivity.findPreference(
46 assertNotNull(mPreference);
50 String summary = (String) mPreference.getSummary();
60 mPreference.setSummary(summary);
63 assertEquals(summary, mPreference.getSummary());
67 assertTrue(mPreference.isEnabled());
73 mPreference.setEnabled(false);
76 assertFalse(mPreference.isEnabled());
80 assertTrue(mPreference.isPersistent())
    [all...]
  /packages/apps/Camera/src/com/android/camera/ui/
InLineSettingItem.java 40 protected ListPreference mPreference;
62 mPreference = preference;
69 if (index >= mPreference.getEntryValues().length || index < 0) return false;
71 mPreference.setValueIndex(mIndex);
73 mListener.onSettingChanged(mPreference);
82 mIndex = mPreference.findIndexOfValue(mPreference.getValue());
InLineSettingMenu.java 53 mEntry.setText(mPreference.getEntry());
55 int index = mPreference.findIndexOfValue(mOverrideValue);
57 mEntry.setText(mPreference.getEntries()[index]);
61 mPreference.print();
68 event.getText().add(mPreference.getTitle() + mPreference.getEntry());
ListPrefSettingPopup.java 45 private ListPreference mPreference;
74 mPreference = preference;
76 CharSequence[] entries = mPreference.getEntries();
79 iconIds = ((IconListPreference) mPreference).getImageIds();
81 iconIds = ((IconListPreference) mPreference).getLargeIconIds();
85 mTitle.setText(mPreference.getTitle());
108 int index = mPreference.findIndexOfValue(mPreference.getValue());
113 mPreference.print();
124 mPreference.setValueIndex(index)
    [all...]
TimerSettingPopup.java 45 private ListPreference mPreference;
64 mPreference = preference;
67 mTitle.setText(mPreference.getTitle());
70 CharSequence[] entries = mPreference.getEntryValues();
104 int index = mPreference.findIndexOfValue(mPreference.getValue());
107 mPreference.print();
144 mPreference.setValueIndex(newId);
146 mPreference.setValueIndex(0);
150 mListener.onListPrefChanged(mPreference);
    [all...]
TimeIntervalPopup.java 44 private IconListPreference mPreference;
68 mPreference = preference;
71 mTitle.setText(mPreference.getTitle());
110 int index = mPreference.findIndexOfValue(mPreference.getValue());
113 mPreference.print();
155 mPreference.setValueIndex(newId);
157 mPreference.setValueIndex(0);
161 mListener.onListPrefChanged(mPreference);
EffectSettingPopup.java 43 private IconListPreference mPreference;
77 mPreference = preference;
79 CharSequence[] entries = mPreference.getEntries();
80 CharSequence[] entryValues = mPreference.getEntryValues();
81 int[] iconIds = mPreference.getImageIds();
83 iconIds = mPreference.getLargeIconIds();
87 mTitle.setText(mPreference.getTitle());
145 boolean noEffect = mPreference.getValue().equals(mNoEffect);
160 String value = mPreference.getValue();
178 mPreference.print()
    [all...]
InLineSettingCheckBox.java 57 R.string.accessibility_check_box, mPreference.getTitle()));
66 int index = mPreference.findIndexOfValue(mOverrideValue);
74 event.getText().add(mPreference.getTitle());
  /packages/apps/LegacyCamera/src/com/android/camera/ui/
IndicatorButton.java 33 private IconListPreference mPreference;
48 mPreference = pref;
54 int[] iconIds = mPreference.getLargeIconIds();
59 index = mPreference.findIndexOfValue(mPreference.getValue());
61 index = mPreference.findIndexOfValue(mOverrideValue);
65 mPreference.print();
72 setImageResource(mPreference.getSingleIcon());
78 return mPreference.getKey();
111 effect.initialize(mPreference);
    [all...]
CameraPicker.java 34 private ListPreference mPreference;
53 mPreference = pref;
63 int index = mPreference.findIndexOfValue(mPreference.getValue());
64 CharSequence[] values = mPreference.getEntryValues();
66 mPreference.setValue((String) mCameras[index]);
InLineSettingItem.java 40 protected ListPreference mPreference;
60 mPreference = preference;
67 if (index >= mPreference.getEntryValues().length || index < 0) return false;
69 mPreference.setValueIndex(mIndex);
80 mIndex = mPreference.findIndexOfValue(mPreference.getValue());
BasicSettingPopup.java 39 private IconListPreference mPreference;
51 mPreference = preference;
53 CharSequence[] entries = mPreference.getEntries();
54 int[] iconIds = mPreference.getImageIds();
56 iconIds = mPreference.getLargeIconIds();
60 mTitle.setText(mPreference.getTitle());
83 int index = mPreference.findIndexOfValue(mPreference.getValue());
88 mPreference.print();
99 mPreference.setValueIndex(index)
    [all...]
InLineSettingKnob.java 110 R.string.accessibility_increment, mPreference.getTitle()));
112 R.string.accessibility_decrement, mPreference.getTitle()));
117 mEntry.setText(mPreference.getEntry());
119 mPrevButton.setVisibility(mIndex == mPreference.getEntryValues().length - 1
122 int index = mPreference.findIndexOfValue(mOverrideValue);
124 mEntry.setText(mPreference.getEntries()[index]);
128 mPreference.print();
144 event.getText().add(mPreference.getTitle() + mPreference.getEntry());
EffectSettingPopup.java 41 private IconListPreference mPreference;
75 mPreference = preference;
77 CharSequence[] entries = mPreference.getEntries();
78 CharSequence[] entryValues = mPreference.getEntryValues();
79 int[] iconIds = mPreference.getImageIds();
81 iconIds = mPreference.getLargeIconIds();
85 mTitle.setText(mPreference.getTitle());
143 boolean noEffect = mPreference.getValue().equals(mNoEffect);
157 String value = mPreference.getValue();
175 mPreference.print()
    [all...]
InLineSettingSwitch.java 57 R.string.accessibility_switch, mPreference.getTitle()));
66 int index = mPreference.findIndexOfValue(mOverrideValue);
81 event.getText().add(mPreference.getTitle());
  /frameworks/support/v17/preference-leanback/src/android/support/v17/preference/
LeanbackPreferenceDialogFragment.java 28 private DialogPreference mPreference;
50 mPreference = (DialogPreference) fragment.findPreference(key);
54 return mPreference;
  /frameworks/support/v14/preference/src/android/support/v14/preference/
PreferenceDialogFragment.java 40 private DialogPreference mPreference;
59 mPreference = (DialogPreference) fragment.findPreference(key);
69 .setTitle(mPreference.getDialogTitle())
70 .setIcon(mPreference.getDialogIcon())
71 .setPositiveButton(mPreference.getPositiveButtonText(), this)
72 .setNegativeButton(mPreference.getNegativeButtonText(), this);
79 builder.setMessage(mPreference.getDialogMessage());
102 return mPreference;
141 final int resId = mPreference.getDialogLayoutResource();
161 final CharSequence message = mPreference.getDialogMessage()
    [all...]
  /frameworks/support/v7/preference/src/android/support/v7/preference/
PreferenceDialogFragmentCompat.java 39 private DialogPreference mPreference;
58 mPreference = (DialogPreference) fragment.findPreference(key);
67 .setTitle(mPreference.getDialogTitle())
68 .setIcon(mPreference.getDialogIcon())
69 .setPositiveButton(mPreference.getPositiveButtonText(), this)
70 .setNegativeButton(mPreference.getNegativeButtonText(), this);
77 builder.setMessage(mPreference.getDialogMessage());
100 return mPreference;
139 final int resId = mPreference.getDialogLayoutResource();
159 final CharSequence message = mPreference.getDialogMessage()
    [all...]

Completed in 298 milliseconds