Home
last modified time | relevance | path

Searched refs:Alignment (Results 1 – 25 of 44) 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 Fragment* f1 = new Fragment(Fragment::Alignment, s); in TEST_F()
47 Fragment* f2 = 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.cpp61 Fragment* f1 = new Fragment(Fragment::Alignment, s); in TEST_F()
62 Fragment* f2 = new Fragment(Fragment::Alignment, s); in TEST_F()
71 EXPECT_TRUE(Fragment::Alignment == iter->getKind()); in TEST_F()
73 EXPECT_TRUE(Fragment::Alignment == iter->getKind()); in TEST_F()
/frameworks/base/core/java/android/text/
DLayout.java112 int width, Alignment align, in Layout()
134 int width, Alignment align, TextDirectionHeuristic textDir, in Layout()
164 int width, Alignment align, in replaceWith()
219 Alignment paraAlign = mAlignment; in drawText()
312 Alignment align = paraAlign; in drawText()
313 if (align == Alignment.ALIGN_LEFT) { in drawText()
315 Alignment.ALIGN_NORMAL : Alignment.ALIGN_OPPOSITE; in drawText()
316 } else if (align == Alignment.ALIGN_RIGHT) { in drawText()
318 Alignment.ALIGN_OPPOSITE : Alignment.ALIGN_NORMAL; in drawText()
322 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.java46 Alignment align, float spacingmult, float spacingadd, in StaticLayout()
56 int width, Alignment align, TextDirectionHeuristic textDir, in StaticLayout()
65 Alignment align, in StaticLayout()
77 Alignment align, TextDirectionHeuristic textDir, in StaticLayout()
86 Alignment align, in StaticLayout()
100 Alignment align, TextDirectionHeuristic textDir, in StaticLayout()
DDynamicLayout.java46 int width, Alignment align, in DynamicLayout()
60 int width, Alignment align, in DynamicLayout()
76 int width, Alignment align, in DynamicLayout()
95 int width, Alignment align, TextDirectionHeuristic textDir, in DynamicLayout()
/frameworks/base/core/java/android/widget/
DGridLayout.java577 static Alignment getAlignment(int gravity, boolean horizontal) { in getAlignment()
1037 final Alignment getAlignment(Alignment alignment, boolean horizontal) { in getAlignment()
1096 Alignment hAlign = getAlignment(columnSpec.alignment, true); in onLayout()
1097 Alignment vAlign = getAlignment(rowSpec.alignment, false); in onLayout()
2211 protected int getOffset(GridLayout gl, View c, Alignment a, int size, boolean horizontal) {
2219 Alignment alignment = gl.getAlignment(spec.alignment, horizontal);
2351 final Alignment alignment;
2353 private Spec(boolean startDefined, Interval span, Alignment alignment) {
2359 private Spec(boolean startDefined, int start, int size, Alignment alignment) {
2367 final Spec copyWriteAlignment(Alignment alignment) {
[all …]
DTextView.java435 private Layout.Alignment mLayoutAlignment;
5792 private Layout.Alignment getLayoutAlignment() { in getLayoutAlignment()
5799 mLayoutAlignment = Layout.Alignment.ALIGN_NORMAL; in getLayoutAlignment()
5802 mLayoutAlignment = Layout.Alignment.ALIGN_OPPOSITE; in getLayoutAlignment()
5805 mLayoutAlignment = Layout.Alignment.ALIGN_LEFT; in getLayoutAlignment()
5808 mLayoutAlignment = Layout.Alignment.ALIGN_RIGHT; in getLayoutAlignment()
5811 mLayoutAlignment = Layout.Alignment.ALIGN_CENTER; in getLayoutAlignment()
5814 mLayoutAlignment = Layout.Alignment.ALIGN_NORMAL; in getLayoutAlignment()
5819 mLayoutAlignment = Layout.Alignment.ALIGN_NORMAL; in getLayoutAlignment()
5822 mLayoutAlignment = Layout.Alignment.ALIGN_OPPOSITE; in getLayoutAlignment()
[all …]
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
DGridLayout.java557 static Alignment getAlignment(int gravity, boolean horizontal) { in getAlignment()
976 final Alignment getAlignment(Alignment alignment, boolean horizontal) { in getAlignment()
1035 Alignment hAlign = getAlignment(columnSpec.alignment, true); in onLayout()
1036 Alignment vAlign = getAlignment(rowSpec.alignment, false); in onLayout()
2144 protected int getOffset(View c, Alignment alignment, int size) {
2151 Alignment alignment = gridLayout.getAlignment(spec.alignment, axis.horizontal);
2283 final Alignment alignment;
2285 private Spec(boolean startDefined, Interval span, Alignment alignment) {
2291 private Spec(boolean startDefined, int start, int size, Alignment alignment) {
2299 final Spec copyWriteAlignment(Alignment alignment) {
[all …]
/frameworks/compile/mclinker/lib/LD/
DFragmentRef.cpp37 case Fragment::Alignment: { in computeFragmentSize()
110 case Fragment::Alignment: in memcpy()
126 case Fragment::Alignment: in deref()
143 case Fragment::Alignment: in deref()
DAlignFragment.cpp23 : Fragment(Fragment::Alignment, pSD), m_Alignment(pAlignment), in AlignFragment()
DLayout.cpp355 if (Fragment::Alignment == front->getKind()) { in getFragmentRef()
386 if (Fragment::Alignment == front->getKind()) in getFragmentRef()
/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 (((LVM_UINT32)pMemoryTable->Region[i].pBaseAddress % pMemoryTable->Region[i].Alignment)!=0){ in LVDBE_Init()
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/
DAlignmentTest.java34 public static final Alignment[] HORIZONTAL_ALIGNMENTS = {LEFT, CENTER, RIGHT, FILL};
36 public static final Alignment[] VERTICAL_ALIGNMENTS = {TOP, CENTER, BASELINE, BOTTOM, FILL};
83 Alignment va = VERTICAL_ALIGNMENTS[i]; in create()
85 Alignment ha = HORIZONTAL_ALIGNMENTS[j]; in create()
/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)) || (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.c89 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()
126 pMemoryTable->Region[LVEQNB_MEMREGION_PERSISTENT_COEF].Alignment = LVEQNB_COEF_ALIGN; in LVEQNB_Memory()
138 pMemoryTable->Region[LVEQNB_MEMREGION_SCRATCH].Alignment = LVEQNB_SCRATCH_ALIGN; in LVEQNB_Memory()
/frameworks/compile/mclinker/include/mcld/LD/
DAlignFragment.h41 return F->getKind() == Fragment::Alignment; in classof()
DFragment.h32 Alignment, enumerator
/frameworks/av/media/libeffects/lvm/lib/Eq/lib/
DLVEQNB.h229 LVM_UINT16 Alignment; /* Region alignment in bytes */ member
/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;
77 return new StaticLayout(substr, mPaint, w, Alignment.ALIGN_NORMAL, 1, 0, true); in getLayout()
/frameworks/av/media/libeffects/lvm/lib/Bundle/src/
DLVM_Private.h127 LVM_UINT16 Alignment; /* Byte alignment */ member

12