Home
last modified time | relevance | path

Searched refs:RowBuilder (Results 1 – 25 of 54) sorted by relevance

123

/packages/apps/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/slices/builders/
DPreferenceSliceBuilder.java138 public PreferenceSliceBuilder addPreference(RowBuilder builder) { in addPreference()
146 public PreferenceSliceBuilder addPreferenceCategory(RowBuilder builder) { in addPreferenceCategory()
155 public PreferenceSliceBuilder addScreenTitle(RowBuilder builder) { in addScreenTitle()
170 public PreferenceSliceBuilder setEmbeddedPreference(RowBuilder builder) { in setEmbeddedPreference()
192 public static class RowBuilder { class in PreferenceSliceBuilder
239 public RowBuilder() { in RowBuilder() method in PreferenceSliceBuilder.RowBuilder
250 public RowBuilder(Uri uri) { in RowBuilder() method in PreferenceSliceBuilder.RowBuilder
261 public RowBuilder(@NonNull ListBuilder parent) { in RowBuilder() method in PreferenceSliceBuilder.RowBuilder
270 public RowBuilder(@NonNull ListBuilder parent, @NonNull Uri uri) { in RowBuilder() method in PreferenceSliceBuilder.RowBuilder
279 public RowBuilder(@NonNull Context context, @NonNull Uri uri) { in RowBuilder() method in PreferenceSliceBuilder.RowBuilder
[all …]
DPreferenceSliceBuilderImpl.java64 import com.android.tv.twopanelsettings.slices.builders.PreferenceSliceBuilder.RowBuilder;
132 public void addPreference(@NonNull RowBuilder builder) { in addPreference()
140 public void addPreferenceCategory(@NonNull RowBuilder builder) { in addPreferenceCategory()
148 public void addScreenTitle(@NonNull RowBuilder builder) { in addScreenTitle()
157 addRow(new RowBuilder().setTitle(key), TYPE_FOCUSED_PREFERENCE); in setFocusedPreference()
164 public void setEmbeddedPreference(@NonNull RowBuilder builder) { in setEmbeddedPreference()
173 addRow(new RowBuilder().setTitle(redirectedSliceUri), TYPE_REDIRECTED_SLICE_URI); in setRedirectedSliceUri()
180 private void addRow(@NonNull RowBuilder builder, String type) { in addRow()
285 void fillFrom(RowBuilder builder) { in fillFrom()
354 case RowBuilder.TYPE_ACTION: in fillFrom()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DConnectedDevicesSliceProvider.java55 import com.android.tv.twopanelsettings.slices.builders.PreferenceSliceBuilder.RowBuilder;
200 new RowBuilder() in createGeneralSlice()
224 new RowBuilder() in createBluetoothDeviceSlice()
234 RowBuilder connectionActionPref = new RowBuilder() in createBluetoothDeviceSlice()
269 RowBuilder renamePref = new RowBuilder() in createBluetoothDeviceSlice()
300 RowBuilder forgetPref = new RowBuilder() in createBluetoothDeviceSlice()
330 RowBuilder infoPref = new RowBuilder() in createBluetoothDeviceSlice()
363 new RowBuilder() in updateBluetoothToggle()
400 psb.addPreference(new RowBuilder() in updatePairingButton()
449 psb.addPreferenceCategory(new RowBuilder() in updateConnectedDevices()
[all …]
/packages/apps/Settings/src/com/android/settings/wifi/slice/
DWifiSlice.java113 listBuilder.addRow(new ListBuilder.RowBuilder() in getSlice()
125 protected ListBuilder.RowBuilder getHeaderRow(boolean isWifiEnabled, in getHeaderRow()
134 return new ListBuilder.RowBuilder() in getHeaderRow()
151 protected ListBuilder.RowBuilder getWifiSliceItemRow(WifiSliceItem wifiSliceItem) { in getWifiSliceItemRow()
154 final ListBuilder.RowBuilder rowBuilder = new ListBuilder.RowBuilder() in getWifiSliceItemRow()
241 private ListBuilder.RowBuilder getLoadingRow(CharSequence placeholder) { in getLoadingRow()
248 return new ListBuilder.RowBuilder() in getLoadingRow()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/slices/
DBluetoothDevicesSlice.java227 private ListBuilder.RowBuilder getBluetoothOffHeader() { in getBluetoothOffHeader()
242 return new ListBuilder.RowBuilder() in getBluetoothOffHeader()
249 private ListBuilder.RowBuilder getBluetoothOnHeader() { in getBluetoothOnHeader()
260 return new ListBuilder.RowBuilder() in getBluetoothOnHeader()
282 private List<ListBuilder.RowBuilder> getBluetoothRowBuilders() { in getBluetoothRowBuilders()
283 final List<ListBuilder.RowBuilder> bluetoothRows = new ArrayList<>(); in getBluetoothRowBuilders()
304 final ListBuilder.RowBuilder rowBuilder = new ListBuilder.RowBuilder() in getBluetoothRowBuilders()
DLowStorageSlice.java30 import androidx.slice.builders.ListBuilder.RowBuilder;
117 private RowBuilder buildRowBuilder(CharSequence title, String summary, IconCompat icon) { in buildRowBuilder()
122 return new RowBuilder() in buildRowBuilder()
DFaceSetupSlice.java32 import androidx.slice.builders.ListBuilder.RowBuilder;
143 private static RowBuilder buildRowBuilder(CharSequence title, CharSequence subTitle, in buildRowBuilder()
148 return new RowBuilder() in buildRowBuilder()
DBatteryFixSlice.java41 import androidx.slice.builders.ListBuilder.RowBuilder;
130 sliceBuilder.addRow(new RowBuilder() in getSlice()
176 sliceBuilder.addRow(new RowBuilder() in buildBatteryGoodSlice()
/packages/apps/Settings/tests/unit/src/com/android/settings/network/
DProviderModelSliceTest.java106 ListBuilder.RowBuilder mMockCarrierRowBuild;
203 verify(mListBuilder, times(1)).addRow(any(ListBuilder.RowBuilder.class)); in getSlice_airplaneModeIsOn_oneWifiToggle()
227 verify(mListBuilder, times(5)).addRow(any(ListBuilder.RowBuilder.class)); in getSlice_haveTwoWifiAndOneCarrier_getFiveRow()
250 verify(mListBuilder, times(5)).addRow(any(ListBuilder.RowBuilder.class)); in getSlice_haveOneConnectedWifiAndTwoDisconnectedWifiAndNoCarrier_getFiveRow()
270 verify(mListBuilder, times(4)).addRow(any(ListBuilder.RowBuilder.class)); in getSlice_haveTwoDisconnectedWifiAndNoCarrier_getFourRow()
294 verify(mListBuilder, times(6)).addRow(any(ListBuilder.RowBuilder.class)); in getSlice_haveEthernetAndCarrierAndTwoDisconnectedWifi_getSixRow()
318 verify(mListBuilder, times(6)).addRow(any(ListBuilder.RowBuilder.class)); in getSlice_haveEthernetAndCarrierAndConnectedWifiAndDisconnectedWifi_getSixRow()
405 ListBuilder.RowBuilder createEthernetRow() { in createEthernetRow()
411 protected ListBuilder.RowBuilder getSeeAllRow() { in getSeeAllRow()
417 public ListBuilder.RowBuilder getWifiSliceItemRow(WifiSliceItem wifiSliceItem) { in getWifiSliceItemRow()
DProviderModelSliceHelperTest.java177 ListBuilder.RowBuilder testRowBuild = mProviderModelSliceHelper.createCarrierRow( in createCarrierRow_hasDdsAndActiveNetworkIsNotCellular_verifyTitleAndSummary()
197 ListBuilder.RowBuilder testRowBuild = mProviderModelSliceHelper.createCarrierRow( in createCarrierRow_wifiOnhasDdsAndActiveNetworkIsCellular_verifyTitleAndSummary()
216 ListBuilder.RowBuilder testRowBuild = mProviderModelSliceHelper.createCarrierRow( in createCarrierRow_noNetworkAvailable_verifyTitleAndSummary()
/packages/apps/Settings/src/com/android/settings/slices/
DSliceBuilderUtils.java40 import androidx.slice.builders.ListBuilder.RowBuilder;
245 final RowBuilder rowBuilder = new RowBuilder() in buildToggleSlice()
269 final RowBuilder rowBuilder = new RowBuilder() in buildIntentSlice()
342 final RowBuilder rowBuilder = new RowBuilder() in buildCopyableSlice()
434 final RowBuilder rowBuilder = new RowBuilder() in buildUnavailableSlice()
/packages/apps/Settings/src/com/android/settings/network/
DProviderModelSlice.java327 ListBuilder.RowBuilder createEthernetRow() { in createEthernetRow()
328 final ListBuilder.RowBuilder rowBuilder = new ListBuilder.RowBuilder(); in createEthernetRow()
342 protected ListBuilder.RowBuilder createWifiToggleRow(Context context, boolean isWifiEnabled) { in createWifiToggleRow()
354 return new ListBuilder.RowBuilder() in createWifiToggleRow()
359 protected ListBuilder.RowBuilder getSeeAllRow() { in getSeeAllRow()
362 return new ListBuilder.RowBuilder() in getSeeAllRow()
DProviderModelSliceHelper.java176 protected ListBuilder.RowBuilder createCarrierRow(String networkTypeDescription) { in createCarrierRow()
192 final ListBuilder.RowBuilder rowBuilder = new ListBuilder.RowBuilder() in createCarrierRow()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/
DTestRootProvider.java20 import android.database.MatrixCursor.RowBuilder;
70 final RowBuilder row = c.newRow(); in queryRoots()
84 final RowBuilder row = c.newRow(); in addFile()
98 final RowBuilder row = c.newRow(); in addFolder()
DInspectorProvider.java25 import android.database.MatrixCursor.RowBuilder;
135 final RowBuilder row = c.newRow(); in addFileWithSize()
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/archives/
DResourcesProvider.java22 import android.database.MatrixCursor.RowBuilder;
81 final RowBuilder row = result.newRow(); in queryRoots()
95 final RowBuilder row = result.newRow(); in queryDocument()
143 final RowBuilder row = result.newRow(); in includeDocument()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/sorting/
DSortingCursorWrapperTest.java119 MatrixCursor.RowBuilder row = c.newRow(); in setUp()
233 MatrixCursor.RowBuilder row = c.newRow(); in testSort_sizesWithBucketing_ascending()
285 MatrixCursor.RowBuilder row = c.newRow(); in testSort_sizesWithBucketing_descending()
338 MatrixCursor.RowBuilder row = c.newRow(); in testSort_time_ascending()
345 MatrixCursor.RowBuilder row = c.newRow(); in testSort_time_ascending()
375 MatrixCursor.RowBuilder row = c.newRow(); in testSort_time_descending()
382 MatrixCursor.RowBuilder row = c.newRow(); in testSort_time_descending()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaDocumentsProvider.java34 import android.database.MatrixCursor.RowBuilder;
1125 final RowBuilder row = result.newRow(); in includeImagesRoot()
1141 final RowBuilder row = result.newRow(); in includeVideosRoot()
1157 final RowBuilder row = result.newRow(); in includeAudioRoot()
1173 final RowBuilder row = result.newRow(); in includeDocumentsRoot()
1183 final RowBuilder row = result.newRow(); in includeImagesRootDocument()
1192 final RowBuilder row = result.newRow(); in includeVideosRootDocument()
1201 final RowBuilder row = result.newRow(); in includeAudioRootDocument()
1208 final RowBuilder row = result.newRow(); in includeDocumentsRootDocument()
1235 final RowBuilder row = result.newRow(); in includeImagesBucket()
[all …]
/packages/apps/Settings/src/com/android/settings/wifi/calling/
DWifiCallingSliceHelper.java43 import androidx.slice.builders.ListBuilder.RowBuilder;
178 .addRow(new RowBuilder() in getWifiCallingSlice()
312 private RowBuilder wifiPreferenceRowBuilder(ListBuilder listBuilder, in wifiPreferenceRowBuilder()
317 return new RowBuilder() in wifiPreferenceRowBuilder()
463 final RowBuilder rowBuilder = new RowBuilder() in getNonActionableWifiCallingSlice()
/packages/apps/Settings/src/com/android/settings/notification/zen/
DZenModeSliceBuilder.java34 import androidx.slice.builders.ListBuilder.RowBuilder;
85 final RowBuilder rowBuilder = new RowBuilder() in getSlice()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DModelTest.java84 MatrixCursor.RowBuilder row = c.newRow(); in setUp()
122 MatrixCursor.RowBuilder row0 = cIn1.newRow(); in testModelIdIsUnique()
126 MatrixCursor.RowBuilder row1 = cIn2.newRow(); in testModelIdIsUnique()
/packages/services/Telephony/src/com/android/phone/
DSimPhonebookProvider.java332 MatrixCursor.RowBuilder row = result.newRow() in addEfToCursor()
366 List<Pair<AdnRecord, MatrixCursor.RowBuilder>> rowBuilders = new ArrayList<>( in querySimRecords()
377 for (Pair<AdnRecord, MatrixCursor.RowBuilder> row : rowBuilders) { in querySimRecords()
382 for (Pair<AdnRecord, MatrixCursor.RowBuilder> row : rowBuilders) { in querySimRecords()
387 for (Pair<AdnRecord, MatrixCursor.RowBuilder> row : rowBuilders) { in querySimRecords()
392 for (Pair<AdnRecord, MatrixCursor.RowBuilder> row : rowBuilders) { in querySimRecords()
397 for (Pair<AdnRecord, MatrixCursor.RowBuilder> row : rowBuilders) { in querySimRecords()
/packages/apps/DocumentsUI/perf-tests/src/com/android/documentsui/
DStressProvider.java23 import android.database.MatrixCursor.RowBuilder;
179 final RowBuilder row = result.newRow(); in includeRoot()
187 final RowBuilder row = result.newRow(); in includeDocument()
/packages/apps/Settings/src/com/android/settings/location/
DLocationSlice.java34 import androidx.slice.builders.ListBuilder.RowBuilder;
68 .addRow(new RowBuilder() in getSlice()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DPhoneLookupWithStarPrefix.java84 final MatrixCursor.RowBuilder b = matrixCursor.newRow(); in removeNonStarMatchesFromCursor()
175 final MatrixCursor.RowBuilder b = matrixCursor.newRow(); in removeNoMatchPhoneNumber()

123