/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/ |
D | TileSizeCalculator.java | 120 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/ |
D | Cea708Data.java | 295 public final int columnCount; field in Cea708Data.CaptionWindow 310 int columnCount, in CaptionWindow() argument 323 this.columnCount = columnCount; in CaptionWindow()
|
D | Cea708Parser.java | 768 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/ |
D | DirectoryAddonsAdapter.java | 76 final int columnCount = mEnv.getColumnCount(); in createSpanSizeLookup() 82 return columnCount; in createSpanSizeLookup() 88 ? Math.min(columnCount, 3) : Math.min(columnCount, 2); in createSpanSizeLookup()
|
D | DirectoryFragment.java | 790 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/ |
D | QueryService.java | 77 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/ |
D | CaptionWindowLayout.java | 400 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/ |
D | UserDictionaryProvider.java | 360 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/ |
D | ApnDatabase.java | 275 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/ |
D | FrequentContactsCursorBuilderTest.java | 30 final int columnCount = expected.getColumnCount(); in verifyBuiltCursor() local 32 assertEquals(columnCount, actual.getColumnCount()); in verifyBuiltCursor()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
D | TestDocumentsProvider.java | 150 final int columnCount = cursor.getColumnCount(); in filterCursorByString() local 151 for (int j = 0; j < columnCount; j++) { in filterCursorByString()
|