Home
last modified time | relevance | path

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

12

/frameworks/base/tests/graphics/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()
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()
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()
DRotate3dTextActivity.java70 mPaint.setTextAlign(Paint.Align.CENTER); in Rotate3dTextView()
DCustomRenderer.java69 paint.setTextAlign(Paint.Align.CENTER); in setupRoot()
/frameworks/libs/native_bridge_support/android_api/libvulkan/proxy/
Dcpp_types.go25 Align(arch Arch) uint methodSpec
212 field_align := field_info.Type().Align(arch)
261 if align[arch] < typе.Align(arch) {
262 align[arch] = typе.Align(arch)
430 func (typе *opaqueType) Align(Arch) uint { func
475 func (typе *aliasType) Align(arch Arch) uint { func
476 return typе.base_type.Align(arch)
530 func (typе *fixedType) Align(Arch) uint { func
587 func (typе *archDependentType) Align(arch Arch) uint { func
592 return typе.arm_type.Align(arch)
[all …]
Dcpp_types_test.go25 if typе.Align(arch) != align {
81 if typе.Align(arch) != align {
/frameworks/base/libs/hwui/hwui/
DPaint.h131 enum Align { enum
136 Align getTextAlign() const { return mAlign; } in getTextAlign()
137 void setTextAlign(Align align) { mAlign = align; } in setTextAlign()
190 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/libs/binary_translation/exec_region/
Dsections.ld30 /* Align following segments on the page boundary to prevent
50 /* Align the rest of segments on the page boundary to prevent
/frameworks/av/media/module/foundation/include/media/stagefright/foundation/
DAData.h639 template<typename Flag, size_t MaxSize=1024, size_t Align=4>
646 static_assert(std::numeric_limits<Flag>::max() / count > (MaxSize / Align),
649 static constexpr Flag max_size_stored = MaxSize / Align + 1;
654 (size / Align < max_size_stored
661 + (is_one_of<W, Ts...>::value ? 0 : (sizeof(T) / Align));
981 template<typename Flag, size_t MaxSize = 1024, size_t Align = 4>
982 using Relaxed = Custom<relaxed_flagger<Flag, MaxSize, Align>>;
/frameworks/base/tests/graphics/SilkFX/src/com/android/test/silkfx/hdr/
DColorGrid.kt52 paint.textAlign = Paint.Align.LEFT in onDraw()
DRadialGlow.kt61 paint.textAlign = Paint.Align.CENTER in onDraw()
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/app/
DPerfTimeline.java83 mTextPaint.setTextAlign(Paint.Align.LEFT); in init()
/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/graphics/java/android/graphics/
DPaint.java122 static final Align[] sAlignArray = {
123 Align.LEFT, Align.CENTER, Align.RIGHT
623 public enum Align { enum in Paint
637 private Align(int nativeInt) { in Align() method in Paint.Align
1696 public Align getTextAlign() { in getTextAlign()
1708 public void setTextAlign(Align align) { in setTextAlign()
/frameworks/base/tests/FlickerTests/test-apps/flickerapp/src/com/android/server/wm/flicker/testapp/
DMailAdapter.java65 paint.setTextAlign(Paint.Align.CENTER); in draw()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DScreenRecordDrawable.java71 mPaint.setTextAlign(Paint.Align.CENTER); in inflate()
/frameworks/base/core/java/android/widget/
DSimpleMonthView.java30 import android.graphics.Paint.Align;
289 mMonthPaint.setTextAlign(Align.CENTER); in initPaints()
295 mDayOfWeekPaint.setTextAlign(Align.CENTER); in initPaints()
310 mDayPaint.setTextAlign(Align.CENTER); in initPaints()
/frameworks/base/tests/TouchLatency/app/src/main/java/com/prefabulated/touchlatency/
DTouchLatencyView.java61 mTextPaint.setTextAlign(Paint.Align.RIGHT); in TouchLatencyView()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
DBatteryMeterDrawableBase.java144 mTextPaint.setTextAlign(Paint.Align.CENTER); in BatteryMeterDrawableBase()
149 mWarningTextPaint.setTextAlign(Paint.Align.CENTER); in BatteryMeterDrawableBase()
/frameworks/base/core/java/com/android/internal/widget/
DPeopleHelper.java72 mTextPaint.setTextAlign(Paint.Align.CENTER); in init()
/frameworks/base/packages/EasterEgg/src/com/android/egg/quares/
DQuaresActivity.kt270 it.textAlign = Paint.Align.CENTER in <lambda>()

12