Home
last modified time | relevance | path

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

/cts/tests/tests/graphics/src/android/graphics/cts/
DPaint_AlignTest.java28 assertEquals(Align.RIGHT, Align.valueOf("RIGHT")); in testValueOf()
38 assertEquals(Align.RIGHT, actual[2]); in testValues()
48 assertEquals(Align.RIGHT, p.getTextAlign()); in testValues()
DPathTest.java28 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 …]
DPaintTest.java591 p.setTextAlign(Align.RIGHT);
592 assertEquals(Align.RIGHT, p.getTextAlign());
/cts/tests/tests/view/src/android/view/cts/
DGravityTest.java135 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/
DScaleDrawableTest.java336 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()
DBitmapDrawableTest.java352 assertEquals(Gravity.TOP | Gravity.RIGHT, bitmapDrawable.getGravity()); in testInflate()
/cts/tests/tests/database/src/android/database/cts/
DCursorJoinerTest.java99 case RIGHT: in testCursorJoinerAndIterator()
157 assertEquals(Result.RIGHT, cursorJoiner.next()); in testNext()
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewTest.java311 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 …]
DRelativeLayoutTest.java125 relativeLayout.setGravity(Gravity.BOTTOM | Gravity.RIGHT); in testSetGravity()
189 relativeLayout.setHorizontalGravity(Gravity.RIGHT); in testSetHorizontalGravity()
DGridLayoutTest.java70 new Alignment("RIGHT", Gravity.RIGHT) {
DGridViewTest.java225 mGridView.setGravity(Gravity.RIGHT); in testSetGravity()
/cts/tests/tests/widget/src/android/widget/cts/util/
DListItemFactory.java258 t2.setGravity(Gravity.RIGHT | Gravity.CENTER_VERTICAL); in doubleText()
/cts/apps/CtsVerifier/src/android/support/wearable/view/
DBoxInsetLayout.java296 case Gravity.RIGHT: in layoutBoxChildren()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DIntrinsicBLAS.java58 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 …]