Home
last modified time | relevance | path

Searched refs:windowInsets (Results 1 – 5 of 5) sorted by relevance

/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/individual/
DIndividualPickerActivity.java155 .setOnApplyWindowInsetsListener((view, windowInsets) -> { in initializeUI()
158 windowInsets.getSystemWindowInsetTop(), in initializeUI()
165 WindowInsets.Builder builder = new WindowInsets.Builder(windowInsets); in initializeUI()
168 windowInsets.getSystemWindowInsetLeft(), in initializeUI()
170 windowInsets.getStableInsetRight(), in initializeUI()
171 windowInsets.getSystemWindowInsetBottom())); in initializeUI()
174 return windowInsets.replaceSystemWindowInsets( in initializeUI()
175 windowInsets.getSystemWindowInsetLeft(), in initializeUI()
177 windowInsets.getStableInsetRight(), in initializeUI()
178 windowInsets.getSystemWindowInsetBottom()); in initializeUI()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DTopLevelPickerActivity.java261 .setOnApplyWindowInsetsListener((view, windowInsets) -> { in initializeMobile()
262 view.setPadding(view.getPaddingLeft(), windowInsets.getSystemWindowInsetTop(), in initializeMobile()
267 WindowInsets.Builder builder = new WindowInsets.Builder(windowInsets); in initializeMobile()
268 builder.setSystemWindowInsets(Insets.of(windowInsets.getSystemWindowInsetLeft(), in initializeMobile()
269 0, windowInsets.getStableInsetRight(), in initializeMobile()
270 windowInsets.getSystemWindowInsetBottom())); in initializeMobile()
273 return windowInsets.replaceSystemWindowInsets( in initializeMobile()
274 windowInsets.getSystemWindowInsetLeft(), in initializeMobile()
275 0, windowInsets.getStableInsetRight(), in initializeMobile()
276 windowInsets.getSystemWindowInsetBottom()); in initializeMobile()
DPreviewFragment.java242 view.setOnApplyWindowInsetsListener((v, windowInsets) -> { in onCreateView() argument
244 toolbar.getPaddingTop() + windowInsets.getSystemWindowInsetTop(), in onCreateView()
248 mBottomSheet.getPaddingBottom() + windowInsets.getSystemWindowInsetBottom()); in onCreateView()
249 WindowInsets.Builder builder = new WindowInsets.Builder(windowInsets); in onCreateView()
250 builder.setSystemWindowInsets(Insets.of(windowInsets.getSystemWindowInsetLeft(), in onCreateView()
251 0, windowInsets.getStableInsetRight(), 0)); in onCreateView()
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DWorkspaceAndHotseatScrim.java215 WindowInsets windowInsets = mLauncher.getRootView().getRootWindowInsets(); in hasBottomNavButtons() local
216 return windowInsets.getTappableElementInsets().bottom > 0; in hasBottomNavButtons()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/
DBaseSwipeUpHandlerV2.java538 public WindowInsets onApplyWindowInsets(View view, WindowInsets windowInsets) { in onApplyWindowInsets() argument
539 WindowInsets result = view.onApplyWindowInsets(windowInsets); in onApplyWindowInsets()