Searched refs:Alignment (Results 1 - 25 of 40) sorted by relevance

12

/frameworks/base/core/java/android/text/style/
H A DAlignmentSpan.java25 public Layout.Alignment getAlignment();
29 public Standard(Layout.Alignment align) {
34 mAlignment = Layout.Alignment.valueOf(src.readString());
49 public Layout.Alignment getAlignment() {
53 private final Layout.Alignment mAlignment;
/frameworks/base/core/tests/coretests/src/android/text/
H A DTextLayoutTest.java41 Layout.Alignment.ALIGN_NORMAL, 1, 0,
48 Layout.Alignment.ALIGN_NORMAL, 1, 0,
H A DStaticLayoutTest.java21 import android.text.Layout.Alignment;
22 import static android.text.Layout.Alignment.*;
239 Alignment align = ALIGN_NORMAL;
259 LayoutBuilder setAlignment(Alignment align) {
/frameworks/compile/mclinker/unittests/
H A DFragmentTest.cpp45 new Fragment(Fragment::Alignment, s);
47 new Fragment(Fragment::Alignment, s);
60 Fragment* f = new Fragment(Fragment::Alignment, s);
62 EXPECT_TRUE(Fragment::Alignment == f->getKind());
H A DSectionDataTest.cpp59 new Fragment(Fragment::Alignment, s);
60 new Fragment(Fragment::Alignment, s);
68 EXPECT_TRUE(Fragment::Alignment == iter->getKind());
70 EXPECT_TRUE(Fragment::Alignment == iter->getKind());
/frameworks/compile/slang/
H A Dlegacy_bitcode.h23 if (A.hasAttribute(i, llvm::Attribute::Alignment)) {
/frameworks/compile/mclinker/lib/Fragment/
H A DAlignFragment.cpp24 : Fragment(Fragment::Alignment, pSD), m_Alignment(pAlignment),
H A DFragmentRef.cpp146 case Fragment::Alignment:
162 case Fragment::Alignment:
179 case Fragment::Alignment:
/frameworks/av/media/libeffects/lvm/lib/Bass/src/
H A DLVDBE_Init.c76 pMemoryTable->Region[LVDBE_MEMREGION_INSTANCE].Alignment = LVDBE_INSTANCE_ALIGN;
84 pMemoryTable->Region[LVDBE_MEMREGION_PERSISTENT_DATA].Alignment = LVDBE_PERSISTENT_DATA_ALIGN;
92 pMemoryTable->Region[LVDBE_MEMREGION_PERSISTENT_COEF].Alignment = LVDBE_PERSISTENT_COEF_ALIGN;
101 pMemoryTable->Region[LVDBE_MEMREGION_SCRATCH].Alignment = LVDBE_SCRATCH_ALIGN;
181 if (((LVM_UINT32)pMemoryTable->Region[i].pBaseAddress % pMemoryTable->Region[i].Alignment)!=0){
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/
H A 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];
85 Alignment ha = HORIZONTAL_ALIGNMENTS[j];
/frameworks/compile/mclinker/include/mcld/Fragment/
H A DAlignFragment.h40 { return F->getKind() == Fragment::Alignment; }
46 /// Alignment - The alignment to ensure, in bytes.
H A DFragment.h33 Alignment, enumerator in enum:mcld::Fragment::Type
/frameworks/base/core/java/android/text/
H A DBoringLayout.java41 Alignment align,
51 Alignment align,
66 int outerwidth, Alignment align,
88 int outerwidth, Alignment align,
121 Alignment align,
136 Alignment align,
171 Alignment align,
177 if (source instanceof String && align == Layout.Alignment.ALIGN_NORMAL) {
H A DLayout.java112 int width, Alignment align,
134 int width, Alignment align, TextDirectionHeuristic textDir,
164 int width, Alignment align,
219 Alignment paraAlign = mAlignment;
312 Alignment align = paraAlign;
313 if (align == Alignment.ALIGN_LEFT) {
315 Alignment.ALIGN_NORMAL : Alignment.ALIGN_OPPOSITE;
316 } else if (align == Alignment.ALIGN_RIGHT) {
318 Alignment
1924 public enum Alignment { enum in class:Layout
[all...]
H A DDynamicLayout.java46 int width, Alignment align,
60 int width, Alignment align,
76 int width, Alignment align,
95 int width, Alignment align, TextDirectionHeuristic textDir,
/frameworks/base/core/java/android/text/method/
H A DTouch.java20 import android.text.Layout.Alignment;
42 Alignment a = layout.getParagraphAlignment(top);
65 if (a == Alignment.ALIGN_CENTER) {
67 } else if ((ltr && (a == Alignment.ALIGN_OPPOSITE)) ||
68 (!ltr && (a == Alignment.ALIGN_NORMAL)) ||
69 (a == Alignment.ALIGN_RIGHT)) {
/frameworks/base/core/java/android/widget/
H A DGridLayout.java623 static Alignment getAlignment(int gravity, boolean horizontal) {
1090 final Alignment getAlignment(Alignment alignment, boolean horizontal) {
1149 Alignment hAlign = getAlignment(columnSpec.alignment, true);
1150 Alignment vAlign = getAlignment(rowSpec.alignment, false);
1167 // Alignment offsets: the location of the view relative to its alignment group.
2262 protected int getOffset(GridLayout gl, View c, Alignment a, int size, boolean horizontal) {
2270 Alignment alignment = gl.getAlignment(spec.alignment, horizontal);
2392 * <li>{@link #spec(int, Alignment)}</li>
2393 * <li>{@link #spec(int, int, Alignment)}</l
2555 public static abstract class Alignment { class in class:GridLayout
2556 Alignment() { method in class:GridLayout.Alignment
[all...]
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
H A DGridLayout.java619 static Alignment getAlignment(int gravity, boolean horizontal) {
991 final Alignment getAlignment(Alignment alignment, boolean horizontal) {
1050 Alignment hAlign = getAlignment(columnSpec.alignment, true);
1051 Alignment vAlign = getAlignment(rowSpec.alignment, false);
1068 // Alignment offsets: the location of the view relative to its alignment group.
2145 protected int getOffset(GridLayout gl, View c, Alignment a, int size, boolean horizontal) {
2153 Alignment alignment = gl.getAlignment(spec.alignment, horizontal);
2275 * <li>{@link #spec(int, Alignment)}</li>
2276 * <li>{@link #spec(int, int, Alignment)}</l
2438 public static abstract class Alignment { class in class:GridLayout
2439 Alignment() { method in class:GridLayout.Alignment
[all...]
/frameworks/av/media/libeffects/lvm/lib/Eq/src/
H A DLVEQNB_Init.c89 pMemoryTable->Region[LVEQNB_MEMREGION_INSTANCE].Alignment = LVEQNB_INSTANCE_ALIGN;
110 pMemoryTable->Region[LVEQNB_MEMREGION_PERSISTENT_DATA].Alignment = LVEQNB_DATA_ALIGN;
126 pMemoryTable->Region[LVEQNB_MEMREGION_PERSISTENT_COEF].Alignment = LVEQNB_COEF_ALIGN;
138 pMemoryTable->Region[LVEQNB_MEMREGION_SCRATCH].Alignment = LVEQNB_SCRATCH_ALIGN;
/frameworks/compile/mclinker/lib/LD/
H A DBranchIslandFactory.cpp57 // (i.e., do not insert the island after a Alignment fragment)
59 Fragment::Alignment == frag->getKind()) {
/frameworks/av/media/libeffects/lvm/lib/Bass/lib/
H A DLVDBE.h227 LVM_UINT16 Alignment; /* Region alignment in bytes */ member in struct:__anon352
/frameworks/av/media/libeffects/lvm/lib/Eq/lib/
H A DLVEQNB.h229 LVM_UINT16 Alignment; /* Region alignment in bytes */ member in struct:__anon426
/frameworks/base/core/java/com/android/internal/widget/
H A DSubtitleView.java31 import android.text.Layout.Alignment;
57 private Alignment mAlignment;
200 public void setAlignment(Alignment textAlignment) {
/frameworks/av/media/libeffects/lvm/lib/Bundle/src/
H A DLVM_Private.h127 LVM_UINT16 Alignment; /* Byte alignment */ member in struct:__anon379
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DTicker.java24 import android.text.Layout.Alignment;
72 return new StaticLayout(substr, mPaint, w, Alignment.ALIGN_NORMAL, 1, 0, true);

Completed in 569 milliseconds

12