Home
last modified time | relevance | path

Searched refs:mPreferenceSize (Results 1 – 2 of 2) sorted by relevance

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/connecteddevice/
DPreviouslyConnectedDevicePreferenceController.java44 private int mPreferenceSize; field in PreviouslyConnectedDevicePreferenceController
92 mPreferenceSize++; in onDeviceAdded()
93 if (mPreferenceSize <= MAX_DEVICE_NUM) { in onDeviceAdded()
101 mPreferenceSize--; in onDeviceRemoved()
123 mPreferenceGroup.setVisible(mPreferenceSize > 0); in updatePreferenceVisiblity()
/packages/apps/Settings/src/com/android/settings/connecteddevice/
DPreviouslyConnectedDevicePreferenceController.java44 private int mPreferenceSize; field in PreviouslyConnectedDevicePreferenceController
93 mPreferenceSize++; in onDeviceAdded()
94 if (mPreferenceSize <= MAX_DEVICE_NUM) { in onDeviceAdded()
102 mPreferenceSize--; in onDeviceRemoved()
124 mPreferenceGroup.setVisible(mPreferenceSize > 0); in updatePreferenceVisiblity()