/frameworks/base/core/java/android/text/ |
D | Layout.java | 227 int width, Alignment align, in Layout() 249 int width, Alignment align, TextDirectionHeuristic textDir, in Layout() 283 int width, Alignment align, in replaceWith() 334 Alignment paraAlign = mAlignment; in getJustifyWidth() 385 final Alignment align; in getJustifyWidth() 386 if (paraAlign == Alignment.ALIGN_LEFT) { in getJustifyWidth() 387 align = (dir == DIR_LEFT_TO_RIGHT) ? Alignment.ALIGN_NORMAL : Alignment.ALIGN_OPPOSITE; in getJustifyWidth() 388 } else if (paraAlign == Alignment.ALIGN_RIGHT) { in getJustifyWidth() 389 align = (dir == DIR_LEFT_TO_RIGHT) ? Alignment.ALIGN_OPPOSITE : Alignment.ALIGN_NORMAL; in getJustifyWidth() 395 if (align == Alignment.ALIGN_NORMAL) { in getJustifyWidth() [all …]
|
D | BoringLayout.java | 55 Alignment align, float spacingMult, float spacingAdd, BoringLayout.Metrics metrics, in make() 81 Alignment align, float spacingmult, float spacingadd, BoringLayout.Metrics metrics, in make() 104 Alignment align, float spacingMult, float spacingAdd, BoringLayout.Metrics metrics, in replaceOrMake() 138 Alignment align, float spacingMult, float spacingAdd, BoringLayout.Metrics metrics, in replaceOrMake() 173 public BoringLayout(CharSequence source, TextPaint paint, int outerwidth, Alignment align, in BoringLayout() 202 public BoringLayout(CharSequence source, TextPaint paint, int outerWidth, Alignment align, in BoringLayout() 230 /* package */ void init(CharSequence source, TextPaint paint, Alignment align, in init() 234 if (source instanceof String && align == Layout.Alignment.ALIGN_NORMAL) { in init()
|
D | Html.java | 300 Layout.Alignment align = in encodeTextAlignmentByDiv() 303 if (align == Layout.Alignment.ALIGN_CENTER) { in encodeTextAlignmentByDiv() 305 } else if (align == Layout.Alignment.ALIGN_OPPOSITE) { in encodeTextAlignmentByDiv() 366 final Layout.Alignment alignment = s.getAlignment(); in getTextStyles() 367 if (alignment == Layout.Alignment.ALIGN_NORMAL) { in getTextStyles() 369 } else if (alignment == Layout.Alignment.ALIGN_CENTER) { in getTextStyles() 371 } else if (alignment == Layout.Alignment.ALIGN_OPPOSITE) { in getTextStyles() 969 start(text, new Alignment(Layout.Alignment.ALIGN_NORMAL)); in startBlockElement() 971 start(text, new Alignment(Layout.Alignment.ALIGN_CENTER)); in startBlockElement() 973 start(text, new Alignment(Layout.Alignment.ALIGN_OPPOSITE)); in startBlockElement() [all …]
|
D | StaticLayout.java | 102 b.mAlignment = Alignment.ALIGN_NORMAL; in obtain() 199 public Builder setAlignment(@NonNull Alignment alignment) { in setAlignment() 426 private Alignment mAlignment; 453 Alignment align, float spacingmult, float spacingadd, in StaticLayout() 465 Alignment align, in StaticLayout() 478 Alignment align, in StaticLayout() 495 Alignment align, TextDirectionHeuristic textDir, in StaticLayout() 1304 public int getIndentAdjust(int line, Alignment align) { 1305 if (align == Alignment.ALIGN_LEFT) { 1311 } else if (align == Alignment.ALIGN_RIGHT) { [all …]
|
D | DynamicLayout.java | 79 b.mAlignment = Alignment.ALIGN_NORMAL; in obtain() 125 public Builder setAlignment(@NonNull Alignment alignment) { in setAlignment() 289 private Alignment mAlignment; 312 @IntRange(from = 0) int width, @NonNull Alignment align, in DynamicLayout() 325 @IntRange(from = 0) int width, @NonNull Alignment align, in DynamicLayout() 338 @IntRange(from = 0) int width, @NonNull Alignment align, in DynamicLayout() 362 @NonNull Alignment align, @NonNull TextDirectionHeuristic textDir, in DynamicLayout()
|
/frameworks/base/core/java/android/text/style/ |
D | AlignmentSpan.java | 35 Layout.Alignment getAlignment(); in getAlignment() 57 private final Layout.Alignment mAlignment; 62 public Standard(@NonNull Layout.Alignment align) { in Standard() 70 mAlignment = Layout.Alignment.valueOf(src.readString()); in Standard() 101 public Layout.Alignment getAlignment() { in getAlignment()
|
/frameworks/compile/mclinker/unittests/ |
D | FragmentTest.cpp | 40 new Fragment(Fragment::Alignment, s); in TEST_F() 42 new Fragment(Fragment::Alignment, s); in TEST_F() 55 Fragment* f = new Fragment(Fragment::Alignment, s); in TEST_F() 57 EXPECT_TRUE(Fragment::Alignment == f->getKind()); in TEST_F()
|
D | SectionDataTest.cpp | 53 new Fragment(Fragment::Alignment, s); in TEST_F() 54 new Fragment(Fragment::Alignment, s); in TEST_F() 62 EXPECT_TRUE(Fragment::Alignment == iter->getKind()); in TEST_F() 64 EXPECT_TRUE(Fragment::Alignment == iter->getKind()); in TEST_F()
|
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/ |
D | AlignmentTest.java | 28 import android.widget.GridLayout.Alignment; 44 public static final Alignment[] HORIZONTAL_ALIGNMENTS = {LEFT, CENTER, RIGHT, FILL}; 46 public static final Alignment[] VERTICAL_ALIGNMENTS = {TOP, CENTER, BASELINE, BOTTOM, FILL}; 93 Alignment va = VERTICAL_ALIGNMENTS[i]; in create() 95 Alignment ha = HORIZONTAL_ALIGNMENTS[j]; in create()
|
/frameworks/base/core/java/android/text/method/ |
D | Touch.java | 20 import android.text.Layout.Alignment; 42 Alignment a = layout.getParagraphAlignment(top); in scrollTo() 65 if (a == Alignment.ALIGN_CENTER) { in scrollTo() 67 } else if ((ltr && (a == Alignment.ALIGN_OPPOSITE)) || in scrollTo() 68 (!ltr && (a == Alignment.ALIGN_NORMAL)) || in scrollTo() 69 (a == Alignment.ALIGN_RIGHT)) { in scrollTo()
|
/frameworks/av/media/libeffects/lvm/lib/Bass/src/ |
D | LVDBE_Init.cpp | 75 pMemoryTable->Region[LVDBE_MEMREGION_INSTANCE].Alignment = LVDBE_INSTANCE_ALIGN; in LVDBE_Memory() 83 … pMemoryTable->Region[LVDBE_MEMREGION_PERSISTENT_DATA].Alignment = LVDBE_PERSISTENT_DATA_ALIGN; in LVDBE_Memory() 91 … pMemoryTable->Region[LVDBE_MEMREGION_PERSISTENT_COEF].Alignment = LVDBE_PERSISTENT_COEF_ALIGN; in LVDBE_Memory() 101 pMemoryTable->Region[LVDBE_MEMREGION_SCRATCH].Alignment = LVDBE_SCRATCH_ALIGN; in LVDBE_Memory() 178 … if (((uintptr_t)pMemoryTable->Region[i].pBaseAddress % pMemoryTable->Region[i].Alignment)!=0){ in LVDBE_Init()
|
/frameworks/base/core/java/android/widget/ |
D | GridLayout.java | 659 static Alignment getAlignment(int gravity, boolean horizontal) { in getAlignment() 1179 Alignment hAlign = columnSpec.getAbsoluteAlignment(true); in onLayout() 1180 Alignment vAlign = rowSpec.getAbsoluteAlignment(false); in onLayout() 2421 protected int getOffset(GridLayout gl, View c, Alignment a, int size, boolean horizontal) { 2428 Alignment alignment = spec.getAbsoluteAlignment(axis.horizontal); 2565 final Alignment alignment; 2568 private Spec(boolean startDefined, Interval span, Alignment alignment, float weight) { 2575 private Spec(boolean startDefined, int start, int size, Alignment alignment, float weight) { 2579 private Alignment getAbsoluteAlignment(boolean horizontal) { 2593 final Spec copyWriteAlignment(Alignment alignment) { [all …]
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | StaticLayoutTextMeasuringTest.java | 22 import android.text.Layout.Alignment; 40 private static final Alignment DEFAULT_ALIGN = Alignment.ALIGN_LEFT;
|
D | TextLayoutTest.java | 44 Layout.Alignment.ALIGN_NORMAL, 1, 0, in testStaticLayout() 51 Layout.Alignment.ALIGN_NORMAL, 1, 0, in testDynamicLayoutTest()
|
D | LayoutTest.java | 34 import android.text.Layout.Alignment; 60 private Layout.Alignment mAlign; 71 mAlign = Alignment.ALIGN_CENTER; in setup() 316 Alignment.ALIGN_LEFT, mSpacingMult, mSpacingAdd, false); in testGetSelectionWithASingleLineSelection() 347 Alignment.ALIGN_LEFT, mSpacingMult, mSpacingAdd, false); in testGetSelectionWithMultilineSelection_secondLineSelectionEndsBeforeFirstCharacter() 393 Alignment.ALIGN_LEFT, mSpacingMult, mSpacingAdd, false); 436 Alignment.ALIGN_LEFT, mSpacingMult, mSpacingAdd, false); in testGetSelectionPathWithASingleLineSelection() 469 Alignment.ALIGN_LEFT, mSpacingMult, mSpacingAdd, false); in testGetSelection_latinTextDirection() 480 Alignment.ALIGN_LEFT, mSpacingMult, mSpacingAdd, false); in testGetSelection_arabicTextDirection() 491 Alignment.ALIGN_LEFT, mSpacingMult, mSpacingAdd, false); in testGetSelection_mixedLatinAndArabicTextDirection() [all …]
|
D | StaticLayoutTest.java | 19 import static android.text.Layout.Alignment.ALIGN_NORMAL; 29 import android.text.Layout.Alignment; 61 private static final Alignment DEFAULT_ALIGN = Alignment.ALIGN_CENTER; 330 Alignment align = ALIGN_NORMAL; 350 LayoutBuilder setAlignment(Alignment align) { in setAlignment()
|
/frameworks/av/media/libeffects/lvm/lib/Eq/src/ |
D | LVEQNB_Init.cpp | 87 pMemoryTable->Region[LVEQNB_MEMREGION_INSTANCE].Alignment = LVEQNB_INSTANCE_ALIGN; in LVEQNB_Memory() 110 pMemoryTable->Region[LVEQNB_MEMREGION_PERSISTENT_DATA].Alignment = LVEQNB_DATA_ALIGN; in LVEQNB_Memory() 127 pMemoryTable->Region[LVEQNB_MEMREGION_PERSISTENT_COEF].Alignment = LVEQNB_COEF_ALIGN; in LVEQNB_Memory() 140 pMemoryTable->Region[LVEQNB_MEMREGION_SCRATCH].Alignment = LVEQNB_SCRATCH_ALIGN; in LVEQNB_Memory()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | SubtitleView.java | 30 import android.text.Layout.Alignment; 61 private Alignment mAlignment = Alignment.ALIGN_CENTER; 207 public void setAlignment(Alignment textAlignment) { in setAlignment()
|
/frameworks/compile/slang/ |
D | legacy_bitcode.h | 23 if (A.hasAttribute(i, llvm::Attribute::Alignment)) { in encodeLLVMAttributesForBitcode()
|
/frameworks/compile/mclinker/lib/Fragment/ |
D | AlignFragment.cpp | 24 : Fragment(Fragment::Alignment, pSD), in AlignFragment()
|
/frameworks/compile/mclinker/include/mcld/Fragment/ |
D | AlignFragment.h | 39 return F->getKind() == Fragment::Alignment; in classof()
|
D | Fragment.h | 29 enum Type { Alignment, Fillment, Region, Target, Stub, Null }; enumerator
|
/frameworks/av/media/libeffects/lvm/lib/Bass/lib/ |
D | LVDBE.h | 220 LVM_UINT16 Alignment; /* Region alignment in bytes */ member
|
/frameworks/av/media/libeffects/lvm/lib/Eq/lib/ |
D | LVEQNB.h | 227 LVM_UINT16 Alignment; /* Region alignment in bytes */ member
|
/frameworks/compile/mclinker/lib/LD/ |
D | BranchIslandFactory.cpp | 50 while (frag != NULL && frag->getKind() == Fragment::Alignment) { in group()
|