/frameworks/support/compat/java/android/support/v4/view/ |
WindowInsetsCompat.java | 32 private final Object mInsets; 35 mInsets = insets; 45 mInsets = src == null ? null : new WindowInsets((WindowInsets) src.mInsets); 47 mInsets = null; 62 return ((WindowInsets) mInsets).getSystemWindowInsetLeft(); 79 return ((WindowInsets) mInsets).getSystemWindowInsetTop(); 96 return ((WindowInsets) mInsets).getSystemWindowInsetRight(); 113 return ((WindowInsets) mInsets).getSystemWindowInsetBottom(); 130 return ((WindowInsets) mInsets).hasSystemWindowInsets() [all...] |
/frameworks/support/design/src/android/support/design/internal/ |
ScrimInsetsFrameLayout.java | 43 Rect mInsets; 70 if (null == mInsets) { 71 mInsets = new Rect(); 73 mInsets.set(insets.getSystemWindowInsetLeft(), 91 if (mInsets != null && mInsetForeground != null) { 96 mTempRect.set(0, 0, width, mInsets.top); 101 mTempRect.set(0, height - mInsets.bottom, width, height); 106 mTempRect.set(0, mInsets.top, mInsets.left, height - mInsets.bottom) [all...] |
/frameworks/support/v7/appcompat/tests/src/android/support/v7/custom/ |
FitWindowsContentLayout.java | 26 private final Rect mInsets = new Rect(); 44 mInsets.set(insets); 54 return mInsets;
|
/frameworks/base/core/java/com/android/internal/policy/ |
DividerSnapAlgorithm.java | 67 private final Rect mInsets = new Rect(); 115 mInsets.set(insets); 137 int statusBarSize = mInsets.top; 138 int navBarSize = mIsHorizontalDivision ? mInsets.bottom : mInsets.right; 225 return mInsets.top; 227 return mInsets.left; 233 return mInsets.bottom; 235 return mInsets.right; 262 int navBarSize = isHorizontalDivision ? mInsets.bottom : mInsets.right [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
InsettableFrameLayout.java | 19 protected Rect mInsets = new Rect(); 22 return mInsets; 48 if (insets.equals(mInsets)) return; 53 setFrameLayoutChildInsets(child, insets, mInsets); 55 mInsets.set(insets); 102 setFrameLayoutChildInsets(child, mInsets, new Rect());
|
DeviceProfile.java | 135 private Rect mInsets = new Rect(); 358 mInsets.set(insets); 411 if (mInsets.left > 0) { 412 padding.set(mInsets.left + pageIndicatorLandGutterLeftNavBarPx, 0, 413 hotseatBarHeightPx + hotseatLandGutterPx - mInsets.left, 2 * edgeMarginPx); 452 return new Rect(mInsets.left + dropTargetBarSizePx + edgeMarginPx, 453 mInsets.top, 454 mInsets.left + availableWidthPx - hotseatBarHeightPx - edgeMarginPx, 455 mInsets.top + availableHeightPx); 458 return new Rect(mInsets.left [all...] |
LauncherRootView.java | 47 boolean rawInsetsChanged = !mInsets.equals(insets);
|
PagedView.java | 183 protected final Rect mInsets = new Rect(); 675 int maxSize = Math.max(dm.widthPixels + mInsets.left + mInsets.right, 676 dm.heightPixels + mInsets.top + mInsets.bottom); 743 - mInsets.left - mInsets.right; 745 - mInsets.top - mInsets.bottom; 806 childTop = offsetY + getPaddingTop() + mInsets.top [all...] |
Workspace.java | 370 mInsets.set(insets); 376 ((Insettable) customContent).setInsets(mInsets); 781 ((Insettable)customContent).setInsets(mInsets); [all...] |
/developers/build/prebuilts/gradle/XYZTouristAttractions/Wearable/src/main/java/com/example/android/xyztouristattractions/ui/ |
AttractionsActivity.java | 71 private Rect mInsets = new Rect(0, 0, 0, 0); 99 mInsets.set(insets.getSystemWindowInsetLeft(), 110 mInsets = Utils.calculateBottomInsetsOnRoundDevice( 111 getWindowManager().getDefaultDisplay(), mInsets); 116 params.bottomMargin = mInsets.bottom; 120 mAdapter.setInsets(mInsets);
|
AttractionsGridPagerAdapter.java | 69 private Rect mInsets = new Rect(); 86 mInsets = insets; 120 params.bottomMargin = params.bottomMargin + mInsets.bottom; 121 params.leftMargin = mInsets.left; 122 params.rightMargin = mInsets.right;
|
/developers/samples/android/wearable/wear/XYZTouristAttractions/Wearable/src/main/java/com/example/android/xyztouristattractions/ui/ |
AttractionsActivity.java | 71 private Rect mInsets = new Rect(0, 0, 0, 0); 99 mInsets.set(insets.getSystemWindowInsetLeft(), 110 mInsets = Utils.calculateBottomInsetsOnRoundDevice( 111 getWindowManager().getDefaultDisplay(), mInsets); 116 params.bottomMargin = mInsets.bottom; 120 mAdapter.setInsets(mInsets);
|
AttractionsGridPagerAdapter.java | 69 private Rect mInsets = new Rect(); 86 mInsets = insets; 120 params.bottomMargin = params.bottomMargin + mInsets.bottom; 121 params.leftMargin = mInsets.left; 122 params.rightMargin = mInsets.right;
|
/development/samples/browseable/XYZTouristAttractions/Wearable/src/com.example.android.xyztouristattractions/ui/ |
AttractionsActivity.java | 71 private Rect mInsets = new Rect(0, 0, 0, 0); 99 mInsets.set(insets.getSystemWindowInsetLeft(), 110 mInsets = Utils.calculateBottomInsetsOnRoundDevice( 111 getWindowManager().getDefaultDisplay(), mInsets); 116 params.bottomMargin = mInsets.bottom; 120 mAdapter.setInsets(mInsets);
|
AttractionsGridPagerAdapter.java | 69 private Rect mInsets = new Rect(); 86 mInsets = insets; 120 params.bottomMargin = params.bottomMargin + mInsets.bottom; 121 params.leftMargin = mInsets.left; 122 params.rightMargin = mInsets.right;
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
WidgetsBottomSheet.java | 71 private Rect mInsets; 86 mInsets = new Rect(); 251 int leftInset = insets.left - mInsets.left; 252 int rightInset = insets.right - mInsets.right; 253 int bottomInset = insets.bottom - mInsets.bottom; 254 mInsets.set(insets);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
BoxInsetLayout.java | 49 private Rect mInsets; 65 if (mInsets == null) { 66 mInsets = new Rect(); 84 mInsets.set( 104 return mInsets;
|
/frameworks/support/wear/src/android/support/wear/widget/ |
BoxInsetLayout.java | 58 private Rect mInsets; 106 if (mInsets == null) { 107 mInsets = new Rect(); 122 mInsets.set(insets.getSystemWindowInsetLeft(), insets.getSystemWindowInsetTop(), 153 mInsets.set(insets.getSystemWindowInsetLeft(), insets.getSystemWindowInsetTop(),
|
/prebuilts/sdk/current/support/wear/libs/ |
android-support-wear.jar | |
/prebuilts/sdk/current/support/design/libs/ |
android-support-design.jar | |
/prebuilts/sdk/current/support/compat/libs/ |
android-support-compat.jar | |