Home
last modified time | relevance | path

Searched refs:adjust (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/phone/
DPhonePipKeepClearAlgorithmTest.java119 final Rect outBounds = mPipKeepClearAlgorithm.adjust( in adjust_withCollidingRestrictedKeepClearArea_moveBounds()
137 final Rect outBounds = mPipKeepClearAlgorithm.adjust( in adjust_withNonCollidingRestrictedKeepClearArea_boundsUnchanged()
156 final Rect outBounds = mPipKeepClearAlgorithm.adjust( in adjust_withCollidingRestrictedKeepClearArea_whileStashed_boundsUnchanged()
175 final Rect outBounds = mPipKeepClearAlgorithm.adjust( in adjust_withNonCollidingRestrictedKeepClearArea_whileStashed_boundsUnchanged()
195 final Rect outBounds = mPipKeepClearAlgorithm.adjust( in adjust_aboveDisplayBounds_onLeftEdge_appliesBottomLeftGravity()
215 final Rect outBounds = mPipKeepClearAlgorithm.adjust( in adjust_belowDisplayBounds_onLeftEdge_appliesBottomLeftGravity()
237 final Rect outBounds = mPipKeepClearAlgorithm.adjust( in adjust_aboveDisplayBounds_onRightEdge_appliesBottomRightGravity()
259 final Rect outBounds = mPipKeepClearAlgorithm.adjust( in adjust_belowDisplayBounds_onRightEdge_appliesBottomRightGravity()
279 final Rect outBounds = mPipKeepClearAlgorithm.adjust( in adjust_whileStashed_aboveDisplayBounds_alignsToBottomInset()
299 final Rect outBounds = mPipKeepClearAlgorithm.adjust( in adjust_whileStashed_belowDisplayBounds_alignsToBottomInset()
/frameworks/base/core/java/android/view/
DNotificationTopLineView.java150 .adjust(mAppName, null, mChildMinWidth) in onMeasure()
153 .adjust(mHeaderText, mHeaderTextDivider, mChildMinWidth) in onMeasure()
155 .adjust(mSecondaryHeaderText, mSecondaryHeaderTextDivider, 0) in onMeasure()
157 .adjust(mTitle, null, mChildMinWidth) in onMeasure()
159 .adjust(mHeaderText, mHeaderTextDivider, 0) in onMeasure()
161 .adjust(mTitle, null, 0) in onMeasure()
422 OverflowAdjuster adjust(View targetView, View targetDivider, int minimumWidth) { in adjust() method in NotificationTopLineView.OverflowAdjuster
DWindowManager.java5999 final int adjust = softInputMode & SOFT_INPUT_MASK_ADJUST; in softInputModeToString() local
6000 if (adjust != 0) { in softInputModeToString()
6002 switch (adjust) { in softInputModeToString()
6013 result.append(adjust); in softInputModeToString()
DView.java7562 final int adjust = Math.max(mScrollCache.scrollBarMinTouchTarget - thumbLength, 0) / 2;
7564 && y >= thumbTop - adjust && y <= thumbTop + thumbLength + adjust) {
7590 final int adjust = Math.max(mScrollCache.scrollBarMinTouchTarget - thumbLength, 0) / 2;
7591 if (x >= thumbLeft - adjust && x <= thumbLeft + thumbLength + adjust
22034 final int adjust = (minTouchTarget - touchBounds.height()) / 2; in getHorizontalScrollBarBounds() local
22035 touchBounds.bottom = Math.min(touchBounds.bottom + adjust, mScrollY + height); in getHorizontalScrollBarBounds()
22039 final int adjust = (minTouchTarget - touchBounds.width()) / 2; in getHorizontalScrollBarBounds() local
22040 touchBounds.left -= adjust; in getHorizontalScrollBarBounds()
22090 final int adjust = (minTouchTarget - touchBounds.width()) / 2; in getStraightVerticalScrollBarBounds() local
22092 touchBounds.right = Math.min(touchBounds.right + adjust, mScrollX + width); in getStraightVerticalScrollBarBounds()
[all …]
DViewRootImpl.java3060 final int adjust = inOutParams.softInputMode & SOFT_INPUT_MASK_ADJUST; in adjustLayoutParamsForCompatibility() local
3113 if (adjust == SOFT_INPUT_ADJUST_RESIZE) { in adjustLayoutParamsForCompatibility()
/frameworks/base/core/java/android/service/notification/
DScheduleCalendar.java104 private long getNextTime(long now, int hr, int min, boolean adjust) { in getNextTime() argument
107 final long time = adjust ? getClosestActualTime(now, hr, min) : getTime(now, hr, min); in getNextTime()
110 return adjust ? getClosestActualTime(tomorrow, hr, min) : getTime(tomorrow, hr, min); in getNextTime()
/frameworks/base/core/java/com/android/internal/inputmethod/
DInputMethodDebug.java111 final int adjust = softInputMode & WindowManager.LayoutParams.SOFT_INPUT_MASK_ADJUST; in softInputModeToString() local
139 switch (adjust) { in softInputModeToString()
153 joiner.add("ADJUST_UNKNOWN(" + adjust + ")"); in softInputModeToString()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/
DPipKeepClearAlgorithmInterface.java35 default Rect adjust(PipBoundsState pipBoundsState, PipBoundsAlgorithm pipBoundsAlgorithm) { in adjust() method
DPhonePipKeepClearAlgorithm.java56 public Rect adjust(PipBoundsState pipBoundsState, PipBoundsAlgorithm pipBoundsAlgorithm) { in adjust() method in PhonePipKeepClearAlgorithm
/frameworks/base/core/java/android/text/method/
DMetaKeyKeyListener.java274 adjust(content, CAP); in adjustMetaAfterKeypress()
275 adjust(content, ALT); in adjustMetaAfterKeypress()
276 adjust(content, SYM); in adjustMetaAfterKeypress()
296 private static void adjust(Spannable content, Object what) { in adjust() method in MetaKeyKeyListener
/frameworks/base/tools/aapt/
DZipFile.cpp951 long delCount, adjust; in crunchArchive() local
969 delCount = adjust = 0; in crunchArchive()
1002 adjust += span; in crunchArchive()
1011 } else if (span != 0 && adjust > 0) { in crunchArchive()
1015 result = filemove(mZipFp, pEntry->getLFHOffset() - adjust, in crunchArchive()
1023 pEntry->setLFHOffset(pEntry->getLFHOffset() - adjust); in crunchArchive()
1032 mEOCD.mCentralDirOffset -= adjust; in crunchArchive()
/frameworks/base/packages/SystemUI/accessibility/accessibilitymenu/
DREADME.md18 The exception to this are buttons that adjust a value, like volume or brightness,
26 Shortcuts that adjust brightness or volume interface directly with
/frameworks/base/media/java/android/media/flags/
Dmedia_better_together.aconfig15 …cription: "Gates whether to adjust local stream volume when the app in the foreground is the last …
/frameworks/libs/systemui/weathereffects/graphics/assets/shaders/
Dsnow_effect.agsl74 // TODO: adjust grid size based on aspect ratio.
114 // TODO: adjust grid size based on aspect ratio
Dsimplex3d.agsl130 // Should multiply by the possible max contribution to adjust the range in [-1,1].
/frameworks/base/core/java/android/widget/
DFastScroller.java1560 final float adjust = targetSizeDiff > 0 ? targetSizeDiff : 0; in isPointInsideX() local
1563 return x >= mThumbImage.getLeft() - adjust; in isPointInsideX()
1565 return x <= mThumbImage.getRight() + adjust; in isPointInsideX()
1576 final float adjust = targetSizeDiff > 0 ? targetSizeDiff / 2 : 0; in isPointInsideY() local
1578 return y >= (top - adjust) && y <= (bottom + adjust); in isPointInsideY()
DGridLayout.java1071 static int adjust(int measureSpec, int delta) { in adjust() method in GridLayout
1087 int widthSpecSansPadding = adjust( widthSpec, -hPadding); in onMeasure()
1088 int heightSpecSansPadding = adjust(heightSpec, -vPadding); in onMeasure()
/frameworks/base/core/java/android/window/flags/
Dlse_desktop_experience.aconfig29 …description: "Enables new initial bounds for desktop windowing which adjust depending on app const…
/frameworks/av/media/audio/aconfig/
Daudio.aconfig127 "When syncing the VGS to VSS we need to first adjust the"
/frameworks/base/services/core/java/com/android/server/wm/
DWallpaperController.java992 boolean adjust = false; in adjustWallpaperWindowsForAppTransitionIfNeeded()
994 adjust = true; in adjustWallpaperWindowsForAppTransitionIfNeeded()
999 adjust = true; in adjustWallpaperWindowsForAppTransitionIfNeeded()
1005 if (adjust) { in adjustWallpaperWindowsForAppTransitionIfNeeded()
/frameworks/native/services/surfaceflinger/sysprop/
DSurfaceFlingerProperties.sysprop370 # to adjust the screen refresh rate based on that.
379 # useSmart90ForVideo indicates whether Scheduler should detect content FPS, and try to adjust the
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPipController.java186 Rect destBounds = mPipKeepClearAlgorithm.adjust(mPipBoundsState, in updatePipPositionForKeepClearAreas()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java7166 private boolean isMuteAdjust(int adjust) { in isMuteAdjust() argument
7167 return adjust == AudioManager.ADJUST_MUTE || adjust == AudioManager.ADJUST_UNMUTE in isMuteAdjust()
7168 || adjust == AudioManager.ADJUST_TOGGLE_MUTE; in isMuteAdjust()
/frameworks/base/proto/src/metrics_constants/
Dmetrics_constants.proto1869 // Tuner: Change night mode adjust dark theme.
1872 // Tuner: Change night mode adjust tint.
1875 // Tuner: Change night mode adjust brightness.
/frameworks/wilhelm/doc/
DDoxyfile813 # Doxygen will adjust the colors in the stylesheet and background images

12