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

12

/frameworks/base/core/java/android/text/style/
H A DAlignmentSpan.java25 Layout.Alignment getAlignment();
28 public Standard(Layout.Alignment align) {
33 mAlignment = Layout.Alignment.valueOf(src.readString());
58 public Layout.Alignment getAlignment() {
62 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 DStaticLayoutTextMeasuringTest.java19 import android.text.Layout.Alignment;
29 private static final Alignment DEFAULT_ALIGN = Alignment.ALIGN_LEFT;
H A DStaticLayoutTest.java21 import android.text.Layout.Alignment;
22 import static android.text.Layout.Alignment.*;
39 private static final Alignment DEFAULT_ALIGN = Alignment.ALIGN_CENTER;
245 Alignment align = ALIGN_NORMAL;
265 LayoutBuilder setAlignment(Alignment align) {
/frameworks/compile/mclinker/unittests/
H A DFragmentTest.cpp40 new Fragment(Fragment::Alignment, s);
42 new Fragment(Fragment::Alignment, s);
55 Fragment* f = new Fragment(Fragment::Alignment, s);
57 EXPECT_TRUE(Fragment::Alignment == f->getKind());
H A DSectionDataTest.cpp53 new Fragment(Fragment::Alignment, s);
54 new Fragment(Fragment::Alignment, s);
62 EXPECT_TRUE(Fragment::Alignment == iter->getKind());
64 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),
/frameworks/compile/mclinker/include/mcld/Fragment/
H A DAlignFragment.h39 return F->getKind() == Fragment::Alignment;
47 /// Alignment - The alignment to ensure, in bytes.
H A DFragment.h29 enum Type { Alignment, Fillment, Region, Target, Stub, Null }; enumerator in enum:mcld::Fragment::Type
/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/base/core/java/android/text/
H A DLayout.java156 int width, Alignment align,
178 int width, Alignment align, TextDirectionHeuristic textDir,
207 int width, Alignment align,
262 Alignment paraAlign = mAlignment;
361 Alignment align = paraAlign;
362 if (align == Alignment.ALIGN_LEFT) {
364 Alignment.ALIGN_NORMAL : Alignment.ALIGN_OPPOSITE;
365 } else if (align == Alignment.ALIGN_RIGHT) {
367 Alignment
2061 public enum Alignment { enum in class:Layout
[all...]
H A DBoringLayout.java40 Alignment align,
50 Alignment align,
65 int outerwidth, Alignment align,
87 int outerwidth, Alignment align,
120 Alignment align,
135 Alignment align,
170 Alignment align,
176 if (source instanceof String && align == Layout.Alignment.ALIGN_NORMAL) {
H A DHtml.java302 Layout.Alignment align =
305 if (align == Layout.Alignment.ALIGN_CENTER) {
307 } else if (align == Layout.Alignment.ALIGN_OPPOSITE) {
377 final Layout.Alignment alignment = s.getAlignment();
378 if (alignment == Layout.Alignment.ALIGN_NORMAL) {
380 } else if (alignment == Layout.Alignment.ALIGN_CENTER) {
382 } else if (alignment == Layout.Alignment.ALIGN_OPPOSITE) {
979 start(text, new Alignment(Layout.Alignment.ALIGN_NORMAL));
981 start(text, new Alignment(Layou
1335 private static class Alignment { class in class:HtmlToSpannedConverter
1338 public Alignment(Layout.Alignment alignment) { method in class:HtmlToSpannedConverter.Alignment
[all...]
H A DStaticLayout.java87 b.mAlignment = Alignment.ALIGN_NORMAL;
176 * Set the alignment. The default is {@link Layout.Alignment#ALIGN_NORMAL}.
178 * @param alignment Alignment for the resulting {@link StaticLayout}
181 public Builder setAlignment(Alignment alignment) {
395 Alignment mAlignment;
420 Alignment align, float spacingmult, float spacingadd,
430 int width, Alignment align, TextDirectionHeuristic textDir,
439 Alignment align,
451 Alignment align, TextDirectionHeuristic textDir,
460 Alignment alig
[all...]
/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) {
1146 Alignment hAlign = columnSpec.getAbsoluteAlignment(true);
1147 Alignment vAlign = rowSpec.getAbsoluteAlignment(false);
1164 // Alignment offsets: the location of the view relative to its alignment group.
2388 protected int getOffset(GridLayout gl, View c, Alignment a, int size, boolean horizontal) {
2395 Alignment alignment = spec.getAbsoluteAlignment(axis.horizontal);
2517 * <li>{@link #spec(int, Alignment)}</li>
2518 * <li>{@link #spec(int, int, Alignment)}</li>
2521 * <li>{@link #spec(int, Alignment, float)}</li>
2522 * <li>{@link #spec(int, int, Alignment, floa
2744 public static abstract class Alignment { class in class:GridLayout
2745 Alignment() { method in class:GridLayout.Alignment
[all...]
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
H A DGridLayout.java614 static Alignment getAlignment(int gravity, boolean horizontal) {
1046 Alignment hAlign = columnSpec.getAbsoluteAlignment(true);
1047 Alignment vAlign = rowSpec.getAbsoluteAlignment(false);
1064 // Alignment offsets: the location of the view relative to its alignment group.
2282 protected int getOffset(GridLayout gl, View c, Alignment a, int size, boolean horizontal) {
2289 Alignment alignment = spec.getAbsoluteAlignment(horizontal);
2411 * <li>{@link #spec(int, Alignment)}</li>
2412 * <li>{@link #spec(int, int, Alignment)}</li>
2415 * <li>{@link #spec(int, Alignment, float)}</li>
2416 * <li>{@link #spec(int, int, Alignment, floa
2638 public static abstract class Alignment { class in class:GridLayout
2639 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:__anon118
/frameworks/av/media/libeffects/lvm/lib/Eq/lib/
H A DLVEQNB.h229 LVM_UINT16 Alignment; /* Region alignment in bytes */ member in struct:__anon192
/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) {
H A DImageFloatingTextView.java62 Layout.Alignment alignment, boolean shouldEllipsize,
/frameworks/av/media/libeffects/lvm/lib/Bundle/src/
H A DLVM_Private.h127 LVM_UINT16 Alignment; /* Byte alignment */ member in struct:__anon145

Completed in 3124 milliseconds

12