Home
last modified time | relevance | path

Searched refs:Align (Results 1 – 25 of 42) 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/base/tests/BiDiTests/src/com/android/bidi/
DBiDiTestViewDrawText.java23 import android.graphics.Paint.Align;
62 paint.setTextAlign(Align.CENTER); in onDraw()
/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/opt/datetimepicker/src/com/android/datetimepicker/date/
DTextViewWithCircularIndicator.java23 import android.graphics.Paint.Align;
62 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/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/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/rs/rsov/driver/
D.clang-format5 AlignAfterOpenBracket: 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/rs/rsov/compiler/
D.clang-format5 AlignAfterOpenBracket: Align
/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()
/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()

12