Home
last modified time | relevance | path

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

123

/frameworks/base/core/tests/coretests/src/android/view/
DGravityTest.java44 assertOneGravity(Gravity.CENTER, Gravity.CENTER, false); in testGetAbsoluteGravity()
45 assertOneGravity(Gravity.CENTER, Gravity.CENTER, true); in testGetAbsoluteGravity()
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/
DAbstractLayoutTest.java32 public static final int[] HORIZONTAL_ALIGNMENTS = { LEFT, CENTER, RIGHT, FILL };
34 public static final int[] VERTICAL_ALIGNMENTS = { TOP, CENTER, NO_GRAVITY, BOTTOM, FILL };
DAlignmentTest.java34 public static final Alignment[] HORIZONTAL_ALIGNMENTS = {LEFT, CENTER, RIGHT, FILL};
36 public static final Alignment[] VERTICAL_ALIGNMENTS = {TOP, CENTER, BASELINE, BOTTOM, FILL};
/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()
DTextureViewActivity.java66 Gravity.CENTER)); in onCreate()
78 previewSize.width, previewSize.height, Gravity.CENTER)); in onSurfaceTextureAvailable()
DSimplePathsActivity.java33 layout.addView(text, new FrameLayout.LayoutParams(600, 350, Gravity.CENTER)); in onCreate()
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()
DViewFlipperActivity.java37 widget.setLayoutParams(new FrameLayout.LayoutParams(180, 180, Gravity.CENTER)); in onCreate()
DMoreNinePatchesActivity.java38 FrameLayout.LayoutParams.MATCH_PARENT, Gravity.CENTER)); in onCreate()
DGetBitmapActivity.java73 content.addView(mTextureView, new FrameLayout.LayoutParams(500, 400, Gravity.CENTER)); in onCreate()
DBitmapsAlphaActivity.java38 layout.addView(view, new FrameLayout.LayoutParams(480, 800, Gravity.CENTER)); in onCreate()
DCanvasTextureViewActivity.java45 content.addView(mTextureView, new FrameLayout.LayoutParams(500, 500, Gravity.CENTER)); in onCreate()
DBitmapMutateActivity.java42 layout.addView(view, new FrameLayout.LayoutParams(480, 800, Gravity.CENTER)); in onCreate()
DBitmapsActivity.java42 layout.addView(view, new FrameLayout.LayoutParams(480, 800, Gravity.CENTER)); in onCreate()
DAlphaLayersActivity.java43 dipToPx(this, 100), dipToPx(this, 100), Gravity.CENTER)); in onCreate()
/frameworks/base/telephony/java/com/android/internal/telephony/cat/
DTextAlignment.java27 CENTER(0x1), enumConstant
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
DMockView.java38 setGravity(Gravity.CENTER); in MockView()
/frameworks/base/core/java/android/widget/
DImageView.java98 ScaleType.CENTER,
445 CENTER (5), enumConstant
485 setWillNotCacheDrawing(mScaleType == ScaleType.CENTER); in setScaleType()
636 Matrix.ScaleToFit.CENTER,
820 } else if (ScaleType.CENTER == mScaleType) { in configureBounds()
/frameworks/base/tests/BiDiTests/src/com/android/bidi/
DBiDiTestViewDrawText.java62 paint.setTextAlign(Align.CENTER); in onDraw()
/frameworks/support/v4/java/android/support/v4/app/
DListFragment.java101 pframe.setGravity(Gravity.CENTER); in onCreateView()
118 tv.setGravity(Gravity.CENTER); in onCreateView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DStatusBarIconView.java57 mNumberPain.setTextAlign(Paint.Align.CENTER); in StatusBarIconView()
75 setScaleType(ImageView.ScaleType.CENTER); in StatusBarIconView()
/frameworks/base/core/java/android/webkit/
DPluginFullScreenHolder.java60 Gravity.CENTER); in setContentView()

123