/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/ |
D | ActionButtonsPreferenceTest.java | 255 final ActionButtonsPreference pref = mock(ActionButtonsPreference.class); in createMock() local 256 when(pref.setButton1Text(anyInt())).thenReturn(pref); in createMock() 257 when(pref.setButton1Icon(anyInt())).thenReturn(pref); in createMock() 258 when(pref.setButton1Enabled(anyBoolean())).thenReturn(pref); in createMock() 259 when(pref.setButton1Visible(anyBoolean())).thenReturn(pref); in createMock() 260 when(pref.setButton1OnClickListener(any(View.OnClickListener.class))).thenReturn(pref); in createMock() 262 when(pref.setButton2Text(anyInt())).thenReturn(pref); in createMock() 263 when(pref.setButton2Icon(anyInt())).thenReturn(pref); in createMock() 264 when(pref.setButton2Enabled(anyBoolean())).thenReturn(pref); in createMock() 265 when(pref.setButton2Visible(anyBoolean())).thenReturn(pref); in createMock() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/inputmethod/ |
D | InputMethodAndSubtypeEnablerManager.java | 88 public boolean onPreferenceChange(final Preference pref, final Object newValue) { in onPreferenceChange() argument 95 if (mAutoSelectionPrefsMap.get(imiId) == pref) { in onPreferenceChange() 96 final TwoStatePreference autoSelectionPref = (TwoStatePreference) pref; in onPreferenceChange() 104 if (pref instanceof InputMethodSubtypePreference) { in onPreferenceChange() 105 final InputMethodSubtypePreference subtypePref = (InputMethodSubtypePreference) pref; in onPreferenceChange() 167 for (final Preference pref : subtypePreferences) { in addInputMethodSubtypePreferences() 168 activeInputMethodsCategory.addPreference(pref); in addInputMethodSubtypePreferences() 169 pref.setOnPreferenceChangeListener(this); in addInputMethodSubtypePreferences() 170 InputMethodAndSubtypeUtil.removeUnnecessaryNonPersistentPreference(pref); in addInputMethodSubtypePreferences() 183 for (final Preference pref : subtypePrefs) { in isNoSubtypesExplicitlySelected() [all …]
|
D | InputMethodAndSubtypeEnablerManagerCompat.java | 89 public boolean onPreferenceChange(final Preference pref, final Object newValue) { in onPreferenceChange() argument 96 if (mAutoSelectionPrefsMap.get(imiId) == pref) { in onPreferenceChange() 97 final TwoStatePreference autoSelectionPref = (TwoStatePreference) pref; in onPreferenceChange() 105 if (pref instanceof InputMethodSubtypePreference) { in onPreferenceChange() 106 final InputMethodSubtypePreference subtypePref = (InputMethodSubtypePreference) pref; in onPreferenceChange() 168 for (final Preference pref : subtypePreferences) { in addInputMethodSubtypePreferences() 169 activeInputMethodsCategory.addPreference(pref); in addInputMethodSubtypePreferences() 170 pref.setOnPreferenceChangeListener(this); in addInputMethodSubtypePreferences() 171 InputMethodAndSubtypeUtil.removeUnnecessaryNonPersistentPreference(pref); in addInputMethodSubtypePreferences() 184 for (final Preference pref : subtypePrefs) { in isNoSubtypesExplicitlySelected() [all …]
|
D | InputMethodAndSubtypeUtil.java | 170 final Preference pref = context.findPreference(imiId); in saveInputMethodSubtypeList() local 171 if (pref == null) { in saveInputMethodSubtypeList() 176 final boolean isImeChecked = (pref instanceof TwoStatePreference) ? in saveInputMethodSubtypeList() 177 ((TwoStatePreference) pref).isChecked() in saveInputMethodSubtypeList() 297 final Preference pref = context.findPreference(imiId); in loadInputMethodSubtypeList() local 298 if (pref instanceof TwoStatePreference) { in loadInputMethodSubtypeList() 299 final TwoStatePreference subtypePref = (TwoStatePreference) pref; in loadInputMethodSubtypeList() 322 final TwoStatePreference pref = (TwoStatePreference) preferenceScreen in setSubtypesPreferenceEnabled() local 324 if (pref != null) { in setSubtypesPreferenceEnabled() 325 pref.setEnabled(enabled); in setSubtypesPreferenceEnabled() [all …]
|
D | InputMethodAndSubtypeUtilCompat.java | 170 final Preference pref = context.findPreference(imiId); in saveInputMethodSubtypeList() local 171 if (pref == null) { in saveInputMethodSubtypeList() 176 final boolean isImeChecked = (pref instanceof TwoStatePreference) ? in saveInputMethodSubtypeList() 177 ((TwoStatePreference) pref).isChecked() in saveInputMethodSubtypeList() 297 final Preference pref = context.findPreference(imiId); in loadInputMethodSubtypeList() local 298 if (pref instanceof TwoStatePreference) { in loadInputMethodSubtypeList() 299 final TwoStatePreference subtypePref = (TwoStatePreference) pref; in loadInputMethodSubtypeList() 322 final TwoStatePreference pref = (TwoStatePreference) preferenceScreen in setSubtypesPreferenceEnabled() local 324 if (pref != null) { in setSubtypesPreferenceEnabled() 325 pref.setEnabled(enabled); in setSubtypesPreferenceEnabled() [all …]
|
D | InputMethodPreference.java | 69 void onSaveInputMethodPreference(InputMethodPreference pref); in onSaveInputMethodPreference() argument
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/wifi/ |
D | AccessPointPreferenceTest.java | 69 final AccessPointPreference pref = mock(AccessPointPreference.class); in refresh_openNetwork_updateContentDescription() local 70 when(pref.getTitle()).thenReturn(ssid); in refresh_openNetwork_updateContentDescription() 71 when(pref.getSummary()).thenReturn(summary); in refresh_openNetwork_updateContentDescription() 74 RuntimeEnvironment.application, pref, ap)) in refresh_openNetwork_updateContentDescription() 84 AccessPointPreference pref = createWithAccessPoint(mockAccessPoint); in refresh_shouldUpdateIcon() local 85 pref.refresh(); in refresh_shouldUpdateIcon()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
D | TunerActivity.java | 91 public boolean onPreferenceStartFragment(PreferenceFragment caller, Preference pref) { in onPreferenceStartFragment() argument 93 Class<?> cls = Class.forName(pref.getFragment()); in onPreferenceStartFragment() 96 b.putString(PreferenceFragment.ARG_PREFERENCE_ROOT, pref.getKey()); in onPreferenceStartFragment() 99 setTitle(pref.getTitle()); in onPreferenceStartFragment() 111 public boolean onPreferenceStartScreen(PreferenceFragment caller, PreferenceScreen pref) { in onPreferenceStartScreen() argument 115 b.putString(PreferenceFragment.ARG_PREFERENCE_ROOT, pref.getKey()); in onPreferenceStartScreen()
|
D | RadioListPreference.java | 122 SelectablePreference pref = new SelectablePreference(context); in update() local 123 getPreferenceScreen().addPreference(pref); in update() 124 pref.setTitle(entry); in update() 125 pref.setChecked(Objects.equals(current, values[i])); in update() 126 pref.setKey(String.valueOf(i)); in update()
|
D | PluginFragment.java | 113 SwitchPreference pref = new PluginPreference(prefContext, app, mPluginEnabler); in loadPrefs() 114 pref.setSummary("Plugins: " + toString(plugins.get(app.packageName))); in loadPrefs() 115 screen.addPreference(pref); in loadPrefs()
|
/frameworks/layoutlib/bridge/src/android/preference/ |
D | Preference_Delegate.java | 41 /*package*/ static View getView(Preference pref, View convertView, ViewGroup parent) { in getView() argument 42 Context context = pref.getContext(); in getView() 44 convertView = pref.getView_Original(convertView, parent); in getView() 46 Object cookie = bc.getCookie(pref); in getView()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/ |
D | AbstractSerialNumberPreferenceController.java | 57 final Preference pref = screen.findPreference(KEY_SERIAL_NUMBER); in displayPreference() local 58 if (pref != null) { in displayPreference() 59 pref.setSummary(mSerialNumber); in displayPreference()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/ |
D | AbstractPreferenceController.java | 92 final Preference pref = group.findPreference(key); in setVisible() local 93 if (pref != null) { in setVisible() 94 pref.setVisible(isVisible); in setVisible()
|
/frameworks/opt/vcard/tests/res/raw/ |
D | v30_ios_613_multiline.vcf | 11 item1.EMAIL;type=INTERNET;type=pref:bob@smithauto.com 13 TEL;type=CELL;type=VOICE;type=pref:(650) 555-1212 15 item2.URL;type=pref:www.smithauto.com
|
/frameworks/base/core/java/android/text/method/ |
D | QwertyKeyListener.java | 92 int pref = 0; in onKeyDown() local 95 pref = TextKeyListener.getInstance().getPrefs(view.getContext()); in onKeyDown() 199 if ((pref & TextKeyListener.AUTO_CAP) != 0 in onKeyDown() 250 if ((pref & TextKeyListener.AUTO_TEXT) != 0 && mAutoText && in onKeyDown() 284 if ((pref & TextKeyListener.AUTO_PERIOD) != 0 && mAutoText) { in onKeyDown()
|
D | MultiTapKeyListener.java | 91 int pref = 0; in onKeyDown() local 94 pref = TextKeyListener.getInstance().getPrefs(view.getContext()); in onKeyDown() 179 if ((pref & TextKeyListener.AUTO_CAP) != 0 && in onKeyDown()
|
D | PasswordTransformationMethod.java | 103 int pref = TextKeyListener.getInstance().getPrefs(v.getContext()); in onTextChanged() local 104 if ((pref & TextKeyListener.SHOW_PASSWORD) != 0) { in onTextChanged()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
D | AccessPointPreference.java | 273 static CharSequence buildContentDescription(Context context, Preference pref, AccessPoint ap) { in buildContentDescription() argument 274 CharSequence contentDescription = pref.getTitle(); in buildContentDescription() 275 final CharSequence summary = pref.getSummary(); in buildContentDescription()
|
/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/ |
D | NetworkActivity.java | 227 boolean pref = sharedPrefs.getBoolean("summaryPref", false); in loadXmlFromNetwork() 256 if (pref) { in loadXmlFromNetwork()
|
/frameworks/base/core/java/android/preference/ |
D | PreferenceActivity.java | 1422 public boolean onPreferenceStartFragment(PreferenceFragment caller, Preference pref) { in onPreferenceStartFragment() argument 1423 startPreferencePanel(pref.getFragment(), pref.getExtras(), pref.getTitleRes(), in onPreferenceStartFragment() 1424 pref.getTitle(), null, 0); in onPreferenceStartFragment()
|
D | PreferenceFragment.java | 154 boolean onPreferenceStartFragment(PreferenceFragment caller, Preference pref); in onPreferenceStartFragment() argument
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 54929 field public static final java.lang.String AUTH_SCHEME_PREF = "http.auth.scheme-pref";
|