Home
last modified time | relevance | path

Searched refs:insets (Results 1 – 10 of 10) sorted by relevance

/development/samples/ThemedNavBarKeyboard/src/com/example/android/themednavbarkeyboard/
DThemedNavBarKeyboard.java141 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/XYZTouristAttractions/Wearable/src/com.example.android.xyztouristattractions/ui/
DAttractionsActivity.java92 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()
DAttractionsGridPagerAdapter.java85 public void setInsets(Rect insets) { in setInsets() argument
86 mInsets = insets; in setInsets()
/development/samples/browseable/GridViewPager/src/com.example.android.wearable.gridviewpager/
DMainActivity.java38 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/WatchFace/Wearable/src/com.example.android.wearable.watchface/
DInteractiveWatchFaceService.java108 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()
DDigitalWatchFaceWearableConfigActivity.java65 public WindowInsets onApplyWindowInsets(View v, WindowInsets insets) { in onCreate()
66 if (!insets.isRound()) { in onCreate()
73 return v.onApplyWindowInsets(insets); in onCreate()
DFitDistanceWatchFaceService.java288 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()
DFitStepsWatchFaceService.java286 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()
DDigitalWatchFaceService.java292 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()
/development/tools/repo_diff/service/repodiff/persistence/filesystem/testdata/
Dcommit.csv1795 …0GwVRSsKXtPWk30gcjA@fakeemail.com,Adding CTS test to ensure non-negative insets for offscreen pinn…
1861 …tform/cts,fake_JjshIBfgR6eD0XDripm9lg@fakeemail.com,Cts test for respecting insets when ellipsizing
37250 …es/apps/Launcher3,fake_LC9U8-5PTGeoLepPdAlA9Q@fakeemail.com,Adding support for non-zero left insets
37760 …MmADjfERUmanXnpFPvGfQ@fakeemail.com,Avoid unnecessary layout passes from insets callbacks if they …
38025 …er3,fake_pzs104lVTWqwNbpSocshYA@fakeemail.com,Remove background scrim when there are no top insets.
96445 …works/base,fake_5Jd0GwVRSsKXtPWk30gcjA@fakeemail.com,Account for content insets in source rect hin…
98121 …meworks/base,fake_D7cd21DdTOO-L7qCGW_N3Q@fakeemail.com,Keyguard: Reapply insets when fitsSystemWin…
98147 …rm/frameworks/base,fake_vf_N2SLkRcCnJkzZlRElTg@fakeemail.com,Relayout when base inner insets change
98502 …rm/frameworks/base,fake_7iw4z1pyRnm0S7ztCvibUQ@fakeemail.com,Get correct insets of the phone scree…
106225 …7,platform/frameworks/base,fake_F5fPln3_R8-HE6mhghSjJA@fakeemail.com,Update screen edge insets size
[all …]