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.cpp150 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 (((uintptr_t)pMemoryTable->Region[i].pBaseAddress % pMemoryTable->Region[i].Alignment)!=0){
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/
H A 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];
95 Alignment ha = HORIZONTAL_ALIGNMENTS[j];
/frameworks/compile/mclinker/include/mcld/Fragment/
H A DAlignFragment.h37 { return F->getKind() == Fragment::Alignment; }
43 /// Alignment - The alignment to ensure, in bytes.
H A DFragment.h30 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.java113 int width, Alignment align,
135 int width, Alignment align, TextDirectionHeuristic textDir,
165 int width, Alignment align,
220 Alignment paraAlign = mAlignment;
319 Alignment align = paraAlign;
320 if (align == Alignment.ALIGN_LEFT) {
322 Alignment.ALIGN_NORMAL : Alignment.ALIGN_OPPOSITE;
323 } else if (align == Alignment.ALIGN_RIGHT) {
325 Alignment
1938 public enum Alignment { enum in class:Layout
[all...]
H A DDynamicLayout.java47 int width, Alignment align,
61 int width, Alignment align,
77 int width, Alignment align,
96 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/av/media/libeffects/lvm/lib/Eq/src/
H A DLVEQNB_Init.c90 pMemoryTable->Region[LVEQNB_MEMREGION_INSTANCE].Alignment = LVEQNB_INSTANCE_ALIGN;
111 pMemoryTable->Region[LVEQNB_MEMREGION_PERSISTENT_DATA].Alignment = LVEQNB_DATA_ALIGN;
127 pMemoryTable->Region[LVEQNB_MEMREGION_PERSISTENT_COEF].Alignment = LVEQNB_COEF_ALIGN;
139 pMemoryTable->Region[LVEQNB_MEMREGION_SCRATCH].Alignment = LVEQNB_SCRATCH_ALIGN;
/frameworks/base/core/java/android/widget/
H A DGridLayout.java627 static Alignment getAlignment(int gravity, boolean horizontal) {
1096 final Alignment getAlignment(Alignment alignment, boolean horizontal) {
1155 Alignment hAlign = getAlignment(columnSpec.alignment, true);
1156 Alignment vAlign = getAlignment(rowSpec.alignment, false);
1173 // Alignment offsets: the location of the view relative to its alignment group.
2410 protected int getOffset(GridLayout gl, View c, Alignment a, int size, boolean horizontal) {
2417 Alignment alignment = gl.getAlignment(spec.alignment, horizontal);
2539 * <li>{@link #spec(int, Alignment)}</li>
2540 * <li>{@link #spec(int, int, Alignment)}</l
2756 public static abstract class Alignment { class in class:GridLayout
2757 Alignment() { method in class:GridLayout.Alignment
[all...]
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
H A DGridLayout.java611 static Alignment getAlignment(int gravity, boolean horizontal) {
985 final Alignment getAlignment(Alignment alignment, boolean horizontal) {
1044 Alignment hAlign = getAlignment(columnSpec.alignment, true);
1045 Alignment vAlign = getAlignment(rowSpec.alignment, false);
1062 // Alignment offsets: the location of the view relative to its alignment group.
2285 protected int getOffset(GridLayout gl, View c, Alignment a, int size, boolean horizontal) {
2292 Alignment alignment = gl.getAlignment(spec.alignment, horizontal);
2414 * <li>{@link #spec(int, Alignment)}</li>
2415 * <li>{@link #spec(int, int, Alignment)}</l
2631 public static abstract class Alignment { class in class:GridLayout
2632 Alignment() { method in class:GridLayout.Alignment
[all...]
/frameworks/av/media/libeffects/lvm/lib/Bass/lib/
H A DLVDBE.h227 LVM_UINT16 Alignment; /* Region alignment in bytes */ member in struct:__anon104
/frameworks/av/media/libeffects/lvm/lib/Eq/lib/
H A DLVEQNB.h229 LVM_UINT16 Alignment; /* Region alignment in bytes */ member in struct:__anon178
/frameworks/base/core/java/com/android/internal/widget/
H A DSubtitleView.java30 import android.text.Layout.Alignment;
61 private Alignment mAlignment;
207 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:__anon131
/frameworks/compile/mclinker/lib/LD/
H A DBranchIslandFactory.cpp51 while (frag != NULL && frag->getKind() == Fragment::Alignment) {
/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 714 milliseconds

12