Home
last modified time | relevance | path

Searched refs:CENTER (Results 1 – 25 of 102) sorted by relevance

12345

/frameworks/base/core/tests/coretests/src/android/widget/espresso/
DCustomViewActions.java63 TOP, BOTTOM, CENTER enumConstant
67 LEFT, RIGHT, CENTER enumConstant
97 case CENTER: in calculateCoordinates()
109 case CENTER: in calculateCoordinates()
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/
DAbstractLayoutTest.java28 import static android.view.Gravity.CENTER;
38 public static final int[] HORIZONTAL_ALIGNMENTS = { LEFT, CENTER, RIGHT, FILL };
40 public static final int[] VERTICAL_ALIGNMENTS = { TOP, CENTER, NO_GRAVITY, BOTTOM, FILL };
DAlignmentTest.java34 import static android.widget.GridLayout.CENTER;
44 public static final Alignment[] HORIZONTAL_ALIGNMENTS = {LEFT, CENTER, RIGHT, FILL};
46 public static final Alignment[] VERTICAL_ALIGNMENTS = {TOP, CENTER, BASELINE, BOTTOM, FILL};
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardHostViewControllerTest.java117 Gravity.CENTER); in testGravityReappliedOnConfigurationChange()
123 Gravity.CENTER); in testGravityReappliedOnConfigurationChange()
144 Gravity.CENTER); in testGravityUsesOneHandGravityWhenApplicable()
158 Gravity.CENTER); in testGravityUsesOneHandGravityWhenApplicable()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DGradientsActivity.java70 200, 200, Gravity.CENTER)); in onCreate()
72 FrameLayout.LayoutParams lp = new FrameLayout.LayoutParams(200, 200, Gravity.CENTER); in onCreate()
76 lp = new FrameLayout.LayoutParams(200, 200, Gravity.CENTER); in onCreate()
80 lp = new FrameLayout.LayoutParams(200, 200, Gravity.CENTER); in onCreate()
DScaledTextActivity.java98 mPaint.setTextAlign(Paint.Align.CENTER); in onDraw()
110 mPaint.setTextAlign(Paint.Align.CENTER); in onDraw()
DSimplePathsActivity.java33 layout.addView(text, new FrameLayout.LayoutParams(600, 350, Gravity.CENTER)); in onCreate()
DTextureViewActivity.java93 Gravity.CENTER)); in onCreate()
107 previewSize.width, previewSize.height, Gravity.CENTER)); in onSurfaceTextureAvailable()
DNinePatchesActivity.java34 FrameLayout.LayoutParams.WRAP_CONTENT, Gravity.CENTER)); in onCreate()
DTimeDialogActivity.java36 FrameLayout.LayoutParams.WRAP_CONTENT, Gravity.CENTER)); in onCreate()
DOpaqueActivity.java36 setContentView(view, new FrameLayout.LayoutParams(100, 100, Gravity.CENTER)); in onCreate()
DBitmaps3dActivity.java38 layout.addView(view, new FrameLayout.LayoutParams(800, 400, Gravity.CENTER)); in onCreate()
DRotate3dTextActivity.java70 mPaint.setTextAlign(Paint.Align.CENTER); in Rotate3dTextView()
DPosTextActivity.java69 mLargePaint.setTextAlign(Paint.Align.CENTER); in onDraw()
DViewFlipperActivity.java37 widget.setLayoutParams(new FrameLayout.LayoutParams(180, 180, Gravity.CENTER)); in onCreate()
DMoreNinePatchesActivity.java38 FrameLayout.LayoutParams.MATCH_PARENT, Gravity.CENTER)); in onCreate()
DRenderEffectShaderActivity.java41 layout.setGravity(Gravity.CENTER); in onCreate()
/frameworks/base/core/java/android/widget/
DSmartSelectSprite.java105 @IntDef({ExpansionDirection.LEFT, ExpansionDirection.CENTER, ExpansionDirection.RIGHT})
108 int CENTER = 0; field
139 mInverted = inverted && expansionDirection != ExpansionDirection.CENTER; in RoundedRectangleShape()
496 result[centerRectangleIndex] = RoundedRectangleShape.ExpansionDirection.CENTER; in generateDirections()
502 result[centerRectangleIndex] = RoundedRectangleShape.ExpansionDirection.CENTER; in generateDirections()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DTextAlignment.java27 CENTER(0x1), enumConstant
/frameworks/base/core/java/android/view/
DGravity.java75 public static final int CENTER = CENTER_VERTICAL|CENTER_HORIZONTAL; field in Gravity
145 Gravity.CENTER,
508 if ((gravity & CENTER) == CENTER) { in toString()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQuickTileLayout.java18 setGravity(Gravity.CENTER); in QuickTileLayout()
/frameworks/base/tests/BiDiTests/src/com/android/bidi/
DBiDiTestGridLayoutCodeRtl.java37 import static android.widget.GridLayout.CENTER;
77 Spec col1a = spec(0, 4, CENTER); in create()
DBiDiTestGridLayoutCodeLtr.java37 import static android.widget.GridLayout.CENTER;
77 Spec col1a = spec(0, 4, CENTER); in create()
DBiDiTestViewDrawText.java62 paint.setTextAlign(Align.CENTER); in onDraw()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DDismissCircleView.java60 new FrameLayout.LayoutParams(iconSize, iconSize, Gravity.CENTER)); in setViewSizes()

12345