/frameworks/compile/libbcc/lib/CodeGen/ |
D | CodeMemoryManager.cpp | 69 unsigned Alignment) { in allocateSGMemory() argument 76 if (Alignment == 0) in allocateSGMemory() 77 Alignment = 1; in allocateSGMemory() 80 result = (uint8_t*) (((intptr_t) result) & ~(intptr_t) (Alignment - 1)); in allocateSGMemory() 175 uint8_t *CodeMemoryManager::allocateSpace(intptr_t Size, unsigned Alignment) { in allocateSpace() argument 181 if (Alignment == 0) in allocateSpace() 182 Alignment = 1; in allocateSpace() 185 result = (uint8_t*) (((intptr_t) result + Alignment - 1) & in allocateSpace() 186 ~(intptr_t) (Alignment - 1)); in allocateSpace() 194 uint8_t *CodeMemoryManager::allocateGlobal(uintptr_t Size, unsigned Alignment) { in allocateGlobal() argument [all …]
|
D | CodeMemoryManager.h | 171 unsigned Alignment) { in allocateStub() argument 172 return allocateSGMemory(StubSize, Alignment); in allocateStub() 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 */);
|
D | CodeEmitter.h | 184 unsigned Alignment); 194 virtual void *allocateGlobal(uintptr_t Size, unsigned Alignment); 243 unsigned Alignment);
|
D | CodeEmitter.cpp | 949 startGVStub(F, SL.Size, SL.Alignment); in GetLazyFunctionStub() 1120 startGVStub(0, SL.Size, SL.Alignment); in GetExternalFunctionStub() 1315 unsigned Alignment) { in startGVStub() argument 1321 Alignment); in startGVStub() 1354 unsigned Alignment) { in allocIndirectGV() argument 1355 uint8_t *IndGV = mpMemMgr->allocateStub(GV, Size, Alignment); in allocIndirectGV() 1364 void *CodeEmitter::allocateGlobal(uintptr_t Size, unsigned Alignment) { in allocateGlobal() argument 1366 return mpMemMgr->allocateGlobal(Size, Alignment); in allocateGlobal()
|
/frameworks/base/core/java/android/text/style/ |
D | AlignmentSpan.java | 25 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/base/core/java/android/text/ |
D | Layout.java | 114 int width, Alignment align, in Layout() 136 int width, Alignment align, TextDirectionHeuristic textDir, in Layout() 166 int width, Alignment align, in replaceWith() 293 Alignment paraAlign = mAlignment; in draw() 388 Alignment align = paraAlign; in draw() 389 if (align == Alignment.ALIGN_LEFT) { in draw() 391 Alignment.ALIGN_NORMAL : Alignment.ALIGN_OPPOSITE; in draw() 392 } else if (align == Alignment.ALIGN_RIGHT) { in draw() 394 Alignment.ALIGN_OPPOSITE : Alignment.ALIGN_NORMAL; in draw() 398 if (align == Alignment.ALIGN_NORMAL) { in draw() [all …]
|
D | BoringLayout.java | 41 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()
|
D | DynamicLayout.java | 44 int width, Alignment align, in DynamicLayout() 58 int width, Alignment align, in DynamicLayout() 74 int width, Alignment align, in DynamicLayout() 93 int width, Alignment align, TextDirectionHeuristic textDir, in DynamicLayout()
|
D | StaticLayout.java | 46 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() 160 Alignment align, TextDirectionHeuristic textDir, in generate()
|
D | Html.java | 163 Layout.Alignment align = in withinHtml() 166 if (align == Layout.Alignment.ALIGN_CENTER) { in withinHtml() 168 } else if (align == Layout.Alignment.ALIGN_OPPOSITE) { in withinHtml()
|
/frameworks/base/media/libeffects/lvm/lib/Bass/src/ |
D | LVDBE_Init.c | 76 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/ |
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]; in create() 85 Alignment ha = HORIZONTAL_ALIGNMENTS[j]; in create()
|
/frameworks/base/core/java/android/widget/ |
D | GridLayout.java | 553 static Alignment getAlignment(int gravity, boolean horizontal) { in getAlignment() 939 final Alignment getAlignment(Alignment alignment, boolean horizontal) { in getAlignment() 996 Alignment hAlign = getAlignment(columnSpec.alignment, true); in onLayout() 997 Alignment vAlign = getAlignment(rowSpec.alignment, false); in onLayout() 2070 protected int getOffset(View c, Alignment alignment, int size) { 2077 Alignment alignment = gridLayout.getAlignment(spec.alignment, axis.horizontal); 2209 final Alignment alignment; 2211 private Spec(boolean startDefined, Interval span, Alignment alignment) { 2217 private Spec(boolean startDefined, int start, int size, Alignment alignment) { 2225 final Spec copyWriteAlignment(Alignment alignment) { [all …]
|
D | TextView.java | 361 private Layout.Alignment mLayoutAlignment; 4085 Layout.Alignment.ALIGN_NORMAL, 1, 0, true); in chooseSize() 6065 private Layout.Alignment getLayoutAlignment() { in getLayoutAlignment() 6067 Layout.Alignment alignment; in getLayoutAlignment() 6076 alignment = Layout.Alignment.ALIGN_NORMAL; in getLayoutAlignment() 6079 alignment = Layout.Alignment.ALIGN_OPPOSITE; in getLayoutAlignment() 6082 alignment = Layout.Alignment.ALIGN_LEFT; in getLayoutAlignment() 6085 alignment = Layout.Alignment.ALIGN_RIGHT; in getLayoutAlignment() 6088 alignment = Layout.Alignment.ALIGN_CENTER; in getLayoutAlignment() 6091 alignment = Layout.Alignment.ALIGN_NORMAL; in getLayoutAlignment() [all …]
|
/frameworks/base/core/java/android/text/method/ |
D | Touch.java | 20 import android.text.Layout.Alignment; 44 Alignment a = layout.getParagraphAlignment(top); in scrollTo() 57 if (a == Alignment.ALIGN_CENTER) { in scrollTo() 59 } else if ((ltr && (a == Alignment.ALIGN_OPPOSITE)) || (a == Alignment.ALIGN_RIGHT)) { in scrollTo()
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | TextLayoutTest.java | 41 Layout.Alignment.ALIGN_NORMAL, 1, 0, in testStaticLayout() 48 Layout.Alignment.ALIGN_NORMAL, 1, 0, in testDynamicLayoutTest()
|
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) { in setAlignment()
|
/frameworks/base/media/libeffects/lvm/lib/Eq/src/ |
D | LVEQNB_Init.c | 89 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/base/media/libeffects/lvm/lib/Eq/lib/ |
D | LVEQNB.h | 229 LVM_UINT16 Alignment; /* Region alignment in bytes */ member
|
/frameworks/base/media/libeffects/lvm/lib/Bass/lib/ |
D | LVDBE.h | 227 LVM_UINT16 Alignment; /* Region alignment in bytes */ member
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | Ticker.java | 24 import android.text.Layout.Alignment; 67 return new StaticLayout(substr, mPaint, w, Alignment.ALIGN_NORMAL, 1, 0, true); in getLayout()
|
/frameworks/base/media/libeffects/lvm/lib/Bundle/src/ |
D | LVM_Private.h | 127 LVM_UINT16 Alignment; /* Byte alignment */ member
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
D | IconUtilities.java | 36 import android.text.Layout.Alignment;
|
/frameworks/ex/common/java/com/android/ex/editstyledtext/ |
D | EditStyledText.java | 701 public void setAlignment(Layout.Alignment align) { in setAlignment() 1186 public void setAlignment(Layout.Alignment align) { in setAlignment() 1709 private void changeAlign(Layout.Alignment align) { in changeAlign() 2301 Layout.Alignment align = Layout.Alignment.ALIGN_NORMAL; in onShowAlignAlertDialog() 2304 align = Layout.Alignment.ALIGN_NORMAL; in onShowAlignAlertDialog() 2307 align = Layout.Alignment.ALIGN_CENTER; in onShowAlignAlertDialog() 2310 align = Layout.Alignment.ALIGN_OPPOSITE; in onShowAlignAlertDialog()
|
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/ |
D | BitcodeReader.cpp | 447 unsigned Alignment = (Record[i+1] & (0xffffull << 16)) >> 16; in ParseAttributeBlock() local 448 if (Alignment && !isPowerOf2_32(Alignment)) in ParseAttributeBlock() 452 if (Alignment) in ParseAttributeBlock() 453 ReconstitutedAttr |= Attribute::constructAlignmentFromInt(Alignment); in ParseAttributeBlock() 1702 unsigned Alignment = (1 << Record[4]) >> 1; in ParseModule() local 1723 NewGV->setAlignment(Alignment); in ParseModule()
|