/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
D | AddItemWidgetsBottomSheet.java | 44 private final Rect mInsets; field in AddItemWidgetsBottomSheet 55 mInsets = new Rect(); in AddItemWidgetsBottomSheet() 93 int contentLeft = (width - contentWidth - mInsets.left - mInsets.right) / 2 + mInsets.left; in onLayout() 106 widthUsed = Math.max(2 * margin, 2 * (mInsets.left + mInsets.right)); in onMeasure() 107 } else if (mInsets.bottom > 0) { in onMeasure() 108 widthUsed = mInsets.left + mInsets.right; in onMeasure() 112 2 * (mInsets.left + mInsets.right)); in onMeasure() 158 mInsets.set(insets.left, insets.top, insets.right, insets.bottom); in onApplyWindowInsets() 160 mContent.getPaddingEnd(), mInsets.bottom); in onApplyWindowInsets()
|
D | BaseWidgetSheet.java | 67 protected final Rect mInsets = new Rect(); field in BaseWidgetSheet 289 mInsets.set(insets); in setInsets() 338 2 * (mInsets.left + mInsets.right)); in doMeasure() 339 } else if (mInsets.bottom > 0) { in doMeasure() 340 widthUsed = mInsets.left + mInsets.right; in doMeasure() 344 2 * (mInsets.left + mInsets.right)); in doMeasure() 379 !mActivityContext.getDeviceProfile().isTablet && mInsets.bottom == 0; in setupNavBarColor()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/wm/taskview/ |
D | RemoteCarTaskViewServerImpl.java | 61 private final SparseArray<Rect> mInsets = new SparseArray<>(); field in RemoteCarTaskViewServerImpl 77 mInsets.clear(); 243 mInsets.append(InsetsSource.createId(mInsetsOwner, index, type), frame); 259 if (mInsets.size() == 0) { 264 if (!mInsets.contains(id)) { 269 mInsets.remove(id); 328 + "insets=" + mInsets in toString() 378 if (mInsets.size() == 0) { in applyAllInsets() 387 for (int i = 0; i < mInsets.size(); i++) { in applyAllInsets() 388 final int id = mInsets.keyAt(i); in applyAllInsets() [all …]
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/ |
D | ClusterHalServiceTest.java | 92 Insets mInsets = null; field in ClusterHalServiceTest 102 mInsets = insets; 385 assertThat(mInsets.left).isEqualTo(INSET_LEFT); in testOnDisplayState() 386 assertThat(mInsets.top).isEqualTo(INSET_TOP); in testOnDisplayState() 387 assertThat(mInsets.right).isEqualTo(INSET_RIGHT); in testOnDisplayState() 388 assertThat(mInsets.bottom).isEqualTo(INSET_BOTTOM); in testOnDisplayState() 400 assertThat(mInsets.left).isEqualTo(INSET_LEFT); in testOnDisplayState_DontAcceptPartialDontCare_Bounds() 401 assertThat(mInsets.top).isEqualTo(INSET_TOP); in testOnDisplayState_DontAcceptPartialDontCare_Bounds() 402 assertThat(mInsets.right).isEqualTo(INSET_RIGHT); in testOnDisplayState_DontAcceptPartialDontCare_Bounds() 403 assertThat(mInsets.bottom).isEqualTo(INSET_BOTTOM); in testOnDisplayState_DontAcceptPartialDontCare_Bounds() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | InsettableFrameLayout.java | 15 protected Rect mInsets = new Rect(); field in InsettableFrameLayout 18 return mInsets; in getInsets() 44 setFrameLayoutChildInsets(child, insets, mInsets); in setInsets() 46 mInsets.set(insets); in setInsets() 97 setFrameLayoutChildInsets(child, mInsets, new Rect()); in onViewAdded()
|
D | DeviceProfile.java | 295 private final Rect mInsets = new Rect(); field in DeviceProfile 340 mInsets.set(windowBounds.insets); in DeviceProfile() 433 bottomSheetTopPadding = mInsets.top // statusbar height in DeviceProfile() 599 if (mInsets.bottom + minQsbMargin > hotseatBarBottomSpace) { in DeviceProfile() 600 int availableSpace = hotseatQsbSpace - (mInsets.bottom - hotseatBarBottomSpace); in DeviceProfile() 612 hotseatBarBottomSpacePx = mInsets.bottom + minQsbMargin; in DeviceProfile() 655 int availableResponsiveHeight = heightPx - mInsets.top in DeviceProfile() 677 heightPx - mInsets.top, mResponsiveWorkspaceHeightSpec); in DeviceProfile() 768 allAppsPadding.top = mInsets.top; in DeviceProfile() 1005 bounds.insets.set(mInsets); in toBuilder() [all …]
|
D | LauncherRootView.java | 46 boolean resetState = !insets.equals(mInsets); in handleSystemWindowInsets() 68 if (!insets.equals(mInsets)) { in setInsets() 75 mActivity.getDeviceProfile().updateInsets(mInsets); in dispatchInsets() 76 super.setInsets(mInsets); in dispatchInsets()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/hybridhotseat/ |
D | HotseatEduDialog.java | 58 private final Rect mInsets = new Rect(); field in HotseatEduDialog 137 int leftInset = insets.left - mInsets.left; in setInsets() 138 int rightInset = insets.right - mInsets.right; in setInsets() 139 int bottomInset = insets.bottom - mInsets.bottom; in setInsets() 140 mInsets.set(insets); in setInsets()
|
/packages/apps/Car/Cluster/ClusterOsDouble/src/com/android/car/cluster/osdouble/ |
D | ClusterOsDoubleActivity.java | 98 private Insets mInsets; field in ClusterOsDoubleActivity 173 mInsets = Insets.of(obscuredWidth, obscuredHeight, obscuredWidth, obscuredHeight); 329 if (mBounds == null || mInsets == null) return; in sendDisplayState() 334 mInsets.left, mInsets.top, mInsets.right, mInsets.bottom, in sendDisplayState()
|
/packages/apps/Launcher3/tests/assets/dumpTests/DeviceProfileDumpTest/ |
D | tabletPortrait3Button.txt | 17 mInsets.left: 0.0px (0.0dp) 18 mInsets.top: 104.0px (52.0dp) 19 mInsets.right: 0.0px (0.0dp) 20 mInsets.bottom: 0.0px (0.0dp)
|
D | tabletLandscape3Button.txt | 17 mInsets.left: 0.0px (0.0dp) 18 mInsets.top: 104.0px (52.0dp) 19 mInsets.right: 0.0px (0.0dp) 20 mInsets.bottom: 0.0px (0.0dp)
|
D | twoPanelPortrait_decoupleDepth.txt | 17 mInsets.left: 0.0px (0.0dp) 18 mInsets.top: 133.0px (50.666668dp) 19 mInsets.right: 0.0px (0.0dp) 20 mInsets.bottom: 0.0px (0.0dp)
|
D | twoPanelPortrait3Button_decoupleDepth.txt | 17 mInsets.left: 0.0px (0.0dp) 18 mInsets.top: 133.0px (50.666668dp) 19 mInsets.right: 0.0px (0.0dp) 20 mInsets.bottom: 0.0px (0.0dp)
|
D | twoPanelPortrait3Button.txt | 17 mInsets.left: 0.0px (0.0dp) 18 mInsets.top: 133.0px (50.666668dp) 19 mInsets.right: 0.0px (0.0dp) 20 mInsets.bottom: 0.0px (0.0dp)
|
D | tabletPortrait.txt | 17 mInsets.left: 0.0px (0.0dp) 18 mInsets.top: 104.0px (52.0dp) 19 mInsets.right: 0.0px (0.0dp) 20 mInsets.bottom: 0.0px (0.0dp)
|
D | twoPanelPortrait.txt | 17 mInsets.left: 0.0px (0.0dp) 18 mInsets.top: 133.0px (50.666668dp) 19 mInsets.right: 0.0px (0.0dp) 20 mInsets.bottom: 0.0px (0.0dp)
|
D | phoneVerticalBar.txt | 17 mInsets.left: 118.0px (44.95238dp) 18 mInsets.top: 74.0px (28.190475dp) 19 mInsets.right: 0.0px (0.0dp) 20 mInsets.bottom: 63.0px (24.0dp)
|
D | tabletLandscape.txt | 17 mInsets.left: 0.0px (0.0dp) 18 mInsets.top: 104.0px (52.0dp) 19 mInsets.right: 0.0px (0.0dp) 20 mInsets.bottom: 0.0px (0.0dp)
|
D | twoPanelLandscape3Button.txt | 17 mInsets.left: 0.0px (0.0dp) 18 mInsets.top: 110.0px (41.904762dp) 19 mInsets.right: 0.0px (0.0dp) 20 mInsets.bottom: 0.0px (0.0dp)
|
D | phonePortrait.txt | 17 mInsets.left: 0.0px (0.0dp) 18 mInsets.top: 118.0px (44.95238dp) 19 mInsets.right: 0.0px (0.0dp) 20 mInsets.bottom: 63.0px (24.0dp)
|
D | phonePortrait3Button.txt | 17 mInsets.left: 0.0px (0.0dp) 18 mInsets.top: 118.0px (44.95238dp) 19 mInsets.right: 0.0px (0.0dp) 20 mInsets.bottom: 126.0px (48.0dp)
|
D | twoPanelLandscape3Button_decoupleDepth.txt | 17 mInsets.left: 0.0px (0.0dp) 18 mInsets.top: 110.0px (41.904762dp) 19 mInsets.right: 0.0px (0.0dp) 20 mInsets.bottom: 0.0px (0.0dp)
|
D | twoPanelLandscape_decoupleDepth.txt | 17 mInsets.left: 0.0px (0.0dp) 18 mInsets.top: 110.0px (41.904762dp) 19 mInsets.right: 0.0px (0.0dp) 20 mInsets.bottom: 0.0px (0.0dp)
|
D | twoPanelLandscape.txt | 17 mInsets.left: 0.0px (0.0dp) 18 mInsets.top: 110.0px (41.904762dp) 19 mInsets.right: 0.0px (0.0dp) 20 mInsets.bottom: 0.0px (0.0dp)
|
D | phoneVerticalBar3Button.txt | 17 mInsets.left: 118.0px (44.95238dp) 18 mInsets.top: 74.0px (28.190475dp) 19 mInsets.right: 126.0px (48.0dp) 20 mInsets.bottom: 0.0px (0.0dp)
|