Home
last modified time | relevance | path

Searched refs:stateList (Results 1 – 9 of 9) sorted by relevance

/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
DResourceUtils.java31 ColorStateList stateList = null; in getColorAttr() local
33 stateList = ta.getColorStateList(0); in getColorAttr()
37 return stateList.getDefaultColor(); in getColorAttr()
/packages/apps/Settings/src/com/android/settings/remoteauth/
DRemoteAuthEnrollBase.kt76 val stateList = Utils.getColorAttr(context, R.attr.windowBackground) in <lambda>() constant
77 return stateList?.defaultColor ?: Color.TRANSPARENT in <lambda>()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/about/
DUtils.java127 ColorStateList stateList = null; in getColorAttr() local
129 stateList = ta.getColorStateList(0); in getColorAttr()
133 return stateList; in getColorAttr()
/packages/apps/Settings/src/com/android/settings/biometrics/
DBiometricEnrollBase.java347 final ColorStateList stateList = Utils.getColorAttr(this, android.R.attr.windowBackground); in getBackgroundColor() local
348 return stateList != null ? stateList.getDefaultColor() : Color.TRANSPARENT; in getBackgroundColor()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/util/
DLibUtils.java157 ColorStateList stateList = null; in getColorAttr() local
159 stateList = ta.getColorStateList(0); in getColorAttr()
163 return stateList; in getColorAttr()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DAccessPointPreference.java348 ColorStateList stateList = null; in getColorAttr() local
350 stateList = ta.getColorStateList(0); in getColorAttr()
354 return stateList; in getColorAttr()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/bugreport/
DLogUtils.java99 final List<BatteryState> stateList = in dumpBatteryStateDatabaseHist() local
101 dumpListItems(writer, stateList, state -> state); in dumpBatteryStateDatabaseHist()
/packages/apps/Settings/src/com/android/settings/biometrics2/ui/view/
DFingerprintEnrollmentActivity.kt611 val stateList: ColorStateList? = in <lambda>() constant in com.android.settings.biometrics2.ui.view.FingerprintEnrollmentActivity
613 return stateList?.defaultColor ?: Color.TRANSPARENT in <lambda>()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/bass_client/
DBassClientServiceTest.java1009 List<BluetoothLeBroadcastReceiveState> stateList = sm.getAllSources(); in injectRemoteSourceState() local
1010 if (stateList == null) { in injectRemoteSourceState()
1011 stateList = new ArrayList<BluetoothLeBroadcastReceiveState>(); in injectRemoteSourceState()
1013 stateList.removeIf(e -> e.getSourceId() == sourceId); in injectRemoteSourceState()
1015 stateList.add(recvState); in injectRemoteSourceState()
1016 doReturn(stateList).when(sm).getAllSources(); in injectRemoteSourceState()
1068 List<BluetoothLeBroadcastReceiveState> stateList = sm.getAllSources(); in injectRemoteSourceStateRemoval() local
1069 if (stateList == null) { in injectRemoteSourceStateRemoval()
1070 stateList = new ArrayList<BluetoothLeBroadcastReceiveState>(); in injectRemoteSourceStateRemoval()
1072 stateList.replaceAll( in injectRemoteSourceStateRemoval()
[all …]