/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/tv/ |
D | TvPipGravityTest.java | 123 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 …]
|
D | TvPipKeepClearAlgorithmTest.kt | 152 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/ |
D | BottomSheetButtonBarLayout.java | 47 setGravity(Gravity.CENTER_VERTICAL | Gravity.END); in onMeasure() 52 setGravity(Gravity.CENTER_VERTICAL); in onMeasure()
|
/frameworks/base/tests/MultiDeviceInput/src/test/multideviceinput/ |
D | MainActivity.kt | 70 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/ |
D | Gravity.java | 62 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()
|
D | NotificationTopLineView.java | 92 mGravityY = Gravity.CENTER_VERTICAL; in NotificationTopLineView() 200 case Gravity.CENTER_VERTICAL: in onLayout()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/privacy/ |
D | OngoingPrivacyChip.kt | 21 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/ |
D | ListItemFactory.java | 250 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/ |
D | IconMenuItemView.java | 213 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/ |
D | PrivacyDotViewController.kt | 640 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/ |
D | ActionBar.java | 1371 @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/ |
D | ScrollingTabContainerView.java | 385 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/ |
D | GlobalActionsColumnLayout.java | 117 setGravity(Gravity.CENTER_VERTICAL | Gravity.RIGHT); in centerAlongEdge()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/shared/ui/view/ |
D | ModernStatusBarView.kt | 128 lp.gravity = Gravity.CENTER_VERTICAL or Gravity.START in initDotView()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | PrimarySwitchPreference.java | 73 linearLayout.setGravity(Gravity.END | Gravity.CENTER_VERTICAL); in onBindViewHolder()
|
/frameworks/base/packages/SystemUI/accessibility/accessibilitymenu/src/com/android/systemui/accessibility/accessibilitymenu/view/ |
D | A11yMenuOverlayLayout.java | 215 | 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/ |
D | CommunalTutorialIndicatorSection.kt | 73 gravity = Gravity.CENTER_VERTICAL in addViews()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/ |
D | MenuMessageView.java | 101 setGravity(Gravity.CENTER_VERTICAL); in onAttachedToWindow()
|
/frameworks/base/packages/SettingsLib/ButtonPreference/src/com/android/settingslib/widget/ |
D | ButtonPreference.java | 190 if (gravity == Gravity.CENTER_HORIZONTAL || gravity == Gravity.CENTER_VERTICAL in setGravity()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/ |
D | ButtonPreferenceTest.java | 131 mPreference.setGravity(Gravity.CENTER_VERTICAL); in onBindViewHolder_setGravityCenter_shouldReturnButtonGravityCenterHorizontal()
|
/frameworks/base/core/java/android/widget/ |
D | LinearLayout.java | 178 @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"),
|
D | RelativeLayout.java | 166 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/ |
D | ScreenPinningRequest.java | 192 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/ |
D | QSDualTileLabel.java | 114 tv.setGravity(Gravity.CENTER_VERTICAL); in initTextView()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | PinShapeNonHintingView.java | 73 setGravity(Gravity.END | Gravity.CENTER_VERTICAL); in onLayout()
|