Home
last modified time | relevance | path

Searched refs:RIGHT (Results 1 – 25 of 148) sorted by relevance

123456

/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/tv/
DTvPipGravityTest.java103 checkGravity(mTvPipBoundsState.getDefaultGravity(), Gravity.RIGHT | Gravity.BOTTOM); in regularPip_defaultGravity()
108 checkGravity(mTvPipBoundsState.getTvPipGravity(), Gravity.RIGHT | Gravity.BOTTOM); in regularPip_defaultTvPipGravity()
122 assertGravityAfterExpansion(Gravity.BOTTOM | Gravity.RIGHT, in updateGravity_expand_vertical()
123 Gravity.CENTER_VERTICAL | Gravity.RIGHT); in updateGravity_expand_vertical()
124 assertGravityAfterExpansion(Gravity.TOP | Gravity.RIGHT, in updateGravity_expand_vertical()
125 Gravity.CENTER_VERTICAL | Gravity.RIGHT); in updateGravity_expand_vertical()
137 assertGravityAfterExpansion(Gravity.BOTTOM | Gravity.RIGHT, in updateGravity_expand_horizontal()
139 assertGravityAfterExpansion(Gravity.TOP | Gravity.RIGHT, in updateGravity_expand_horizontal()
151 assertGravityAfterCollapse(Gravity.CENTER_VERTICAL | Gravity.RIGHT, in updateGravity_collapse()
152 Gravity.BOTTOM | Gravity.RIGHT); in updateGravity_collapse()
[all …]
DTvPipKeepClearAlgorithmTest.kt68 gravity = Gravity.BOTTOM or Gravity.RIGHT in setup()
82 gravity = Gravity.BOTTOM or Gravity.RIGHT in testAnchorPosition_BottomRight()
89 gravity = Gravity.TOP or Gravity.RIGHT in testAnchorPosition_TopRight()
110 gravity = Gravity.RIGHT in testAnchorPosition_Right()
152 gravity = Gravity.RIGHT or Gravity.CENTER_VERTICAL in testAnchorPosition_RightCenterVertical()
173 gravity = Gravity.BOTTOM or Gravity.RIGHT in test_AnchorBottomRight_KeepClearNotObstructing_StayAtAnchor()
188 gravity = Gravity.BOTTOM or Gravity.RIGHT in test_AnchorBottomRight_UnrestrictedRightSidebar_PushedLeft()
190 val sidebar = makeSideBar(DASHBOARD_WIDTH, Gravity.RIGHT) in test_AnchorBottomRight_UnrestrictedRightSidebar_PushedLeft()
203 gravity = Gravity.TOP or Gravity.RIGHT in test_AnchorTopRight_UnrestrictedRightSidebar_PushedLeft()
205 val sidebar = makeSideBar(DASHBOARD_WIDTH, Gravity.RIGHT) in test_AnchorTopRight_UnrestrictedRightSidebar_PushedLeft()
[all …]
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/
DViewHierarchyAnimator.kt50 Bound.RIGHT to createViewProperty(Bound.RIGHT), in <lambda>()
332 val startRight = getBound(view, Bound.RIGHT) ?: previousRight in <lambda>()
340 setBound(view, Bound.RIGHT, right) in <lambda>()
362 Bound.RIGHT to right, in <lambda>()
369 if (startValues.getValue(Bound.RIGHT) != right) boundsToAnimate.add(Bound.RIGHT) in <lambda>()
460 Bound.RIGHT to rootView.right, in <lambda>()
477 if (rootView.right != endValues.getValue(Bound.RIGHT)) boundsToAnimate.add(Bound.RIGHT) in <lambda>()
561 Bound.RIGHT to child.right, in <lambda>()
571 endValues.getValue(Bound.RIGHT) - endValues.getValue(Bound.LEFT), in <lambda>()
578 if (child.right != endValues.getValue(Bound.RIGHT)) boundsToAnimate.add(Bound.RIGHT) in <lambda>()
[all …]
/frameworks/av/media/module/codecs/mp3dec/src/
Dpvmp3_framedecoder.cpp405 pChVars[RIGHT] = &pVars->perChan[RIGHT]; in pvmp3_framedecoder()
529 pv_memset((void*)pChVars[RIGHT]->work_buf_int32, in pvmp3_framedecoder()
531 SUBBANDS_NUMBER*FILTERBANK_BANDS*sizeof(pChVars[RIGHT]->work_buf_int32[0])); in pvmp3_framedecoder()
541 pv_memset((void*)&pChVars[RIGHT]->circ_buffer[576], in pvmp3_framedecoder()
543 480*sizeof(pChVars[RIGHT]->circ_buffer[0])); in pvmp3_framedecoder()
546 pChVars[RIGHT]->used_freq_lines = 575; in pvmp3_framedecoder()
608 pChVars[RIGHT]->used_freq_lines) ? in pvmp3_framedecoder()
610 pChVars[RIGHT]->used_freq_lines; in pvmp3_framedecoder()
613 pChVars[RIGHT]->used_freq_lines = used_freq_lines; in pvmp3_framedecoder()
618 pChVars[RIGHT]->work_buf_int32, in pvmp3_framedecoder()
[all …]
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/rotation/
DFloatingRotationButtonPositionCalculator.kt32 if (gravity and Gravity.RIGHT == Gravity.RIGHT) { in calculatePosition()
61 Surface.ROTATION_90 -> Gravity.BOTTOM or Gravity.RIGHT in resolveGravity()
62 Surface.ROTATION_180 -> Gravity.TOP or Gravity.RIGHT in resolveGravity()
68 Surface.ROTATION_0 -> Gravity.BOTTOM or Gravity.RIGHT
69 Surface.ROTATION_90 -> Gravity.TOP or Gravity.RIGHT
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/gestural/
DFloatingRotationButtonPositionCalculatorTest.kt88 gravity = Gravity.BOTTOM or Gravity.RIGHT,
99 gravity = Gravity.TOP or Gravity.RIGHT,
143 gravity = Gravity.BOTTOM or Gravity.RIGHT,
156 gravity = Gravity.BOTTOM or Gravity.RIGHT,
167 gravity = Gravity.TOP or Gravity.RIGHT,
200 gravity = Gravity.BOTTOM or Gravity.RIGHT,
211 gravity = Gravity.BOTTOM or Gravity.RIGHT,
222 gravity = Gravity.TOP or Gravity.RIGHT,
/frameworks/base/core/java/android/database/
DCursorJoiner.java61 RIGHT, enumConstant
130 case RIGHT: in hasNext()
178 mCompareResult = Result.RIGHT; in next()
185 mCompareResult = Result.RIGHT; in next()
223 case RIGHT: in incrementCursors()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/gestures/
DGestureManifold.java67 import static com.android.server.accessibility.gestures.Swipe.RIGHT;
128 mGestures.add(new Swipe(context, RIGHT, GESTURE_SWIPE_RIGHT, this)); in GestureManifold()
133 mGestures.add(new Swipe(context, LEFT, RIGHT, GESTURE_SWIPE_LEFT_AND_RIGHT, this)); in GestureManifold()
136 mGestures.add(new Swipe(context, RIGHT, UP, GESTURE_SWIPE_RIGHT_AND_UP, this)); in GestureManifold()
137 mGestures.add(new Swipe(context, RIGHT, DOWN, GESTURE_SWIPE_RIGHT_AND_DOWN, this)); in GestureManifold()
138 mGestures.add(new Swipe(context, RIGHT, LEFT, GESTURE_SWIPE_RIGHT_AND_LEFT, this)); in GestureManifold()
141 mGestures.add(new Swipe(context, DOWN, RIGHT, GESTURE_SWIPE_DOWN_AND_RIGHT, this)); in GestureManifold()
144 mGestures.add(new Swipe(context, UP, RIGHT, GESTURE_SWIPE_UP_AND_RIGHT, this)); in GestureManifold()
193 new MultiFingerSwipe(context, 2, RIGHT, GESTURE_2_FINGER_SWIPE_RIGHT, this)); in GestureManifold()
202 new MultiFingerSwipe(context, 3, RIGHT, GESTURE_3_FINGER_SWIPE_RIGHT, this)); in GestureManifold()
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/bubbles/
DBaseBubblePinController.kt28 import com.android.wm.shell.common.bubbles.BubbleBarLocation.RIGHT in <lambda>()
68 onLocationChange(if (onLeft) LEFT else RIGHT) in <lambda>()
84 listener?.onChange(if (onLeft) LEFT else RIGHT) in <lambda>()
89 updateLocation(if (onLeft) LEFT else RIGHT) in <lambda>()
99 listener?.onRelease(if (onLeft) LEFT else RIGHT) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/view/layout/sections/
DAlignShortcutsToUdfpsSection.kt26 import androidx.constraintlayout.widget.ConstraintSet.RIGHT
98 connect(R.id.start_button, RIGHT, lockIconViewId, LEFT) in applyConstraints()
104 connect(R.id.end_button, RIGHT, PARENT_ID, RIGHT) in applyConstraints()
105 connect(R.id.end_button, LEFT, lockIconViewId, RIGHT) in applyConstraints()
DDefaultShortcutsSection.kt27 import androidx.constraintlayout.widget.ConstraintSet.RIGHT in <lambda>()
127 connect(R.id.end_button, RIGHT, PARENT_ID, RIGHT, horizontalOffsetMargin) in <lambda>()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/common/bubbles/
DBubbleBarLocationTest.kt23 import com.android.wm.shell.common.bubbles.BubbleBarLocation.RIGHT
50 assertThat(RIGHT.isOnLeft(isRtl = false)).isFalse() in isOnLeft_right_falseForAllLanguageDirections()
51 assertThat(RIGHT.isOnLeft(isRtl = true)).isFalse() in isOnLeft_right_falseForAllLanguageDirections()
/frameworks/base/core/java/android/transition/
DSidePropagation.java126 side = isRtl ? Gravity.RIGHT : Gravity.LEFT; in distance()
129 side = isRtl ? Gravity.LEFT : Gravity.RIGHT; in distance()
141 case Gravity.RIGHT: in distance()
154 case Gravity.RIGHT: in getMaxDistance()
/frameworks/base/core/java/android/view/
DGravity.java58 public static final int RIGHT = (AXIS_PULL_AFTER|AXIS_SPECIFIED)<<AXIS_X_SHIFT; field in Gravity
72 public static final int FILL_HORIZONTAL = LEFT|RIGHT;
124 public static final int END = RELATIVE_LAYOUT_DIRECTION | RIGHT;
143 Gravity.RIGHT,
454 result |= RIGHT; in getAbsoluteGravity()
467 result |= RIGHT; in getAbsoluteGravity()
505 } else if ((gravity & RIGHT) == RIGHT) { in toString()
DCutoutSpecification.java21 import static android.view.Gravity.RIGHT;
195 ? ((isShortEdge) ? (isStart ? TOP : BOTTOM) : (isStart ? LEFT : RIGHT)) in decideWhichEdge()
196 : ((isShortEdge) ? (isStart ? LEFT : RIGHT) : (isStart ? TOP : BOTTOM)); in decideWhichEdge()
313 } else if (gravity == RIGHT && rect.left > 0 && rect.left < mPhysicalDisplayWidth) {
326 } else if (gravity == RIGHT) {
338 } else if (gravity == RIGHT) {
/frameworks/base/libs/WindowManager/Shell/multivalentTests/src/com/android/wm/shell/bubbles/bar/
DBubbleExpandedViewPinControllerTest.kt39 import com.android.wm.shell.common.bubbles.BubbleBarLocation.RIGHT in <lambda>()
115 assertThat(testListener.locationReleases).containsExactly(RIGHT) in <lambda>()
162 assertThat(testListener.locationChanges).containsExactly(RIGHT) in <lambda>()
191 assertThat(testListener.locationChanges).containsExactly(LEFT, RIGHT).inOrder() in <lambda>()
220 assertThat(testListener.locationChanges).containsExactly(RIGHT, LEFT).inOrder() in <lambda>()
326 assertThat(testListener.locationChanges).containsExactly(RIGHT) in <lambda>()
349 assertThat(testListener.locationChanges).containsExactly(LEFT, RIGHT).inOrder() in <lambda>()
370 assertThat(testListener.locationChanges).containsExactly(RIGHT, LEFT).inOrder() in <lambda>()
406 assertThat(testListener.locationChanges).containsExactly(RIGHT) in <lambda>()
407 assertThat(testListener.locationReleases).containsExactly(RIGHT) in <lambda>()
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
DTextViewAssertions.java139 return new CursorPositionAssertion(CursorPositionAssertion.RIGHT);
192 @IntDef({LEFT, RIGHT})
195 public static final int RIGHT = 1;
221 case RIGHT:
DCustomViewActions.java67 LEFT, RIGHT, CENTER enumConstant
94 case RIGHT: in calculateCoordinates()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/
DTvPipBoundsState.java97 mDefaultGravity = Gravity.BOTTOM | (isRtl ? Gravity.LEFT : Gravity.RIGHT); in updateDefaultGravity()
102 if ((prevGravityX & Gravity.RIGHT) == Gravity.RIGHT) { in updateDefaultGravity()
105 mPreviousCollapsedGravity = Gravity.RIGHT | prevGravityY; in updateDefaultGravity()
/frameworks/base/packages/SystemUI/src/com/android/systemui/decor/
DRoundedCornerDecorProviderImpl.kt108 DisplayCutout.BOUNDS_POSITION_RIGHT -> Gravity.RIGHT in toLayoutGravity()
115 else /* DisplayCutout.BOUNDS_POSITION_BOTTOM */ -> Gravity.RIGHT in toLayoutGravity()
119 DisplayCutout.BOUNDS_POSITION_TOP -> Gravity.RIGHT in toLayoutGravity()
124 DisplayCutout.BOUNDS_POSITION_LEFT -> Gravity.RIGHT in toLayoutGravity()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsColumnLayout.java92 setGravity(Gravity.RIGHT | Gravity.BOTTOM); in snapToPowerButton()
96 setGravity(Gravity.TOP | Gravity.RIGHT); in snapToPowerButton()
117 setGravity(Gravity.CENTER_VERTICAL | Gravity.RIGHT); in centerAlongEdge()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/support/
DDrawerLayoutUtil.java28 import static android.view.Gravity.RIGHT;
46 gravity = RIGHT; in openDrawer()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/binder/
DBiometricViewSizeBinder.kt196 ConstraintSet.RIGHT in <lambda>()
211 ConstraintSet.RIGHT in <lambda>()
256 ConstraintSet.RIGHT, in <lambda>()
258 ConstraintSet.RIGHT in <lambda>()
262 ConstraintSet.RIGHT, in <lambda>()
271 ConstraintSet.RIGHT, in <lambda>()
273 ConstraintSet.RIGHT in <lambda>()
277 ConstraintSet.RIGHT, in <lambda>()
409 ConstraintSet.RIGHT, in <lambda>()
411 ConstraintSet.RIGHT in <lambda>()
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/
DLayoutInsetsTest.java17 … GRAVITIES = {Gravity.LEFT, Gravity.LEFT, Gravity.CENTER_HORIZONTAL, Gravity.RIGHT, Gravity.RIGHT};
DAbstractLayoutTest.java32 import static android.view.Gravity.RIGHT;
38 public static final int[] HORIZONTAL_ALIGNMENTS = { LEFT, CENTER, RIGHT, FILL };

123456