Home
last modified time | relevance | path

Searched refs:alignment (Results 1 – 25 of 62) sorted by relevance

123

/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
Dmem_align.c40 mem_malloc(VO_MEM_OPERATOR *pMemop, unsigned int size, unsigned char alignment, unsigned int CodecI… in mem_malloc() argument
46 if (!alignment) { in mem_malloc()
64 MemInfo.Size = size + alignment; in mem_malloc()
71 pMemop->Set(CodecID, tmp, 0, size + alignment); in mem_malloc()
74 (unsigned char *) ((intptr_t) (tmp + alignment - 1) & in mem_malloc()
75 (~((intptr_t) (alignment - 1)))); in mem_malloc()
78 mem_ptr += alignment; in mem_malloc()
/frameworks/native/libs/binder/
DDebug.cpp160 size_t alignment, bool cStyle, in printHexData() argument
163 if (alignment == 0) { in printHexData()
164 if (bytesPerLine >= 16) alignment = 4; in printHexData()
165 else if (bytesPerLine >= 8) alignment = 2; in printHexData()
166 else alignment = 1; in printHexData()
224 size_t align_offset = alignment-(alignment?1:0); in printHexData()
230 … for (index = 0; index < alignment || (alignment == 0 && index < bytesPerLine); index++) { in printHexData()
233 if (index == 0 && word > 0 && alignment > 0) { in printHexData()
DTextOutput.cpp67 val.singleLineCutoff(), val.alignment(), val.carrayStyle(), in operator <<()
/frameworks/rs/script_api/include/
Drs_value_types.rsh107 * into a single 32 bit field with 32 bit alignment.
117 * into a single 64 bit field with 64 bit alignment.
127 * into a single 64 bit field with 64 bit alignment.
259 * with a 64 bit alignment.
262 * with a 64 bit alignment.
270 * with a 128 bit alignment.
278 * with a 128 bit alignment.
286 * with a 128 bit alignment.
294 * with a 256 bit alignment.
302 * with a 256 bit alignment.
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DSlidingTab.java191 private int alignment = ALIGN_UNKNOWN; field in SlidingTab.Slider
248 boolean horiz = alignment == ALIGN_LEFT || alignment == ALIGN_RIGHT; in hide()
249 int dx = horiz ? (alignment == ALIGN_LEFT ? alignment_value - tab.getRight() in hide()
251 int dy = horiz ? 0 : (alignment == ALIGN_TOP ? alignment_value - tab.getBottom() in hide()
267 boolean horiz = alignment == ALIGN_LEFT || alignment == ALIGN_RIGHT; in show()
268 int dx = horiz ? (alignment == ALIGN_LEFT ? tab.getWidth() : -tab.getWidth()) : 0; in show()
269 int dy = horiz ? 0: (alignment == ALIGN_TOP ? tab.getHeight() : -tab.getHeight()); in show()
309 final boolean horiz = alignment == ALIGN_LEFT || alignment == ALIGN_RIGHT; in reset()
310 int dx = horiz ? (alignment == ALIGN_LEFT ? alignment_value - tab.getLeft() in reset()
312 int dy = horiz ? 0 : (alignment == ALIGN_TOP ? alignment_value - tab.getTop() in reset()
[all …]
DImageFloatingTextView.java67 Layout.Alignment alignment, boolean shouldEllipsize, in makeSingleLayout() argument
77 .setAlignment(alignment) in makeSingleLayout()
/frameworks/compile/mclinker/lib/Target/Hexagon/
DHexagonRelocator.cpp512 uint32_t alignment = 1; in applyAbs() local
531 alignment = 2; in applyAbs()
536 alignment = 1; in applyAbs()
565 if ((shift != 0) && (result % alignment != 0)) in applyAbs()
587 uint32_t alignment = 1; in applyRel() local
595 alignment = 4; in applyRel()
602 alignment = 4; in applyRel()
609 alignment = 4; in applyRel()
616 alignment = 4; in applyRel()
623 alignment = 4; in applyRel()
[all …]
DHexagonAbsoluteStub.h44 size_t alignment() const;
/frameworks/native/libs/binder/include/binder/
DTextOutput.h108 inline HexDump& setAlignment(size_t alignment);
115 inline size_t alignment() const;
193 inline HexDump& HexDump::setAlignment(size_t alignment) { in setAlignment() argument
194 mAlignment = alignment; return *this; in setAlignment()
204 inline size_t HexDump::alignment() const { return mAlignment; } in alignment() function
DDebug.h38 size_t alignment=0, bool cArrayStyle=false,
/frameworks/av/camera/
DCameraMetadata.cpp28 #define ALIGN_TO(val, alignment) \ argument
29 (((uintptr_t)(val) + ((alignment) - 1)) & ~((alignment) - 1))
546 const size_t alignment = get_camera_metadata_alignment(); in readFromParcel() local
554 if (blobSize <= alignment) { in readFromParcel()
556 __FUNCTION__, blobSize, alignment); in readFromParcel()
560 const size_t metadataSize = blobSize - alignment; in readFromParcel()
584 if (offset >= alignment) { in readFromParcel()
586 __FUNCTION__, blobSize, alignment); in readFromParcel()
595 __FUNCTION__, alignment, tmp, offset); in readFromParcel()
652 const size_t alignment = get_camera_metadata_alignment(); in writeToParcel() local
[all …]
/frameworks/compile/mclinker/lib/LD/
DBranchIsland.cpp111 new AlignFragment(pStub.alignment(), 0x0, 1u, pStub.alignment() - 1); in addStub()
137 new AlignFragment(pStub.alignment(), 0x0, 1u, pStub.alignment() - 1); in addStub()
/frameworks/av/media/libstagefright/foundation/
DMediaBufferGroup.cpp71 size_t alignment = MemoryDealer::getAllocationAlignment(); in init() local
73 size_t total = (augmented_size + alignment - 1) / alignment * alignment * buffers; in init()
/frameworks/base/core/java/android/widget/
DGridLayout.java2428 Alignment alignment = spec.getAbsoluteAlignment(axis.horizontal);
2430 int before = alignment.getAlignmentValue(c, size, gl.getLayoutMode());
2565 final Alignment alignment;
2568 private Spec(boolean startDefined, Interval span, Alignment alignment, float weight) {
2571 this.alignment = alignment;
2575 private Spec(boolean startDefined, int start, int size, Alignment alignment, float weight) {
2576 this(startDefined, new Interval(start, start + size), alignment, weight);
2580 if (alignment != UNDEFINED_ALIGNMENT) {
2581 return alignment;
2590 return new Spec(startDefined, span, alignment, weight);
[all …]
/frameworks/compile/mclinker/lib/Object/
DObjectBuilder.cpp137 unsigned int alignment = pFrom.getSection().align(); in MoveSectionData() local
138 align = new AlignFragment(/*alignment*/alignment, in MoveSectionData()
141 /*max bytes to emit*/alignment - 1); in MoveSectionData()
/frameworks/av/media/libstagefright/codecs/mpeg2dec/
DSoftMPEG2.h26 #define ivd_aligned_malloc(alignment, size) memalign(alignment, size) argument
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/
Dmem_align.h29 extern void *mem_malloc(VO_MEM_OPERATOR *pMemop, unsigned int size, unsigned char alignment, unsign…
/frameworks/base/core/java/android/text/
DHtml.java366 final Layout.Alignment alignment = s.getAlignment(); in getTextStyles() local
367 if (alignment == Layout.Alignment.ALIGN_NORMAL) { in getTextStyles()
369 } else if (alignment == Layout.Alignment.ALIGN_CENTER) { in getTextStyles()
371 } else if (alignment == Layout.Alignment.ALIGN_OPPOSITE) { in getTextStyles()
967 String alignment = m.group(1); in startBlockElement() local
968 if (alignment.equalsIgnoreCase("start")) { in startBlockElement()
970 } else if (alignment.equalsIgnoreCase("center")) { in startBlockElement()
972 } else if (alignment.equalsIgnoreCase("end")) { in startBlockElement()
1328 public Alignment(Layout.Alignment alignment) { in Alignment() argument
1329 mAlignment = alignment; in Alignment()
/frameworks/compile/mclinker/lib/Target/Mips/
DMipsLA25Stub.h38 size_t alignment() const;
/frameworks/compile/mclinker/lib/Target/ARM/
DARMToTHMStub.h44 size_t alignment() const;
DARMToARMStub.h44 size_t alignment() const;
DTHMToARMStub.h43 size_t alignment() const;
DTHMToTHMStub.h43 size_t alignment() const;
/frameworks/compile/mclinker/lib/Target/AArch64/
DAArch64CA53ErratumStub.h50 size_t alignment() const;
DAArch64LongBranchStub.h44 size_t alignment() const;

123