Home
last modified time | relevance | path

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

/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
DTileSizeCalculator.java120 int columnCount = getNumCategoryColumns(activity, windowWidthPx); in getCategoryTileSize() local
121 return getSquareTileSize(appContext, columnCount, windowWidthPx); in getCategoryTileSize()
131 int columnCount = getNumIndividualColumns(activity, windowWidthPx); in getIndividualTileSize() local
132 return getSquareTileSize(appContext, columnCount, windowWidthPx); in getIndividualTileSize()
144 int columnCount = getNumColumns( in getSuggestedThumbnailSize() local
146 return getTileSize(appContext, columnCount, windowWidthPx); in getSuggestedThumbnailSize()
163 private static Point getTileSize(Context context, int columnCount, int windowWidthPx) { in getTileSize() argument
183 int guttersWidthPx = (columnCount + 1) * gridPaddingPx; in getTileSize()
186 int widthPx = Math.round((float) availableWidthPx / columnCount); in getTileSize()
187 int heightPx = Math.round(((float) availableWidthPx / columnCount) in getTileSize()
[all …]
/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/DocumentsUI/src/com/android/documentsui/dirlist/
DDirectoryAddonsAdapter.java76 final int columnCount = mEnv.getColumnCount(); in createSpanSizeLookup()
82 return columnCount; in createSpanSizeLookup()
88 ? Math.min(columnCount, 3) : Math.min(columnCount, 2); in createSpanSizeLookup()
DDirectoryFragment.java790 int columnCount = mColumnUnit * Math.max(2, in calculateColumnCount() local
795 return Math.max(1, Math.round(columnCount / mLiveScale)); in calculateColumnCount()
/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/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/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/apps/Messaging/tests/src/com/android/messaging/datamodel/
DFrequentContactsCursorBuilderTest.java30 final int columnCount = expected.getColumnCount(); in verifyBuiltCursor() local
32 assertEquals(columnCount, actual.getColumnCount()); in verifyBuiltCursor()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestDocumentsProvider.java150 final int columnCount = cursor.getColumnCount(); in filterCursorByString() local
151 for (int j = 0; j < columnCount; j++) { in filterCursorByString()