Home
last modified time | relevance | path

Searched refs:windowWidth (Results 1 – 13 of 13) sorted by relevance

/packages/apps/Car/Launcher/libs/appgrid/lib/src/com/android/car/carlauncher/pagination/
DPageMeasurementHelper.java95 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()
DPaginationController.java43 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/
DTileViewHolder.kt49 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()
DCategorySectionViewHolder.kt32 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/
DCategoriesBinder.kt35 windowWidth: Int, in <lambda>()
46 SectionsBinder.bind(sectionsListView, sections, windowWidth, lifecycleOwner) in <lambda>()
DSectionsBinder.kt35 windowWidth: Int, in <lambda>()
38 sectionsListView.adapter = CategorySectionsAdapter(sectionsViewModel, windowWidth) in <lambda>()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DDesktopTaskView.kt106 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/
DCategorySectionsAdapter.kt29 val windowWidth: Int, constant in com.android.wallpaper.picker.category.ui.view.adapter.CategorySectionsAdapter
49 return CategorySectionViewHolder(view, windowWidth) in createIndividualHolder()
DCategoryAdapter.kt28 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/
DRecentsRecyclerView.java184 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/
DTvViewUiManager.java165 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/
DRecentTasksViewModel.java105 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/
DDvrPlaybackOverlayFragment.java320 public void onWindowSizeChanged(final int windowWidth, final int windowHeight) { in onWindowSizeChanged() argument
321 mWindowWidth = windowWidth; in onWindowSizeChanged()