/frameworks/base/core/java/android/text/style/ |
H A D | AlignmentSpan.java | 25 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/compile/libbcc/lib/CodeGen/ |
H A D | CodeMemoryManager.cpp | 69 unsigned Alignment) { 76 if (Alignment == 0) 77 Alignment = 1; 80 result = (uint8_t*) (((intptr_t) result) & ~(intptr_t) (Alignment - 1)); 175 uint8_t *CodeMemoryManager::allocateSpace(intptr_t Size, unsigned Alignment) { argument 181 if (Alignment == 0) 182 Alignment = 1; 185 result = (uint8_t*) (((intptr_t) result + Alignment - 1) & 186 ~(intptr_t) (Alignment - 1)); 194 uint8_t *CodeMemoryManager::allocateGlobal(uintptr_t Size, unsigned Alignment) { argument 68 allocateSGMemory(uintptr_t Size, unsigned Alignment) argument [all...] |
H A D | CodeMemoryManager.h | 171 unsigned Alignment) { 172 return allocateSGMemory(StubSize, Alignment); 187 virtual uint8_t *allocateSpace(intptr_t Size, unsigned Alignment); 190 virtual uint8_t *allocateGlobal(uintptr_t Size, unsigned Alignment); 232 unsigned Alignment = 1 /* no alignment */); 169 allocateStub(const llvm::GlobalValue *F, unsigned StubSize, unsigned Alignment) argument
|
H A D | CodeEmitter.h | 184 unsigned Alignment); 194 virtual void *allocateGlobal(uintptr_t Size, unsigned Alignment); 243 unsigned Alignment);
|
H A D | CodeEmitter.cpp | 949 startGVStub(F, SL.Size, SL.Alignment); 1120 startGVStub(0, SL.Size, SL.Alignment); 1315 unsigned Alignment) { 1321 Alignment); 1354 unsigned Alignment) { 1355 uint8_t *IndGV = mpMemMgr->allocateStub(GV, Size, Alignment); 1364 void *CodeEmitter::allocateGlobal(uintptr_t Size, unsigned Alignment) { argument 1366 return mpMemMgr->allocateGlobal(Size, Alignment); 1314 startGVStub(const llvm::GlobalValue *GV, unsigned StubSize, unsigned Alignment) argument 1352 allocIndirectGV(const llvm::GlobalValue *GV, const uint8_t *Buffer, size_t Size, unsigned Alignment) argument
|
/frameworks/base/core/tests/coretests/src/android/text/ |
H A D | TextLayoutTest.java | 41 Layout.Alignment.ALIGN_NORMAL, 1, 0, 48 Layout.Alignment.ALIGN_NORMAL, 1, 0,
|
H A D | StaticLayoutTest.java | 21 import android.text.Layout.Alignment; 22 import static android.text.Layout.Alignment.*; 239 Alignment align = ALIGN_NORMAL; 259 LayoutBuilder setAlignment(Alignment align) {
|
/frameworks/base/media/libeffects/lvm/lib/Bass/src/ |
H A D | LVDBE_Init.c | 76 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 D | AlignmentTest.java | 34 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/base/core/java/android/text/ |
H A D | BoringLayout.java | 41 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 D | Layout.java | 114 int width, Alignment align, 136 int width, Alignment align, TextDirectionHeuristic textDir, 166 int width, Alignment align, 293 Alignment paraAlign = mAlignment; 388 Alignment align = paraAlign; 389 if (align == Alignment.ALIGN_LEFT) { 391 Alignment.ALIGN_NORMAL : Alignment.ALIGN_OPPOSITE; 392 } else if (align == Alignment.ALIGN_RIGHT) { 394 Alignment 1844 public enum Alignment { enum in class:Layout [all...] |
H A D | DynamicLayout.java | 44 int width, Alignment align, 58 int width, Alignment align, 74 int width, Alignment align, 93 int width, Alignment align, TextDirectionHeuristic textDir,
|
H A D | StaticLayout.java | 46 Alignment align, float spacingmult, float spacingadd, 56 int width, Alignment align, TextDirectionHeuristic textDir, 65 Alignment align, 77 Alignment align, TextDirectionHeuristic textDir, 86 Alignment align, 100 Alignment align, TextDirectionHeuristic textDir,
|
H A D | Html.java | 163 Layout.Alignment align = 166 if (align == Layout.Alignment.ALIGN_CENTER) { 168 } else if (align == Layout.Alignment.ALIGN_OPPOSITE) {
|
/frameworks/base/core/java/android/text/method/ |
H A D | Touch.java | 20 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)) || (a == Alignment.ALIGN_RIGHT)) {
|
/frameworks/base/core/java/android/widget/ |
H A D | GridLayout.java | 553 static Alignment getAlignment(int gravity, boolean horizontal) { 941 final Alignment getAlignment(Alignment alignment, boolean horizontal) { 998 Alignment hAlign = getAlignment(columnSpec.alignment, true); 999 Alignment vAlign = getAlignment(rowSpec.alignment, false); 1021 // Alignment offsets: the location of the view relative to its alignment group. 2072 protected int getOffset(View c, Alignment alignment, int size) { 2079 Alignment alignment = gridLayout.getAlignment(spec.alignment, axis.horizontal); 2201 * <li>{@link #spec(int, Alignment)}</li> 2202 * <li>{@link #spec(int, int, Alignment)}</l 2350 public static abstract class Alignment { class in class:GridLayout 2351 Alignment() { method in class:GridLayout.Alignment [all...] |
H A D | TextView.java | 365 private Layout.Alignment mLayoutAlignment; 4129 Layout.Alignment.ALIGN_NORMAL, 1, 0, true); 6122 private Layout.Alignment getLayoutAlignment() { 6124 Layout.Alignment alignment; 6133 alignment = Layout.Alignment.ALIGN_NORMAL; 6136 alignment = Layout.Alignment.ALIGN_OPPOSITE; 6139 alignment = Layout.Alignment.ALIGN_LEFT; 6142 alignment = Layout.Alignment.ALIGN_RIGHT; 6145 alignment = Layout.Alignment.ALIGN_CENTER; 6148 alignment = Layout.Alignment [all...] |
/frameworks/base/media/libeffects/lvm/lib/Eq/src/ |
H A D | LVEQNB_Init.c | 89 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/base/media/libeffects/lvm/lib/Bass/lib/ |
H A D | LVDBE.h | 227 LVM_UINT16 Alignment; /* Region alignment in bytes */ member in struct:__anon358
|
/frameworks/base/media/libeffects/lvm/lib/Eq/lib/ |
H A D | LVEQNB.h | 229 LVM_UINT16 Alignment; /* Region alignment in bytes */ member in struct:__anon432
|
/frameworks/base/media/libeffects/lvm/lib/Bundle/src/ |
H A D | LVM_Private.h | 127 LVM_UINT16 Alignment; /* Byte alignment */ member in struct:__anon385
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | Ticker.java | 24 import android.text.Layout.Alignment; 67 return new StaticLayout(substr, mPaint, w, Alignment.ALIGN_NORMAL, 1, 0, true);
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
H A D | IconUtilities.java | 36 import android.text.Layout.Alignment;
|
/frameworks/ex/common/java/com/android/ex/editstyledtext/ |
H A D | EditStyledText.java | 584 /** Start to change Alignment */ 697 * Set Alignment of the Item. 701 public void setAlignment(Layout.Alignment align) { 1186 public void setAlignment(Layout.Alignment align) { 1709 private void changeAlign(Layout.Alignment align) { 2301 Layout.Alignment align = Layout.Alignment.ALIGN_NORMAL; 2304 align = Layout.Alignment.ALIGN_NORMAL; 2307 align = Layout.Alignment.ALIGN_CENTER; 2310 align = Layout.Alignment [all...] |
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/ |
H A D | BitcodeReader.cpp | 447 unsigned Alignment = (Record[i+1] & (0xffffull << 16)) >> 16; local 448 if (Alignment && !isPowerOf2_32(Alignment)) 449 return Error("Alignment is not a power of two."); 452 if (Alignment) 453 ReconstitutedAttr |= Attribute::constructAlignmentFromInt(Alignment); 1702 unsigned Alignment = (1 << Record[4]) >> 1; local 1723 NewGV->setAlignment(Alignment);
|