Home
last modified time | relevance | path

Searched refs:findPreference (Results 1 – 25 of 36) sorted by relevance

12

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/
DAbstractPreferenceController.java36 final Preference preference = screen.findPreference(prefKey); in displayPreference()
92 final Preference pref = group.findPreference(key); in setVisible()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DTunerFragment.java74 getPreferenceScreen().removePreference(findPreference(KEY_PLUGINS)); in onCreatePreferences()
77 getPreferenceScreen().removePreference(findPreference(KEY_DOZE)); in onCreatePreferences()
81 Preference preference = findPreference(DEBUG_ONLY[i]); in onCreatePreferences()
DNavBarTuner.java91 bindLayout((ListPreference) findPreference(LAYOUT)); in onCreatePreferences()
124 ListPreference type = (ListPreference) findPreference(TYPE + "_" + k); in bindButton()
125 Preference keycode = findPreference(KEYCODE + "_" + k); in bindButton()
126 ListPreference icon = (ListPreference) findPreference(ICON + "_" + k); in bindButton()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/inputmethod/
DInputMethodAndSubtypeUtilCompat.java170 final Preference pref = context.findPreference(imiId); in saveInputMethodSubtypeList()
196 .findPreference(imiId + subtypeHashCodeStr); in saveInputMethodSubtypeList()
297 final Preference pref = context.findPreference(imiId); in loadInputMethodSubtypeList()
323 .findPreference(id + subtype.hashCode()); in setSubtypesPreferenceEnabled()
352 .findPreference(id + hashCode); in updateSubtypesPreferenceChecked()
DInputMethodAndSubtypeUtil.java170 final Preference pref = context.findPreference(imiId); in saveInputMethodSubtypeList()
196 .findPreference(imiId + subtypeHashCodeStr); in saveInputMethodSubtypeList()
297 final Preference pref = context.findPreference(imiId); in loadInputMethodSubtypeList()
323 .findPreference(id + subtype.hashCode()); in setSubtypesPreferenceEnabled()
352 .findPreference(id + hashCode); in updateSubtypesPreferenceChecked()
/frameworks/base/core/java/android/preference/
DPreferenceGroup.java242 public Preference findPreference(CharSequence key) { in findPreference() method in PreferenceGroup
257 .findPreference(key); in findPreference()
DPreferenceFragment.java347 public Preference findPreference(CharSequence key) { in findPreference() method in PreferenceFragment
351 return mPreferenceManager.findPreference(key); in findPreference()
DPreferenceManager.java597 public Preference findPreference(CharSequence key) { in findPreference() method in PreferenceManager
602 return mPreferenceScreen.findPreference(key); in findPreference()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/development/
DDeveloperOptionsPreferenceController.java53 mPreference = screen.findPreference(getPreferenceKey()); in displayPreference()
DAbstractEnableAdbPreferenceController.java57 mPreference = (SwitchPreference) screen.findPreference(KEY_ENABLE_ADB); in displayPreference()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/
DAbstractSerialNumberPreferenceController.java57 final Preference pref = screen.findPreference(KEY_SERIAL_NUMBER); in displayPreference()
DAbstractBluetoothAddressPreferenceController.java63 mBtAddress = screen.findPreference(KEY_BT_ADDRESS); in displayPreference()
DAbstractWifiMacAddressPreferenceController.java73 mWifiMacAddress = screen.findPreference(KEY_WIFI_MAC_ADDRESS); in displayPreference()
DAbstractIpAddressPreferenceController.java70 mIpAddress = screen.findPreference(KEY_IP_ADDRESS); in displayPreference()
DAbstractUptimePreferenceController.java80 mUptime = screen.findPreference(KEY_UPTIME); in displayPreference()
DAbstractImsStatusPreferenceController.java92 mImsStatus = screen.findPreference(KEY_IMS_REGISTRATION_STATE); in displayPreference()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/development/
DDeveloperOptionsPreferenceControllerTest.java49 doReturn(mPreference).when(mPreferenceScreen).findPreference(TEST_KEY); in setUp()
DLogpersistPreferenceControllerTest.java76 .findPreference(mController.getPreferenceKey()); in setUp()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/deviceinfo/
DIpAddressPreferenceControllerTest.java57 .findPreference(AbstractIpAddressPreferenceController.KEY_IP_ADDRESS); in setUp()
DSerialNumberPreferenceControllerTest.java52 when(mScreen.findPreference(mPreference.getKey())).thenReturn(mPreference); in setUp()
DBluetoothAddressPreferenceControllerTest.java56 .findPreference(AbstractBluetoothAddressPreferenceController.KEY_BT_ADDRESS); in setUp()
DUptimePreferenceControllerTest.java56 .findPreference(AbstractUptimePreferenceController.KEY_UPTIME); in setUp()
DImsStatusPreferenceControllerTest.java57 .findPreference(AbstractImsStatusPreferenceController.KEY_IMS_REGISTRATION_STATE); in setUp()
DWifiMacAddressPreferenceControllerTest.java76 .findPreference(AbstractWifiMacAddressPreferenceController.KEY_WIFI_MAC_ADDRESS); in setUp()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/core/
DAbstractPreferenceControllerTest.java53 when(mScreen.findPreference(KEY_PREF)).thenReturn(mPreference); in setUp()

12