Searched refs:windowWidthPx (Results 1 – 5 of 5) sorted by relevance
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/ |
D | SizeCalculator.java | 100 int windowWidthPx = getActivityWindowWidthPx(activity); in getNumCategoryColumns() local 101 return getNumCategoryColumns(activity, windowWidthPx); in getNumCategoryColumns() 109 int windowWidthPx = getActivityWindowWidthPx(activity); in getNumIndividualColumns() local 110 return getNumIndividualColumns(activity, windowWidthPx); in getNumIndividualColumns() 118 int windowWidthPx = getActivityWindowWidthPx(activity); in getNumFeaturedIndividualColumns() local 119 return getNumFeaturedIndividualColumns(activity, windowWidthPx); in getNumFeaturedIndividualColumns() 122 private static int getNumCategoryColumns(Activity activity, int windowWidthPx) { in getNumCategoryColumns() argument 123 return getNumColumns(activity, windowWidthPx, CATEGORY_FEWER_COLUMNS, in getNumCategoryColumns() 127 private static int getNumCategoryColumns(Context context, int windowWidthPx) { in getNumCategoryColumns() argument 128 return getNumColumns(context, windowWidthPx, CATEGORY_FEWER_COLUMNS, in getNumCategoryColumns() [all …]
|
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/util/window/ |
D | WindowManagerProxyTest.kt | 33 private val windowWidthPx = 2000 constant in com.android.launcher3.util.window.WindowManagerProxyTest 48 windowWidthPx, in cutout_at_bottom_right_corner() 59 windowWidthPx, in cutout_at_bottom_left_corner_with_offset() 70 windowWidthPx, in cutout_at_bottom_right_corner_with_offset() 81 windowWidthPx, in cutout_at_bottom_left_corner() 92 windowWidthPx, in cutout_at_bottom_edge_at_bottom_corners() 106 windowWidthPx, in cutout_too_big_not_at_bottom_corners() 120 windowWidthPx, in cutout_too_small_at_bottom_corners() 133 windowWidthPx, in cutout_empty_not_at_bottom_corners()
|
/packages/apps/Car/Launcher/libs/appgrid/lib/src/com/android/car/carlauncher/pagination/ |
D | PageMeasurementHelper.java | 213 public int windowWidthPx; field in PageMeasurementHelper.PageDimensions 225 windowWidthPx = windowWidth; in PageDimensions() 238 + " windowWidthPx: %d".formatted(windowWidthPx) in toString()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/viewcapture_analysis/ |
D | ViewCaptureAnalyzer.java | 119 int windowWidthPx = -1; in analyzeWindowData() local 127 final boolean isFirstFrame = windowWidthPx != rootNode.getWidth() in analyzeWindowData() 130 windowWidthPx = rootNode.getWidth(); in analyzeWindowData()
|
/packages/apps/Car/Launcher/libs/appgrid/lib/src/com/android/car/carlauncher/ |
D | PageIndicator.java | 83 ? (float) gridDimens.gridWidthPx / pageDimens.windowWidthPx in onDimensionsUpdated()
|