/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | Paint_AlignTest.java | 28 assertEquals(Align.RIGHT, Align.valueOf("RIGHT")); in testValueOf() 38 assertEquals(Align.RIGHT, actual[2]); in testValues() 48 assertEquals(Align.RIGHT, p.getTextAlign()); in testValues()
|
D | PathTest.java | 28 private static final float RIGHT = 50.0f; field in PathTest 47 RectF rect = new RectF(LEFT, TOP, RIGHT, BOTTOM); in testAddRect1() 57 path.addRect(LEFT, TOP, RIGHT, BOTTOM, Path.Direction.CW); in testAddRect2() 155 RectF oval = new RectF(LEFT, TOP, RIGHT, BOTTOM); in testArcTo1() 164 RectF oval = new RectF(LEFT, TOP, RIGHT, BOTTOM); in testArcTo2() 186 RectF expected = new RectF(LEFT, TOP, RIGHT, BOTTOM); in testComputeBounds2() 190 RectF bounds = new RectF(LEFT, TOP, RIGHT, BOTTOM); in testComputeBounds2() 246 RectF oval = new RectF(LEFT, TOP, RIGHT, BOTTOM); in testAddOval() 297 RectF rect = new RectF(LEFT, TOP, RIGHT, BOTTOM); in testAddRoundRect1() 306 RectF rect = new RectF(LEFT, TOP, RIGHT, BOTTOM); in testAddRoundRect2() [all …]
|
D | PaintTest.java | 591 p.setTextAlign(Align.RIGHT); 592 assertEquals(Align.RIGHT, p.getTextAlign());
|
/cts/tests/tests/view/src/android/view/cts/ |
D | GravityTest.java | 135 Gravity.apply(Gravity.RIGHT, 2, 10, mInRect, mOutRect); in testApply() 140 Gravity.apply(Gravity.RIGHT, 2, 10, mInRect, 5, 5, mOutRect); in testApply() 145 applyGravity(Gravity.RIGHT, 2, 10, mInRect, mOutRect, false /* LTR direction */); in testApply() 150 applyGravity(Gravity.RIGHT, 2, 10, mInRect, mOutRect, true /* RTL direction */); in testApply() 298 assertOneGravity(Gravity.RIGHT, Gravity.RIGHT, false); in testGetAbsoluteGravity() 299 assertOneGravity(Gravity.RIGHT, Gravity.RIGHT, true); in testGetAbsoluteGravity() 332 assertOneGravity(Gravity.RIGHT, Gravity.START, true); in testGetAbsoluteGravity() 334 assertOneGravity(Gravity.RIGHT, Gravity.END, false); in testGetAbsoluteGravity()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | ScaleDrawableTest.java | 336 mockDrawable, Gravity.BOTTOM | Gravity.RIGHT, scaleWidth, scaleHeight); in testOnBoundsChange() 340 Gravity.apply(Gravity.BOTTOM | Gravity.RIGHT, in testOnBoundsChange() 352 mockDrawable, Gravity.BOTTOM | Gravity.RIGHT, scaleWidth, scaleHeight); in testOnBoundsChange() 363 mockDrawable, Gravity.BOTTOM | Gravity.RIGHT, scaleWidth, scaleHeight); in testOnBoundsChange() 408 Gravity.RIGHT, 100, 200); in testInflate()
|
D | BitmapDrawableTest.java | 352 assertEquals(Gravity.TOP | Gravity.RIGHT, bitmapDrawable.getGravity()); in testInflate()
|
/cts/tests/tests/database/src/android/database/cts/ |
D | CursorJoinerTest.java | 99 case RIGHT: in testCursorJoinerAndIterator() 157 assertEquals(Result.RIGHT, cursorJoiner.next()); in testNext()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | TextViewTest.java | 311 assertEquals(Gravity.TOP | Gravity.RIGHT, mTextView.getGravity()); in testAccessGravity() 320 assertEquals(Gravity.CENTER_VERTICAL | Gravity.RIGHT, mTextView.getGravity()); in testAccessGravity() 332 mTextView.setGravity(Gravity.RIGHT); in testAccessGravity() 333 assertEquals(Gravity.TOP | Gravity.RIGHT, mTextView.getGravity()); in testAccessGravity() 2881 mTextView.setGravity(Gravity.RIGHT); in testGetTotalPaddingLeft() 3251 textView.setGravity(Gravity.RIGHT); in testMarquee() 4196 final int RIGHT = 2; in testDrawableResolution() local 4208 ((BitmapDrawable) drawables[RIGHT]).getBitmap()); in testDrawableResolution() 4221 ((BitmapDrawable) drawables[RIGHT]).getBitmap()); in testDrawableResolution() 4234 ((BitmapDrawable) drawables[RIGHT]).getBitmap()); in testDrawableResolution() [all …]
|
D | RelativeLayoutTest.java | 125 relativeLayout.setGravity(Gravity.BOTTOM | Gravity.RIGHT); in testSetGravity() 189 relativeLayout.setHorizontalGravity(Gravity.RIGHT); in testSetHorizontalGravity()
|
D | GridLayoutTest.java | 70 new Alignment("RIGHT", Gravity.RIGHT) {
|
D | GridViewTest.java | 225 mGridView.setGravity(Gravity.RIGHT); in testSetGravity()
|
/cts/tests/tests/widget/src/android/widget/cts/util/ |
D | ListItemFactory.java | 258 t2.setGravity(Gravity.RIGHT | Gravity.CENTER_VERTICAL); in doubleText()
|
/cts/apps/CtsVerifier/src/android/support/wearable/view/ |
D | BoxInsetLayout.java | 296 case Gravity.RIGHT: in layoutBoxChildren()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | IntrinsicBLAS.java | 58 ScriptIntrinsicBLAS.RIGHT, 158 if (Side != ScriptIntrinsicBLAS.LEFT && Side != ScriptIntrinsicBLAS.RIGHT) { in validateSide() 4928 if (Side == ScriptIntrinsicBLAS.RIGHT) { in validateL3() 5336 side = ScriptIntrinsicBLAS.RIGHT; in test_L3_SSYMM_Correctness() 5368 side = ScriptIntrinsicBLAS.RIGHT; in test_L3_DSYMM_Correctness() 5400 side = ScriptIntrinsicBLAS.RIGHT; in test_L3_CSYMM_Correctness() 5432 side = ScriptIntrinsicBLAS.RIGHT; in test_L3_ZSYMM_Correctness() 5467 (Side == ScriptIntrinsicBLAS.RIGHT && adim != B.getType().getX())) { in validateHEMM() 5545 side = ScriptIntrinsicBLAS.RIGHT; in test_L3_CHEMM_Correctness() 5577 side = ScriptIntrinsicBLAS.RIGHT; in test_L3_ZHEMM_Correctness() [all …]
|