Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/policy/
DSystemBarUtils.java47 final int defaultSize = res.getDimensionPixelSize(R.dimen.status_bar_height_default); in getStatusBarHeight() local
52 return Math.max(safeInsetTop, defaultSize + waterfallInsetTop); in getStatusBarHeight()
76 final int defaultSize = in getStatusBarHeightForRotation() local
80 return Math.max(insets.top, defaultSize + waterfallInsets.top); in getStatusBarHeightForRotation()
89 final int defaultSize = context.getResources().getDimensionPixelSize( in getQuickQsOffsetHeight() local
93 return Math.max(defaultSize, statusBarHeight); in getQuickQsOffsetHeight()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DTunablePadding.java92 public TunablePadding add(View view, String key, int defaultSize, int flags) { in add() argument
96 return new TunablePadding(key, defaultSize, flags, view, mTunerService); in add()
100 public static TunablePadding addTunablePadding(View view, String key, int defaultSize, in addTunablePadding() argument
102 return Dependency.get(TunablePaddingService.class).add(view, key, defaultSize, flags); in addTunablePadding()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/
DPipBoundsAlgorithm.java310 final Size defaultSize; in getDefaultBounds() local
315 defaultSize = mSizeSpecSource.getDefaultSize(mDefaultAspectRatio); in getDefaultBounds()
320 defaultBounds.set(0, 0, defaultSize.getWidth(), defaultSize.getHeight()); in getDefaultBounds()
324 Gravity.apply(mDefaultStackGravity, defaultSize.getWidth(), defaultSize.getHeight(), in getDefaultBounds()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
DMirrorWindowControl.java98 final int defaultSize = mContext.getResources().getDimensionPixelSize( in showControl() local
100 lp.width = viewSize.x <= 0 ? defaultSize : viewSize.x; in showControl()
101 lp.height = viewSize.y <= 0 ? defaultSize : viewSize.y; in showControl()
DWindowMagnificationController.java965 final int defaultSize = getMagnificationWindowSizeFromIndex(MagnificationSize.MEDIUM) in getDefaultMagnificationWindowFrameSize() local
967 return new Size(defaultSize, defaultSize); in getDefaultMagnificationWindowFrameSize()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/dialog/ui/composable/
DAlertDialogContent.kt67 val defaultSize = 32.dp in <lambda>() constant
69 Modifier.defaultMinSize(minWidth = defaultSize, minHeight = defaultSize), in <lambda>()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/
DPipBoundsAlgorithmTest.java143 final Size defaultSize = mSizeSpecSource.getDefaultSize(DEFAULT_ASPECT_RATIO); in getDefaultBounds_noOverrideMinSize_matchesDefaultSizeAndAspectRatio() local
148 assertEquals(defaultSize, new Size(defaultBounds.width(), defaultBounds.height())); in getDefaultBounds_noOverrideMinSize_matchesDefaultSizeAndAspectRatio()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskLaunchParamsModifier.java751 final Size defaultSize = LaunchParamsUtil.getDefaultFreeformSize(root, displayArea, in getTaskBounds() local
753 mTmpBounds.set(0, 0, defaultSize.getWidth(), defaultSize.getHeight()); in getTaskBounds()
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEditTextView.java1161 float defaultSize = paint.getTextSize(); in constructChipSpan() local
1180 paint.setTextSize(defaultSize); in constructChipSpan()
/frameworks/base/services/core/java/com/android/server/stats/pull/
DStatsPullAtomService.java4829 final int defaultSize = 0;
4839 Settings.Secure.ACCESSIBILITY_FLOATING_MENU_SIZE, defaultSize, userId);