Searched refs:defaultSize (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/core/java/com/android/internal/policy/ |
D | SystemBarUtils.java | 46 final int defaultSize = res.getDimensionPixelSize(R.dimen.status_bar_height_default); in getStatusBarHeight() local 51 return Math.max(safeInsetTop, defaultSize + waterfallInsetTop); in getStatusBarHeight() 75 final int defaultSize = in getStatusBarHeightForRotation() local 79 return Math.max(insets.top, defaultSize + waterfallInsets.top); in getStatusBarHeightForRotation() 88 final int defaultSize = context.getResources().getDimensionPixelSize( in getQuickQsOffsetHeight() local 92 return Math.max(defaultSize, statusBarHeight); in getQuickQsOffsetHeight()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
D | TunablePadding.java | 92 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/pip/ |
D | PipBoundsAlgorithm.java | 256 final Size defaultSize; in getDefaultBounds() local 261 defaultSize = mPipSizeSpecHandler.getDefaultSize(mDefaultAspectRatio); in getDefaultBounds() 266 defaultBounds.set(0, 0, defaultSize.getWidth(), defaultSize.getHeight()); in getDefaultBounds() 270 Gravity.apply(mDefaultStackGravity, defaultSize.getWidth(), defaultSize.getHeight(), in getDefaultBounds()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/ |
D | MirrorWindowControl.java | 98 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()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/ |
D | PipBoundsAlgorithmTest.java | 129 final Size defaultSize = mPipSizeSpecHandler.getDefaultSize(DEFAULT_ASPECT_RATIO); in getDefaultBounds_noOverrideMinSize_matchesDefaultSizeAndAspectRatio() local 134 assertEquals(defaultSize, new Size(defaultBounds.width(), defaultBounds.height())); in getDefaultBounds_noOverrideMinSize_matchesDefaultSizeAndAspectRatio()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | TaskLaunchParamsModifier.java | 751 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/ |
D | RecipientEditTextView.java | 1161 float defaultSize = paint.getTextSize(); in constructChipSpan() local 1180 paint.setTextSize(defaultSize); in constructChipSpan()
|
/frameworks/base/services/core/java/com/android/server/stats/pull/ |
D | StatsPullAtomService.java | 4580 final int defaultSize = 0; 4590 Settings.Secure.ACCESSIBILITY_FLOATING_MENU_SIZE, defaultSize, userId);
|