Home
last modified time | relevance | path

Searched refs:Align (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DScaledTextActivity.java98 mPaint.setTextAlign(Paint.Align.CENTER); in onDraw()
100 mPaint.setTextAlign(Paint.Align.RIGHT); in onDraw()
106 mPaint.setTextAlign(Paint.Align.LEFT); in onDraw()
110 mPaint.setTextAlign(Paint.Align.CENTER); in onDraw()
112 mPaint.setTextAlign(Paint.Align.RIGHT); in onDraw()
116 mPaint.setTextAlign(Paint.Align.LEFT); in onDraw()
DPosTextActivity.java65 mLargePaint.setTextAlign(Paint.Align.LEFT); in onDraw()
69 mLargePaint.setTextAlign(Paint.Align.CENTER); in onDraw()
73 mLargePaint.setTextAlign(Paint.Align.RIGHT); in onDraw()
DTextOnPathActivity.java114 mPaint.setTextAlign(Paint.Align.LEFT); in onDraw()
142 mPaint.setTextAlign(Paint.Align.CENTER); in onDraw()
147 mPaint.setTextAlign(Paint.Align.RIGHT); in onDraw()
DTextActivity.java94 mMediumPaint.setTextAlign(Paint.Align.CENTER); in onDraw()
99 mMediumPaint.setTextAlign(Paint.Align.RIGHT); in onDraw()
103 mMediumPaint.setTextAlign(Paint.Align.LEFT); in onDraw()
DRotate3dTextActivity.java70 mPaint.setTextAlign(Paint.Align.CENTER); in Rotate3dTextView()
/frameworks/compile/mclinker/include/mcld/ADT/
DSizeTraits.h91 uint64_t Align(uint64_t pAddress);
94 inline uint64_t Align<32>(uint64_t pAddress) {
99 inline uint64_t Align<64>(uint64_t pAddress) {
/frameworks/base/tests/BiDiTests/src/com/android/bidi/
DBiDiTestViewDrawText.java23 import android.graphics.Paint.Align;
62 paint.setTextAlign(Align.CENTER); in onDraw()
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
DTextViewWithCircularIndicator.java23 import android.graphics.Paint.Align;
59 mCirclePaint.setTextAlign(Align.CENTER); in init()
DMonthView.java23 import android.graphics.Paint.Align;
287 mMonthTitlePaint.setTextAlign(Align.CENTER); in initView()
294 mMonthTitleBGPaint.setTextAlign(Align.CENTER); in initView()
301 mSelectedCirclePaint.setTextAlign(Align.CENTER); in initView()
311 mMonthDayLabelPaint.setTextAlign(Align.CENTER); in initView()
318 mMonthNumPaint.setTextAlign(Align.CENTER); in initView()
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
DAmPmCirclesView.java24 import android.graphics.Paint.Align;
85 mPaint.setTextAlign(Align.CENTER); in initialize()
DRadialTextsView.java29 import android.graphics.Paint.Align;
97 mPaint.setTextAlign(Align.CENTER); in initialize()
/frameworks/base/graphics/java/android/graphics/
DPaint.java97 static final Align[] sAlignArray = {
98 Align.LEFT, Align.CENTER, Align.RIGHT
423 public enum Align { enum in Paint
437 private Align(int nativeInt) { in Align() method in Paint.Align
1274 public Align getTextAlign() { in getTextAlign()
1286 public void setTextAlign(Align align) { in setTextAlign()
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/widget/
DExploreByTouchHelperActivity.java25 import android.graphics.Paint.Align;
168 paint.setTextAlign(Align.CENTER); in onDraw()
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
DTiledImageView.java27 import android.graphics.Paint.Align;
371 mPaint.setTextAlign(Align.CENTER); in getTile()
/frameworks/base/core/java/android/widget/
DSimpleMonthView.java29 import android.graphics.Paint.Align;
278 mMonthPaint.setTextAlign(Align.CENTER); in initPaints()
284 mDayOfWeekPaint.setTextAlign(Align.CENTER); in initPaints()
299 mDayPaint.setTextAlign(Align.CENTER); in initPaints()
DCalendarViewLegacyDelegate.java1281 mMonthNumDrawPaint.setTextAlign(Paint.Align.CENTER); in initilaizePaints()
1405 mDrawPaint.setTextAlign(Paint.Align.CENTER); in drawWeekNumbersAndDates()
DRadialTimePickerView.java341 mPaint[HOURS].setTextAlign(Paint.Align.CENTER); in RadialTimePickerView()
345 mPaint[MINUTES].setTextAlign(Paint.Align.CENTER); in RadialTimePickerView()
DNumberPicker.java28 import android.graphics.Paint.Align;
753 paint.setTextAlign(Align.CENTER); in NumberPicker()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DBatteryMeterDrawable.java144 mTextPaint.setTextAlign(Paint.Align.CENTER); in BatteryMeterDrawable()
150 mWarningTextPaint.setTextAlign(Paint.Align.CENTER); in BatteryMeterDrawable()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DCanvas_Delegate.java1069 if (paintDelegate.getTextAlign() != Paint.Align.LEFT.nativeInt) { in drawText()
1073 if (paintDelegate.getTextAlign() == Paint.Align.CENTER.nativeInt) { in drawText()
1075 } else if (paintDelegate.getTextAlign() == Paint.Align.RIGHT.nativeInt) { in drawText()
/frameworks/compile/mclinker/lib/LD/
DELFObjectWriter.cpp637 return Align<32>(lastSect->offset() + lastSect->size()); in getLastStartOffset()
645 return Align<64>(lastSect->offset() + lastSect->size()); in getLastStartOffset()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DStatusBarIconView.java68 mNumberPain.setTextAlign(Paint.Align.CENTER); in StatusBarIconView()
/frameworks/base/core/jni/android/graphics/
DPaint.cpp315 Paint::Align align = static_cast<Paint::Align>(alignHandle); in setTextAlign()
602 Paint::Align align = paint->getTextAlign(); in getTextPath()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DPasswordTextView.java133 mDrawPaint.setTextAlign(Paint.Align.CENTER); in PasswordTextView()
/frameworks/base/core/java/android/inputmethodservice/
DKeyboardView.java27 import android.graphics.Paint.Align;
347 mPaint.setTextAlign(Align.CENTER); in KeyboardView()

12