/packages/apps/Car/Launcher/libs/appgrid/lib/src/com/android/car/carlauncher/pagination/ |
D | PageMeasurementHelper.java | 95 public boolean handleWindowSizeChange(int windowWidth, int windowHeight) { in handleWindowSizeChange() argument 97 windowWidth = mDefinedWidth; in handleWindowSizeChange() 100 boolean consumed = windowWidth != mWindowWidth || windowHeight != mWindowHeight; in handleWindowSizeChange() 102 mWindowWidth = windowWidth; in handleWindowSizeChange() 106 int gridWidth = windowWidth - mDefinedMarginHorizontal * 2 in handleWindowSizeChange() 119 int marginHorizontal = (windowWidth - gridWidth) / 2; in handleWindowSizeChange() 128 recyclerViewWidth = windowWidth; in handleWindowSizeChange() 142 windowWidth, windowHeight); in handleWindowSizeChange() 218 int windowWidth, int windowHeight) { in PageDimensions() argument 225 windowWidthPx = windowWidth; in PageDimensions()
|
D | PaginationController.java | 43 int windowWidth = windowBackground.getMeasuredWidth(); in PaginationController() 44 maybeHandleWindowResize(windowWidth, windowHeight); in PaginationController() 49 private void maybeHandleWindowResize(int windowWidth, int windowHeight) { in maybeHandleWindowResize() argument 50 boolean consumed = mPageMeasurementHelper.handleWindowSizeChange(windowWidth, windowHeight); in maybeHandleWindowResize()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/category/ui/view/viewholder/ |
D | TileViewHolder.kt | 49 windowWidth: Int in bind() 58 tileSize = SizeCalculator.getCategoryTileSize(itemView.context, windowWidth) in bind() 60 tileSize = SizeCalculator.getFeaturedCategoryTileSize(itemView.context, windowWidth) in bind() 62 tileSize = SizeCalculator.getFeaturedCategoryTileSize(itemView.context, windowWidth) in bind()
|
D | CategorySectionViewHolder.kt | 32 class CategorySectionViewHolder(itemView: View, val windowWidth: Int) : constant 49 sectionTiles.adapter = CategoryAdapter(item.tileViewModels, item.columnCount, windowWidth) in bind()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/category/ui/binder/ |
D | CategoriesBinder.kt | 35 windowWidth: Int, in <lambda>() 46 SectionsBinder.bind(sectionsListView, sections, windowWidth, lifecycleOwner) in <lambda>()
|
D | SectionsBinder.kt | 35 windowWidth: Int, in <lambda>() 38 sectionsListView.adapter = CategorySectionsAdapter(sectionsViewModel, windowWidth) in <lambda>()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/ |
D | DesktopTaskView.kt | 106 val windowWidth = tempPointF.x.toInt() in <lambda>() constant 108 val scaleWidth = containerWidth / windowWidth.toFloat() in <lambda>() 114 "window=[$windowWidth,$windowHeight] scale=[$scaleWidth,$scaleHeight]" in <lambda>() 126 right = windowWidth / 4 in <lambda>()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/category/ui/view/adapter/ |
D | CategorySectionsAdapter.kt | 29 val windowWidth: Int, constant in com.android.wallpaper.picker.category.ui.view.adapter.CategorySectionsAdapter 49 return CategorySectionViewHolder(view, windowWidth) in createIndividualHolder()
|
D | CategoryAdapter.kt | 28 class CategoryAdapter(var items: List<TileViewModel>, val columns: Int, val windowWidth: Int) : constant in com.android.wallpaper.picker.category.ui.view.adapter.CategoryAdapter 45 windowWidth in onBindViewHolder()
|
/packages/apps/Car/Launcher/app/src/com/android/car/carlauncher/recents/view/ |
D | RecentsRecyclerView.java | 184 int calculateFirstItemPadding(@Px int windowWidth) { in calculateFirstItemPadding() argument 187 return Math.max(0, (windowWidth - (mFirstItemWidth + mColSpacing)) / 2); in calculateFirstItemPadding()
|
/packages/apps/TV/src/com/android/tv/ui/ |
D | TvViewUiManager.java | 165 public void onConfigurationChanged(final int windowWidth, final int windowHeight) { in onConfigurationChanged() argument 166 if (windowWidth > 0 && windowHeight > 0) { in onConfigurationChanged() 167 if (mWindowWidth != windowWidth || mWindowHeight != windowHeight) { in onConfigurationChanged() 168 mWindowWidth = windowWidth; in onConfigurationChanged()
|
/packages/apps/Car/Launcher/app/src/com/android/car/carlauncher/recents/ |
D | RecentTasksViewModel.java | 105 public void init(int displayId, int windowWidth, int windowHeight, @NonNull Rect windowInsets, in init() argument 113 mWindowWidth = windowWidth; in init()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/playback/ |
D | DvrPlaybackOverlayFragment.java | 320 public void onWindowSizeChanged(final int windowWidth, final int windowHeight) { in onWindowSizeChanged() argument 321 mWindowWidth = windowWidth; in onWindowSizeChanged()
|