Home
last modified time | relevance | path

Searched refs:CENTER_VERTICAL (Results 1 – 25 of 61) sorted by relevance

123

/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/tv/
DTvPipGravityTest.java123 Gravity.CENTER_VERTICAL | Gravity.RIGHT); in updateGravity_expand_vertical()
125 Gravity.CENTER_VERTICAL | Gravity.RIGHT); in updateGravity_expand_vertical()
127 Gravity.CENTER_VERTICAL | Gravity.LEFT); in updateGravity_expand_vertical()
129 Gravity.CENTER_VERTICAL | Gravity.LEFT); in updateGravity_expand_vertical()
151 assertGravityAfterCollapse(Gravity.CENTER_VERTICAL | Gravity.RIGHT, in updateGravity_collapse()
153 assertGravityAfterCollapse(Gravity.CENTER_VERTICAL | Gravity.LEFT, in updateGravity_collapse()
248 mTvPipBoundsState.setTvPipGravity(Gravity.CENTER_VERTICAL | Gravity.RIGHT); in updateGravity_move_expanded_valid()
249 moveAndCheckGravity(KEYCODE_DPAD_LEFT, Gravity.CENTER_VERTICAL | Gravity.LEFT, true); in updateGravity_move_expanded_valid()
250 moveAndCheckGravity(KEYCODE_DPAD_RIGHT, Gravity.CENTER_VERTICAL | Gravity.RIGHT, true); in updateGravity_move_expanded_valid()
288 mTvPipBoundsState.setTvPipGravity(Gravity.CENTER_VERTICAL | Gravity.RIGHT); in updateGravity_move_expanded_invalid()
[all …]
DTvPipKeepClearAlgorithmTest.kt152 gravity = Gravity.RIGHT or Gravity.CENTER_VERTICAL in testAnchorPosition_RightCenterVertical()
159 gravity = Gravity.LEFT or Gravity.CENTER_VERTICAL in testAnchorPosition_LeftCenterVertical()
466 gravity = Gravity.RIGHT or Gravity.CENTER_VERTICAL in test_ExpandedPiPHeightExceedsMovementBounds_AtAnchor()
474 gravity = Gravity.RIGHT or Gravity.CENTER_VERTICAL in test_ExpandedPiPHeightExceedsMovementBounds_BottomBar_StashedUp()
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/
DBottomSheetButtonBarLayout.java47 setGravity(Gravity.CENTER_VERTICAL | Gravity.END); in onMeasure()
52 setGravity(Gravity.CENTER_VERTICAL); in onMeasure()
/frameworks/base/tests/MultiDeviceInput/src/test/multideviceinput/
DMainActivity.kt70 wmlp.gravity = Gravity.CENTER_VERTICAL or Gravity.START in onResume()
77 wmlp.gravity = Gravity.CENTER_VERTICAL or Gravity.END in onResume()
/frameworks/base/core/java/android/view/
DGravity.java62 public static final int CENTER_VERTICAL = AXIS_SPECIFIED<<AXIS_Y_SHIFT; field in Gravity
76 public static final int CENTER = CENTER_VERTICAL|CENTER_HORIZONTAL;
148 Gravity.CENTER_VERTICAL,
513 if ((gravity & CENTER_VERTICAL) == CENTER_VERTICAL) { in toString()
DNotificationTopLineView.java92 mGravityY = Gravity.CENTER_VERTICAL; in NotificationTopLineView()
200 case Gravity.CENTER_VERTICAL: in onLayout()
/frameworks/base/packages/SystemUI/src/com/android/systemui/privacy/
DOngoingPrivacyChip.kt21 import android.view.Gravity.CENTER_VERTICAL in <lambda>()
58 layoutParams = LayoutParams(WRAP_CONTENT, MATCH_PARENT, CENTER_VERTICAL or END) in <lambda>()
/frameworks/base/core/tests/coretests/src/android/util/
DListItemFactory.java250 t1.setGravity(Gravity.START | Gravity.CENTER_VERTICAL); in doubleText()
259 t2.setGravity(Gravity.RIGHT | Gravity.CENTER_VERTICAL); in doubleText()
/frameworks/base/core/java/com/android/internal/view/menu/
DIconMenuItemView.java213 setGravity(Gravity.CENTER_VERTICAL | Gravity.CENTER_HORIZONTAL); in setIcon()
304 Gravity.apply(Gravity.CENTER_VERTICAL | Gravity.START, mIcon.getIntrinsicWidth(), mIcon in positionIcon()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/events/
DPrivacyDotViewController.kt640 TOP_LEFT -> Gravity.CENTER_VERTICAL or Gravity.RIGHT in Int()
641 TOP_RIGHT -> Gravity.CENTER_VERTICAL or Gravity.LEFT in Int()
642 BOTTOM_LEFT -> Gravity.CENTER_VERTICAL or Gravity.RIGHT in Int()
643 BOTTOM_RIGHT -> Gravity.CENTER_VERTICAL or Gravity.LEFT in Int()
/frameworks/base/core/java/android/app/
DActionBar.java1371 @ViewDebug.IntToString(from = Gravity.CENTER_VERTICAL, to = "CENTER_VERTICAL"),
1396 this.gravity = Gravity.CENTER_VERTICAL | Gravity.START; in LayoutParams()
/frameworks/base/core/java/com/android/internal/widget/
DScrollingTabContainerView.java385 setGravity(Gravity.START | Gravity.CENTER_VERTICAL); in TabView()
451 lp.gravity = Gravity.CENTER_VERTICAL; in update()
471 lp.gravity = Gravity.CENTER_VERTICAL; in update()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsColumnLayout.java117 setGravity(Gravity.CENTER_VERTICAL | Gravity.RIGHT); in centerAlongEdge()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/shared/ui/view/
DModernStatusBarView.kt128 lp.gravity = Gravity.CENTER_VERTICAL or Gravity.START in initDotView()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DPrimarySwitchPreference.java73 linearLayout.setGravity(Gravity.END | Gravity.CENTER_VERTICAL); in onBindViewHolder()
/frameworks/base/packages/SystemUI/accessibility/accessibilitymenu/src/com/android/systemui/accessibility/accessibilitymenu/view/
DA11yMenuOverlayLayout.java215 | Gravity.CENTER_VERTICAL | Gravity.CENTER_HORIZONTAL; in updateLayoutPosition()
226 | Gravity.CENTER_VERTICAL | Gravity.CENTER_HORIZONTAL; in updateLayoutPosition()
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/ui/view/layout/sections/
DCommunalTutorialIndicatorSection.kt73 gravity = Gravity.CENTER_VERTICAL in addViews()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
DMenuMessageView.java101 setGravity(Gravity.CENTER_VERTICAL); in onAttachedToWindow()
/frameworks/base/packages/SettingsLib/ButtonPreference/src/com/android/settingslib/widget/
DButtonPreference.java190 if (gravity == Gravity.CENTER_HORIZONTAL || gravity == Gravity.CENTER_VERTICAL in setGravity()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/
DButtonPreferenceTest.java131 mPreference.setGravity(Gravity.CENTER_VERTICAL); in onBindViewHolder_setGravityCenter_shouldReturnButtonGravityCenterHorizontal()
/frameworks/base/core/java/android/widget/
DLinearLayout.java178 @ViewDebug.FlagToString(mask = Gravity.CENTER_VERTICAL,
179 equals = Gravity.CENTER_VERTICAL, name = "CENTER_VERTICAL"),
625 case Gravity.CENTER_VERTICAL: in getBaseline()
1681 case Gravity.CENTER_VERTICAL: in layoutVertical()
1841 case Gravity.CENTER_VERTICAL: in layoutHorizontal()
2069 @ViewDebug.IntToString(from = Gravity.CENTER_VERTICAL, to = "CENTER_VERTICAL"),
DRelativeLayout.java166 public static final int CENTER_VERTICAL = 15; field in RelativeLayout
605 if (rules[CENTER_IN_PARENT] != 0 || rules[CENTER_VERTICAL] != 0) { in onMeasure()
891 if (rules[CENTER_IN_PARENT] != 0 || rules[CENTER_VERTICAL] != 0) { in positionChildVertical()
1253 @ViewDebug.IntToString(from = CENTER_VERTICAL, to = "centerVertical"),
1362 rules[CENTER_VERTICAL] = a.getBoolean(attr, false) ? TRUE : 0; in LayoutParams()
1862 propertyReader.readBoolean(mCenterVerticalId, rules[CENTER_VERTICAL] == TRUE); in readProperties()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DScreenPinningRequest.java192 rotation == ROTATION_SEASCAPE ? (Gravity.CENTER_VERTICAL | Gravity.LEFT) : in getRequestLayoutParams()
193 rotation == ROTATION_LANDSCAPE ? (Gravity.CENTER_VERTICAL | Gravity.RIGHT) in getRequestLayoutParams()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSDualTileLabel.java114 tv.setGravity(Gravity.CENTER_VERTICAL); in initTextView()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DPinShapeNonHintingView.java73 setGravity(Gravity.END | Gravity.CENTER_VERTICAL); in onLayout()

123