Home
last modified time | relevance | path

Searched refs:Align (Results 1 – 25 of 39) 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/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;
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/av/media/libstagefright/foundation/include/media/stagefright/foundation/
DAData.h544 template<typename Flag, size_t MaxSize=1024, size_t Align=4>
551 static_assert(std::numeric_limits<Flag>::max() / count > (MaxSize / Align),
554 static constexpr Flag max_size_stored = MaxSize / Align + 1;
559 (size / Align < max_size_stored
566 + (is_one_of<W, Ts...>::value ? 0 : (sizeof(T) / Align));
831 template<typename Flag, size_t MaxSize = 1024, size_t Align = 4>
832 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.java112 static final Align[] sAlignArray = {
113 Align.LEFT, Align.CENTER, Align.RIGHT
452 public enum Align { enum in Paint
466 private Align(int nativeInt) { in Align() method in Paint.Align
1365 public Align getTextAlign() { in getTextAlign()
1377 public void setTextAlign(Align align) { in setTextAlign()
/frameworks/rs/rsov/compiler/
D.clang-format5 AlignAfterOpenBracket: Align
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
DTiledImageView.java27 import android.graphics.Paint.Align;
371 mPaint.setTextAlign(Align.CENTER); in getTile()
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/widget/
DExploreByTouchHelperActivity.java25 import android.graphics.Paint.Align;
222 paint.setTextAlign(Align.CENTER); in onDraw()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/
DUserGridView.java27 import android.graphics.Paint.Align;
281 paint.setTextAlign(Align.CENTER); in getDefaultUserIcon()
/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()
DCalendarViewLegacyDelegate.java1305 mMonthNumDrawPaint.setTextAlign(Paint.Align.CENTER); in initializePaints()
1457 mDrawPaint.setTextAlign(Paint.Align.CENTER); in drawWeekNumbersAndDates()
/frameworks/support/samples/SupportLeanbackJank/src/com/google/android/leanbackjank/data/
DVideoProvider.java114 paint.setTextAlign(Paint.Align.CENTER); in makeIcon()
/frameworks/layoutlib/bridge/src/android/graphics/
DBaseCanvas_Delegate.java593 if (paintDelegate.getTextAlign() != Paint.Align.LEFT.nativeInt) { in drawText()
597 if (paintDelegate.getTextAlign() == Paint.Align.CENTER.nativeInt) { in drawText()
599 } else if (paintDelegate.getTextAlign() == Paint.Align.RIGHT.nativeInt) { in drawText()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
DBatteryMeterDrawableBase.java139 mTextPaint.setTextAlign(Paint.Align.CENTER); in BatteryMeterDrawableBase()
144 mWarningTextPaint.setTextAlign(Paint.Align.CENTER); in BatteryMeterDrawableBase()
/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.cpp318 Paint::Align align = paint->getTextAlign(); in getTextPath()
878 Paint::Align align = static_cast<Paint::Align>(alignHandle); in setTextAlign()

12