Searched refs:insets (Results 1 – 9 of 9) sorted by relevance
/development/samples/ThemedNavBarKeyboard/src/com/example/android/themednavbarkeyboard/ |
D | ThemedNavBarKeyboard.java | 141 public WindowInsets onApplyWindowInsets(WindowInsets insets) { in onApplyWindowInsets() argument 142 if (insets.isConsumed() in onApplyWindowInsets() 147 return insets; in onApplyWindowInsets() 155 insets.getSystemWindowInsetBottom())) { in onApplyWindowInsets() 158 return insets; in onApplyWindowInsets() 161 final int possibleNavBarHeight = insets.getSystemWindowInsetBottom(); in onApplyWindowInsets() 164 ? insets in onApplyWindowInsets() 165 : insets.replaceSystemWindowInsets( in onApplyWindowInsets() 166 insets.getSystemWindowInsetLeft(), in onApplyWindowInsets() 167 insets.getSystemWindowInsetTop(), in onApplyWindowInsets() [all …]
|
/development/samples/browseable/GridViewPager/src/com.example.android.wearable.gridviewpager/ |
D | MainActivity.java | 38 public WindowInsets onApplyWindowInsets(View v, WindowInsets insets) { in onCreate() 42 final boolean round = insets.isRound(); in onCreate() 51 pager.onApplyWindowInsets(insets); in onCreate() 52 return insets; in onCreate()
|
/development/samples/browseable/XYZTouristAttractions/Wearable/src/com.example.android.xyztouristattractions/ui/ |
D | AttractionsActivity.java | 92 public WindowInsets onApplyWindowInsets(View v, WindowInsets insets) { in onCreate() 94 insets = topFrameLayout.onApplyWindowInsets(insets); in onCreate() 96 boolean round = insets.isRound(); in onCreate() 99 mInsets.set(insets.getSystemWindowInsetLeft(), in onCreate() 100 insets.getSystemWindowInsetTop(), in onCreate() 101 insets.getSystemWindowInsetRight(), in onCreate() 102 insets.getSystemWindowInsetBottom()); in onCreate() 121 return insets; in onCreate()
|
D | AttractionsGridPagerAdapter.java | 85 public void setInsets(Rect insets) { in setInsets() argument 86 mInsets = insets; in setInsets()
|
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/ |
D | InteractiveWatchFaceService.java | 108 public void onApplyWindowInsets(WindowInsets insets) { in onApplyWindowInsets() argument 110 Log.d(TAG, "onApplyWindowInsets: " + (insets.isRound() ? "round" : "square")); in onApplyWindowInsets() 112 super.onApplyWindowInsets(insets); in onApplyWindowInsets() 116 boolean isRound = insets.isRound(); in onApplyWindowInsets()
|
D | DigitalWatchFaceWearableConfigActivity.java | 65 public WindowInsets onApplyWindowInsets(View v, WindowInsets insets) { in onCreate() 66 if (!insets.isRound()) { in onCreate() 73 return v.onApplyWindowInsets(insets); in onCreate()
|
D | FitStepsWatchFaceService.java | 286 public void onApplyWindowInsets(WindowInsets insets) { in onApplyWindowInsets() argument 288 Log.d(TAG, "onApplyWindowInsets: " + (insets.isRound() ? "round" : "square")); in onApplyWindowInsets() 290 super.onApplyWindowInsets(insets); in onApplyWindowInsets() 294 boolean isRound = insets.isRound(); in onApplyWindowInsets()
|
D | FitDistanceWatchFaceService.java | 288 public void onApplyWindowInsets(WindowInsets insets) { in onApplyWindowInsets() argument 289 Log.d(TAG, "onApplyWindowInsets: " + (insets.isRound() ? "round" : "square")); in onApplyWindowInsets() 291 super.onApplyWindowInsets(insets); in onApplyWindowInsets() 295 boolean isRound = insets.isRound(); in onApplyWindowInsets()
|
D | DigitalWatchFaceService.java | 292 public void onApplyWindowInsets(WindowInsets insets) { in onApplyWindowInsets() argument 294 Log.d(TAG, "onApplyWindowInsets: " + (insets.isRound() ? "round" : "square")); in onApplyWindowInsets() 296 super.onApplyWindowInsets(insets); in onApplyWindowInsets() 300 boolean isRound = insets.isRound(); in onApplyWindowInsets()
|