Home
last modified time | relevance | path

Searched refs:DEFAULT_EXPANDED_ROW_COUNT (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/slice/
DContextualWifiSliceTest.java20 import static com.android.settings.wifi.slice.WifiSlice.DEFAULT_EXPANDED_ROW_COUNT;
101 assertThat(ContextualWifiSlice.getApRowCount()).isEqualTo(DEFAULT_EXPANDED_ROW_COUNT); in getWifiSlice_newSession_noConnection_shouldExpandSlice()
113 assertThat(ContextualWifiSlice.getApRowCount()).isEqualTo(DEFAULT_EXPANDED_ROW_COUNT); in getWifiSlice_previousExpanded_hasActiveConnection_shouldExpandSlice()
DWifiSliceTest.java22 import static com.android.settings.wifi.slice.WifiSlice.DEFAULT_EXPANDED_ROW_COUNT;
135 assertThat(rows).isEqualTo(DEFAULT_EXPANDED_ROW_COUNT + 1); in getWifiSlice_noAp_shouldReturnLoadingRow()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/slice/
DWifiScanWorker.java20 import static com.android.car.developeroptions.wifi.slice.WifiSlice.DEFAULT_EXPANDED_ROW_COUNT;
111 if (resultList.size() >= DEFAULT_EXPANDED_ROW_COUNT) { in onAccessPointsChanged()
DWifiSlice.java78 static final int DEFAULT_EXPANDED_ROW_COUNT = 3; field in WifiSlice
127 for (int i = 0; i < DEFAULT_EXPANDED_ROW_COUNT; i++) { in getSlice()
/packages/apps/Settings/src/com/android/settings/wifi/slice/
DWifiScanWorker.java24 import static com.android.settings.wifi.slice.WifiSlice.DEFAULT_EXPANDED_ROW_COUNT;
127 return DEFAULT_EXPANDED_ROW_COUNT; in getApRowCount()
DWifiSlice.java70 static final int DEFAULT_EXPANDED_ROW_COUNT = 3; field in WifiSlice
113 for (int i = 0; i < DEFAULT_EXPANDED_ROW_COUNT; i++) { in getSlice()
DContextualWifiSlice.java78 return sApRowCollapsed ? COLLAPSED_ROW_COUNT : DEFAULT_EXPANDED_ROW_COUNT; in getApRowCount()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/slices/
DNotificationChannelSlice.java95 static final int DEFAULT_EXPANDED_ROW_COUNT = 3; field in NotificationChannelSlice
375 .limit(DEFAULT_EXPANDED_ROW_COUNT) in getDisplayableChannels()
419 if (channelCount > DEFAULT_EXPANDED_ROW_COUNT) { in getSubTitle()
DBluetoothDevicesSlice.java69 static final int DEFAULT_EXPANDED_ROW_COUNT = 3; field in BluetoothDevicesSlice
122 final int deviceCount = Math.min(rows.size(), DEFAULT_EXPANDED_ROW_COUNT); in getSlice()
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/slices/
DBluetoothDevicesSliceTest.java220 mockBluetoothDeviceList(BluetoothDevicesSlice.DEFAULT_EXPANDED_ROW_COUNT + 2); in getSlice_exceedDefaultRowCount_shouldOnlyShowHeaderAndDefaultRowCount()
227 assertThat(rows).isEqualTo(BluetoothDevicesSlice.DEFAULT_EXPANDED_ROW_COUNT + 1); in getSlice_exceedDefaultRowCount_shouldOnlyShowHeaderAndDefaultRowCount()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/slices/
DBluetoothDevicesSlice.java66 static final int DEFAULT_EXPANDED_ROW_COUNT = 2; field in BluetoothDevicesSlice
294 if (bluetoothRows.size() >= DEFAULT_EXPANDED_ROW_COUNT) { in getBluetoothRowBuilders()