Searched refs:Align (Results 1 - 25 of 37) sorted by relevance

12

/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DScaledTextActivity.java98 mPaint.setTextAlign(Paint.Align.CENTER);
100 mPaint.setTextAlign(Paint.Align.RIGHT);
106 mPaint.setTextAlign(Paint.Align.LEFT);
110 mPaint.setTextAlign(Paint.Align.CENTER);
112 mPaint.setTextAlign(Paint.Align.RIGHT);
116 mPaint.setTextAlign(Paint.Align.LEFT);
H A DPosTextActivity.java65 mLargePaint.setTextAlign(Paint.Align.LEFT);
69 mLargePaint.setTextAlign(Paint.Align.CENTER);
73 mLargePaint.setTextAlign(Paint.Align.RIGHT);
H A DTextActivity.java94 mMediumPaint.setTextAlign(Paint.Align.CENTER);
99 mMediumPaint.setTextAlign(Paint.Align.RIGHT);
103 mMediumPaint.setTextAlign(Paint.Align.LEFT);
H A DTextOnPathActivity.java114 mPaint.setTextAlign(Paint.Align.LEFT);
142 mPaint.setTextAlign(Paint.Align.CENTER);
147 mPaint.setTextAlign(Paint.Align.RIGHT);
H A DRotate3dTextActivity.java70 mPaint.setTextAlign(Paint.Align.CENTER);
/frameworks/base/tests/BiDiTests/src/com/android/bidi/
H A DBiDiTestViewDrawText.java23 import android.graphics.Paint.Align;
62 paint.setTextAlign(Align.CENTER);
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
H A DTextViewWithCircularIndicator.java23 import android.graphics.Paint.Align;
62 mCirclePaint.setTextAlign(Align.CENTER);
H A DMonthView.java23 import android.graphics.Paint.Align;
287 mMonthTitlePaint.setTextAlign(Align.CENTER);
294 mMonthTitleBGPaint.setTextAlign(Align.CENTER);
301 mSelectedCirclePaint.setTextAlign(Align.CENTER);
311 mMonthDayLabelPaint.setTextAlign(Align.CENTER);
318 mMonthNumPaint.setTextAlign(Align.CENTER);
/frameworks/compile/mclinker/include/mcld/ADT/
H A DSizeTraits.h91 uint64_t Align(uint64_t pAddress);
94 inline uint64_t Align<32>(uint64_t pAddress) { function in namespace:mcld
99 inline uint64_t Align<64>(uint64_t pAddress) { function in namespace:mcld
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
H A DAmPmCirclesView.java24 import android.graphics.Paint.Align;
85 mPaint.setTextAlign(Align.CENTER);
H A DRadialTextsView.java29 import android.graphics.Paint.Align;
97 mPaint.setTextAlign(Align.CENTER);
/frameworks/av/include/media/stagefright/foundation/
H A DAData.h536 * AData<types...>::Relaxed<Flag, MaxSize, Align>
633 * \param Align alignment to assume for derived class pointers
635 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/av/media/libstagefright/foundation/include/media/stagefright/foundation/
H A DAData.h536 * AData<types...>::Relaxed<Flag, MaxSize, Align>
633 * \param Align alignment to assume for derived class pointers
635 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/av/media/libstagefright/include/media/stagefright/foundation/
H A DAData.h536 * AData<types...>::Relaxed<Flag, MaxSize, Align>
633 * \param Align alignment to assume for derived class pointers
635 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/tests/JankBench/app/src/main/java/com/android/benchmark/app/
H A DPerfTimeline.java83 mTextPaint.setTextAlign(Paint.Align.LEFT);
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
H A DTiledImageView.java27 import android.graphics.Paint.Align;
371 mPaint.setTextAlign(Align.CENTER);
/frameworks/support/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/widget/
H A DExploreByTouchHelperActivity.java24 import android.graphics.Paint.Align;
220 paint.setTextAlign(Align.CENTER);
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/widget/
H A DExploreByTouchHelperActivity.java24 import android.graphics.Paint.Align;
220 paint.setTextAlign(Align.CENTER);
/frameworks/base/graphics/java/android/graphics/
H A DPaint.java104 static final Align[] sAlignArray = {
105 Align.LEFT, Align.CENTER, Align.RIGHT
441 * Align specifies how drawText aligns its text relative to the
444 public enum Align { enum in class:Paint
458 private Align(int nativeInt) { method in class:Paint.Align
1344 * Return the paint's Align value for drawing text. This controls how the
1349 * @return the paint's Align value for drawing text.
1351 public Align getTextAlig
[all...]
/frameworks/base/core/java/android/widget/
H A DSimpleMonthView.java26 import android.graphics.Paint.Align;
279 mMonthPaint.setTextAlign(Align.CENTER);
285 mDayOfWeekPaint.setTextAlign(Align.CENTER);
300 mDayPaint.setTextAlign(Align.CENTER);
/frameworks/support/frameworks/support/samples/SupportLeanbackJank/src/main/java/com/google/android/leanbackjank/data/
H A DVideoProvider.java114 paint.setTextAlign(Paint.Align.CENTER);
/frameworks/support/samples/SupportLeanbackJank/src/main/java/com/google/android/leanbackjank/data/
H A DVideoProvider.java114 paint.setTextAlign(Paint.Align.CENTER);
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
H A DBatteryMeterDrawableBase.java142 mTextPaint.setTextAlign(Paint.Align.CENTER);
147 mWarningTextPaint.setTextAlign(Paint.Align.CENTER);
/frameworks/layoutlib/bridge/src/android/graphics/
H A DBaseCanvas_Delegate.java588 if (paintDelegate.getTextAlign() != Paint.Align.LEFT.nativeInt) {
592 if (paintDelegate.getTextAlign() == Paint.Align.CENTER.nativeInt) {
594 } else if (paintDelegate.getTextAlign() == Paint.Align.RIGHT.nativeInt) {
/frameworks/compile/mclinker/lib/LD/
H A DELFObjectWriter.cpp637 return Align<32>(lastSect->offset() + lastSect->size());
645 return Align<64>(lastSect->offset() + lastSect->size());

Completed in 509 milliseconds

12