Home
last modified time | relevance | path

Searched refs:Align (Results 1 – 25 of 38) 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()
DCustomRenderer.java69 paint.setTextAlign(Paint.Align.CENTER); in setupRoot()
/frameworks/base/libs/hwui/hwui/
DPaint.h117 enum Align { enum
122 Align getTextAlign() const { return mAlign; } in getTextAlign()
123 void setTextAlign(Align align) { mAlign = align; } in setTextAlign()
161 Align mAlign = kLeft_Align;
/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/av/media/libstagefright/foundation/include/media/stagefright/foundation/
DAData.h635 template<typename Flag, size_t MaxSize=1024, size_t Align=4>
642 static_assert(std::numeric_limits<Flag>::max() / count > (MaxSize / Align),
645 static constexpr Flag max_size_stored = MaxSize / Align + 1;
650 (size / Align < max_size_stored
657 + (is_one_of<W, Ts...>::value ? 0 : (sizeof(T) / Align));
977 template<typename Flag, size_t MaxSize = 1024, size_t Align = 4>
978 using Relaxed = Custom<relaxed_flagger<Flag, MaxSize, Align>>;
/frameworks/base/graphics/java/android/graphics/
DPaint.java114 static final Align[] sAlignArray = {
115 Align.LEFT, Align.CENTER, Align.RIGHT
524 public enum Align { enum in Paint
538 private Align(int nativeInt) { in Align() method in Paint.Align
1572 public Align getTextAlign() { in getTextAlign()
1584 public void setTextAlign(Align align) { in setTextAlign()
/frameworks/base/tests/TouchLatency/app/src/main/java/com/prefabulated/touchlatency/
DTouchLatencyActivity.java23 import android.graphics.Paint.Align;
68 mTextPaint.setTextAlign(Align.RIGHT); in TouchLatencyView()
/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/tests/JankBench/app/src/main/java/com/android/benchmark/app/
DPerfTimeline.java83 mTextPaint.setTextAlign(Paint.Align.LEFT); in init()
/frameworks/base/core/java/android/widget/
DSimpleMonthView.java26 import android.graphics.Paint.Align;
279 mMonthPaint.setTextAlign(Align.CENTER); in initPaints()
285 mDayOfWeekPaint.setTextAlign(Align.CENTER); in initPaints()
300 mDayPaint.setTextAlign(Align.CENTER); in initPaints()
DRadialTimePickerView.java342 mPaint[HOURS].setTextAlign(Paint.Align.CENTER); in RadialTimePickerView()
346 mPaint[MINUTES].setTextAlign(Paint.Align.CENTER); in RadialTimePickerView()
DCalendarViewLegacyDelegate.java1303 mMonthNumDrawPaint.setTextAlign(Paint.Align.CENTER); in initializePaints()
1455 mDrawPaint.setTextAlign(Paint.Align.CENTER); in drawWeekNumbersAndDates()
/frameworks/layoutlib/bridge/src/android/graphics/
DBaseCanvas_Delegate.java641 if (paintDelegate.getTextAlign() != Paint.Align.LEFT.nativeInt) { in drawText()
645 if (paintDelegate.getTextAlign() == Paint.Align.CENTER.nativeInt) { in drawText()
647 } else if (paintDelegate.getTextAlign() == Paint.Align.RIGHT.nativeInt) { in drawText()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
DBatteryMeterDrawableBase.java143 mTextPaint.setTextAlign(Paint.Align.CENTER); in BatteryMeterDrawableBase()
148 mWarningTextPaint.setTextAlign(Paint.Align.CENTER); in BatteryMeterDrawableBase()
/frameworks/base/packages/EasterEgg/src/com/android/egg/quares/
DQuaresActivity.kt269 it.textAlign = Paint.Align.CENTER in <lambda>()
/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/core/jni/android/graphics/
DPaint.cpp327 Paint::Align align = paint->getTextAlign(); in getTextPath()
863 Paint::Align align = static_cast<Paint::Align>(alignHandle); in setTextAlign()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DPasswordTextView.java140 mDrawPaint.setTextAlign(Paint.Align.CENTER); in PasswordTextView()
/frameworks/base/core/java/com/android/internal/widget/
DMessagingLayout.java131 mTextPaint.setTextAlign(Paint.Align.CENTER); in onFinishInflate()
/frameworks/base/core/java/android/inputmethodservice/
DKeyboardView.java25 import android.graphics.Paint.Align;
355 mPaint.setTextAlign(Align.CENTER); in KeyboardView()

12