Home
last modified time | relevance | path

Searched refs:Alignment (Results 1 – 25 of 48) sorted by relevance

12

/frameworks/base/core/java/android/text/style/
DAlignmentSpan.java25 public Layout.Alignment getAlignment(); in getAlignment()
29 public Standard(Layout.Alignment align) { in Standard()
34 mAlignment = Layout.Alignment.valueOf(src.readString()); in Standard()
49 public Layout.Alignment getAlignment() { in getAlignment()
53 private final Layout.Alignment mAlignment;
/frameworks/compile/mclinker/unittests/
DFragmentTest.cpp45 new Fragment(Fragment::Alignment, s); in TEST_F()
47 new Fragment(Fragment::Alignment, s); in TEST_F()
60 Fragment* f = new Fragment(Fragment::Alignment, s); in TEST_F()
62 EXPECT_TRUE(Fragment::Alignment == f->getKind()); in TEST_F()
DSectionDataTest.cpp59 new Fragment(Fragment::Alignment, s); in TEST_F()
60 new Fragment(Fragment::Alignment, s); in TEST_F()
68 EXPECT_TRUE(Fragment::Alignment == iter->getKind()); in TEST_F()
70 EXPECT_TRUE(Fragment::Alignment == iter->getKind()); in TEST_F()
/frameworks/base/core/java/android/text/
DLayout.java113 int width, Alignment align, in Layout()
135 int width, Alignment align, TextDirectionHeuristic textDir, in Layout()
165 int width, Alignment align, in replaceWith()
220 Alignment paraAlign = mAlignment; in drawText()
319 Alignment align = paraAlign; in drawText()
320 if (align == Alignment.ALIGN_LEFT) { in drawText()
322 Alignment.ALIGN_NORMAL : Alignment.ALIGN_OPPOSITE; in drawText()
323 } else if (align == Alignment.ALIGN_RIGHT) { in drawText()
325 Alignment.ALIGN_OPPOSITE : Alignment.ALIGN_NORMAL; in drawText()
329 if (align == Alignment.ALIGN_NORMAL) { in drawText()
[all …]
DBoringLayout.java41 Alignment align, in make()
51 Alignment align, in make()
66 int outerwidth, Alignment align, in replaceOrMake()
88 int outerwidth, Alignment align, in replaceOrMake()
121 Alignment align, in BoringLayout()
136 Alignment align, in BoringLayout()
171 Alignment align, in init()
177 if (source instanceof String && align == Layout.Alignment.ALIGN_NORMAL) { in init()
DStaticLayout.java47 Alignment align, float spacingmult, float spacingadd, in StaticLayout()
57 int width, Alignment align, TextDirectionHeuristic textDir, in StaticLayout()
66 Alignment align, in StaticLayout()
78 Alignment align, TextDirectionHeuristic textDir, in StaticLayout()
87 Alignment align, in StaticLayout()
101 Alignment align, TextDirectionHeuristic textDir, in StaticLayout()
DDynamicLayout.java47 int width, Alignment align, in DynamicLayout()
61 int width, Alignment align, in DynamicLayout()
77 int width, Alignment align, in DynamicLayout()
96 int width, Alignment align, TextDirectionHeuristic textDir, in DynamicLayout()
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/
DAlignmentTest.java28 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/support/v7/gridlayout/src/android/support/v7/widget/
DGridLayout.java611 static Alignment getAlignment(int gravity, boolean horizontal) { in getAlignment()
985 final Alignment getAlignment(Alignment alignment, boolean horizontal) { in getAlignment()
1044 Alignment hAlign = getAlignment(columnSpec.alignment, true); in onLayout()
1045 Alignment vAlign = getAlignment(rowSpec.alignment, false); in onLayout()
2285 protected int getOffset(GridLayout gl, View c, Alignment a, int size, boolean horizontal) {
2292 Alignment alignment = gl.getAlignment(spec.alignment, horizontal);
2429 final Alignment alignment;
2432 private Spec(boolean startDefined, Interval span, Alignment alignment, float weight) {
2439 private Spec(boolean startDefined, int start, int size, Alignment alignment, float weight) {
2447 final Spec copyWriteAlignment(Alignment alignment) {
[all …]
/frameworks/av/media/libeffects/lvm/lib/Bass/src/
DLVDBE_Init.c76 pMemoryTable->Region[LVDBE_MEMREGION_INSTANCE].Alignment = LVDBE_INSTANCE_ALIGN; in LVDBE_Memory()
84 … pMemoryTable->Region[LVDBE_MEMREGION_PERSISTENT_DATA].Alignment = LVDBE_PERSISTENT_DATA_ALIGN; in LVDBE_Memory()
92 … 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()
181 … if (((uintptr_t)pMemoryTable->Region[i].pBaseAddress % pMemoryTable->Region[i].Alignment)!=0){ in LVDBE_Init()
/frameworks/base/core/java/android/widget/
DGridLayout.java627 static Alignment getAlignment(int gravity, boolean horizontal) { in getAlignment()
1096 final Alignment getAlignment(Alignment alignment, boolean horizontal) { in getAlignment()
1155 Alignment hAlign = getAlignment(columnSpec.alignment, true); in onLayout()
1156 Alignment vAlign = getAlignment(rowSpec.alignment, false); in onLayout()
2410 protected int getOffset(GridLayout gl, View c, Alignment a, int size, boolean horizontal) {
2417 Alignment alignment = gl.getAlignment(spec.alignment, horizontal);
2554 final Alignment alignment;
2557 private Spec(boolean startDefined, Interval span, Alignment alignment, float weight) {
2564 private Spec(boolean startDefined, int start, int size, Alignment alignment, float weight) {
2572 final Spec copyWriteAlignment(Alignment alignment) {
[all …]
/frameworks/base/core/java/android/text/method/
DTouch.java20 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/base/core/tests/coretests/src/android/text/
DTextLayoutTest.java41 Layout.Alignment.ALIGN_NORMAL, 1, 0, in testStaticLayout()
48 Layout.Alignment.ALIGN_NORMAL, 1, 0, in testDynamicLayoutTest()
DStaticLayoutTest.java21 import android.text.Layout.Alignment;
22 import static android.text.Layout.Alignment.*;
239 Alignment align = ALIGN_NORMAL;
259 LayoutBuilder setAlignment(Alignment align) { in setAlignment()
/frameworks/av/media/libeffects/lvm/lib/Eq/src/
DLVEQNB_Init.c90 pMemoryTable->Region[LVEQNB_MEMREGION_INSTANCE].Alignment = LVEQNB_INSTANCE_ALIGN; in LVEQNB_Memory()
111 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()
139 pMemoryTable->Region[LVEQNB_MEMREGION_SCRATCH].Alignment = LVEQNB_SCRATCH_ALIGN; in LVEQNB_Memory()
/frameworks/compile/slang/
Dlegacy_bitcode.h23 if (A.hasAttribute(i, llvm::Attribute::Alignment)) { in encodeLLVMAttributesForBitcode()
/frameworks/compile/mclinker/lib/Fragment/
DAlignFragment.cpp24 : Fragment(Fragment::Alignment, pSD), m_Alignment(pAlignment), in AlignFragment()
DFragmentRef.cpp150 case Fragment::Alignment: in memcpy()
/frameworks/compile/mclinker/include/mcld/Fragment/
DAlignFragment.h37 { return F->getKind() == Fragment::Alignment; } in classof()
DFragment.h30 Alignment, enumerator
/frameworks/base/core/java/com/android/internal/widget/
DSubtitleView.java30 import android.text.Layout.Alignment;
61 private Alignment mAlignment;
207 public void setAlignment(Alignment textAlignment) { in setAlignment()
/frameworks/av/media/libeffects/lvm/lib/Eq/lib/
DLVEQNB.h229 LVM_UINT16 Alignment; /* Region alignment in bytes */ member
/frameworks/compile/mclinker/lib/LD/
DBranchIslandFactory.cpp51 while (frag != NULL && frag->getKind() == Fragment::Alignment) { in group()
/frameworks/av/media/libeffects/lvm/lib/Bass/lib/
DLVDBE.h227 LVM_UINT16 Alignment; /* Region alignment in bytes */ member
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DTicker.java24 import android.text.Layout.Alignment;
72 return new StaticLayout(substr, mPaint, w, Alignment.ALIGN_NORMAL, 1, 0, true); in getLayout()

12