Home
last modified time | relevance | path

Searched refs:columnCount (Results 1 – 24 of 24) sorted by relevance

/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
DSizeCalculator.java177 int columnCount = getNumCategoryColumns(activity, windowWidthPx); in getCategoryTileSize() local
178 return getSquareTileSize(columnCount, windowWidthPx, in getCategoryTileSize()
189 int columnCount = getNumCategoryColumns(context, windowWidthPx); in getCategoryTileSize() local
190 return getSquareTileSize(columnCount, windowWidthPx, in getCategoryTileSize()
202 int columnCount = getNumFeaturedCategoryColumns(activity, windowWidthPx); in getFeaturedCategoryTileSize() local
203 return getSquareTileSize(columnCount, windowWidthPx, in getFeaturedCategoryTileSize()
214 int columnCount = getNumFeaturedCategoryColumns(context, windowWidthPx); in getFeaturedCategoryTileSize() local
215 return getSquareTileSize(columnCount, windowWidthPx, in getFeaturedCategoryTileSize()
227 int columnCount = getNumIndividualColumns(activity, windowWidthPx); in getIndividualTileSize() local
228 return getSquareTileSize(columnCount, windowWidthPx, in getIndividualTileSize()
[all …]
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/category/ui/viewmodel/
DCategoriesViewModel.kt44 columnCount = 1 in <lambda>()
55 return@map SectionViewModel(tileViewModels = tiles, columnCount = 3) in <lambda>()
62 columnCount = 3 in <lambda>()
DSectionViewModel.kt23 class SectionViewModel(val tileViewModels: List<TileViewModel>, val columnCount: Int) constant in com.android.wallpaper.picker.category.ui.viewmodel.SectionViewModel
/packages/apps/TV/tuner/src/com/android/tv/tuner/data/
DCea708Data.java295 public final int columnCount; field in Cea708Data.CaptionWindow
310 int columnCount, in CaptionWindow() argument
323 this.columnCount = columnCount; in CaptionWindow()
DCea708Parser.java768 int columnCount = data[pos + 4] & 0x3f; in parseC1() local
786 columnCount, in parseC1()
808 columnCount, in parseC1()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/category/ui/view/viewholder/
DTileViewHolder.kt47 columnCount: Int, in bind()
57 if (columnCount == 1 && tileCount == 1) { in bind()
59 } else if (columnCount > 1 && tileCount == 1) { in bind()
DCategorySectionViewHolder.kt49 sectionTiles.adapter = CategoryAdapter(item.tileViewModels, item.columnCount, windowWidth) in bind()
/packages/apps/Contacts/tests/src/com/android/contacts/tests/
DQueryService.java77 final int columnCount = c.getColumnCount(); in onHandleIntent() local
80 for (int i = 0; i < columnCount; i++) { in onHandleIntent()
88 for (int i = 0; i < columnCount; i++) { in onHandleIntent()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/category/ui/view/decoration/
DCategoriesGridPaddingDecoration.kt40 val columnCount = columnCalculator(position) in getItemOffsets() constant
41 if (columnCount > 1) { in getItemOffsets()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DDirectoryAddonsAdapter.java97 final int columnCount = mEnv.getColumnCount(); in createSpanSizeLookup()
103 return columnCount; in createSpanSizeLookup()
109 ? Math.min(columnCount, 3) : Math.min(columnCount, 2); in createSpanSizeLookup()
DDirectoryFragment.java890 int columnCount = mColumnUnit * Math.max(2, in calculateColumnCount() local
895 return Math.max(1, Math.round(columnCount / mLiveScale)); in calculateColumnCount()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/category/ui/binder/
DSectionsBinder.kt45 return sectionsViewModel[position].columnCount in <lambda>()
57 return@CategoriesGridPaddingDecoration sectionsViewModel[position].columnCount in <lambda>()
/packages/modules/AdServices/adservices/tests/unittest/system-service/src/com/android/server/adservices/data/topics/
DTopicsDbTestUtil.java69 SQLiteDatabase db, String tableName, int columnCount) { in doesTableExistAndColumnCountMatch() argument
73 return tableColumns.size() == columnCount; in doesTableExistAndColumnCountMatch()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/grid/
DChooserGridAdapter.java342 int columnCount = holder.getColumnCount(); in loadViewsIntoGroup() local
346 for (int i = 0; i < columnCount; i++) { in loadViewsIntoGroup()
467 int columnCount = holder.getColumnCount(); in bindItemGroupViewHolder() local
468 int end = start + columnCount - 1; in bindItemGroupViewHolder()
498 for (int i = 0; i < columnCount; i++) { in bindItemGroupViewHolder()
/packages/apps/Launcher3/src/com/android/launcher3/celllayout/
DCellPosMapper.java65 public TwoPanelCellPosMapper(int columnCount) { in TwoPanelCellPosMapper() argument
67 mColumnCount = columnCount; in TwoPanelCellPosMapper()
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/model/
DDatabaseHelperTest.kt66 assertEquals(21, c1.columnCount) in <lambda>()
67 assertEquals(19, c2.columnCount) in <lambda>()
/packages/apps/TV/tuner/src/com/android/tv/tuner/cc/
DCaptionWindowLayout.java400 int columnCount = captionWindow.columnCount + 1; in initWindow() local
402 columnCount /= 2; in initWindow()
404 columnCount = Math.min(getScreenColumnCount(), columnCount); in initWindow()
406 for (int i = 0; i < columnCount; ++i) { in initWindow()
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/
DFrequentContactsCursorBuilderTest.java31 final int columnCount = expected.getColumnCount(); in verifyBuiltCursor() local
33 assertEquals(columnCount, actual.getColumnCount()); in verifyBuiltCursor()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestDocumentsProvider.java151 final int columnCount = cursor.getColumnCount(); in filterCursorByString() local
152 for (int j = 0; j < columnCount; j++) { in filterCursorByString()
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/
DUserDictionaryProvider.java360 final int columnCount = sDictProjectionMap.size(); in getEmptyCursorOrThrow() local
361 projection = new String[columnCount]; in getEmptyCursorOrThrow()
362 for (int i = 0; i < columnCount; i++) { in getEmptyCursorOrThrow()
/packages/apps/Messaging/src/com/android/messaging/sms/
DApnDatabase.java275 final int columnCount = cursor.getColumnCount(); in cursorToValues() local
276 if (columnCount > 0) { in cursorToValues()
278 for (int i = 0; i < columnCount; i++) { in cursorToValues()
/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/data/
DDbTestUtil.java95 SQLiteDatabase db, String tableName, int columnCount) { in doesTableExistAndColumnCountMatch() argument
99 return tableColumns.size() == columnCount; in doesTableExistAndColumnCountMatch()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/
DDbTestUtil.java105 SQLiteDatabase db, String tableName, int columnCount) { in doesTableExistAndColumnCountMatch() argument
109 return tableColumns.size() == columnCount; in doesTableExistAndColumnCountMatch()
/packages/modules/IntentResolver/tests/activity/src/com/android/intentresolver/
DChooserActivityTest.java3103 private static GridRecyclerSpanCountMatcher withGridColumnCount(int columnCount) { in withGridColumnCount() argument
3104 return new GridRecyclerSpanCountMatcher(Matchers.is(columnCount)); in withGridColumnCount()