Home
last modified time | relevance | path

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

123

/frameworks/av/media/libstagefright/codecs/aacenc/src/
Dmemalign.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/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.cpp159 size_t alignment, bool cStyle, in printHexData() argument
162 if (alignment == 0) { in printHexData()
163 if (bytesPerLine >= 16) alignment = 4; in printHexData()
164 else if (bytesPerLine >= 8) alignment = 2; in printHexData()
165 else alignment = 1; in printHexData()
223 const size_t startIndex = word+(alignment-(alignment?1:0)); in printHexData()
225 … for (index = 0; index < alignment || (alignment == 0 && index < bytesPerLine); index++) { in printHexData()
228 if (index == 0 && word > 0 && alignment > 0) { in printHexData()
/frameworks/rs/scriptc/
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.java185 private int alignment = ALIGN_UNKNOWN; field in SlidingTab.Slider
242 boolean horiz = alignment == ALIGN_LEFT || alignment == ALIGN_RIGHT; in hide()
243 int dx = horiz ? (alignment == ALIGN_LEFT ? alignment_value - tab.getRight() in hide()
245 int dy = horiz ? 0 : (alignment == ALIGN_TOP ? alignment_value - tab.getBottom() in hide()
261 boolean horiz = alignment == ALIGN_LEFT || alignment == ALIGN_RIGHT; in show()
262 int dx = horiz ? (alignment == ALIGN_LEFT ? tab.getWidth() : -tab.getWidth()) : 0; in show()
263 int dy = horiz ? 0: (alignment == ALIGN_TOP ? tab.getHeight() : -tab.getHeight()); in show()
303 final boolean horiz = alignment == ALIGN_LEFT || alignment == ALIGN_RIGHT; in reset()
304 int dx = horiz ? (alignment == ALIGN_LEFT ? alignment_value - tab.getLeft() in reset()
306 int dy = horiz ? 0 : (alignment == ALIGN_TOP ? alignment_value - tab.getTop() in reset()
[all …]
DImageFloatingTextView.java62 Layout.Alignment alignment, boolean shouldEllipsize, in makeSingleLayout() argument
67 .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/av/camera/
DCameraMetadata.cpp29 #define ALIGN_TO(val, alignment) \ argument
30 (((uintptr_t)(val) + ((alignment) - 1)) & ~((alignment) - 1))
471 const size_t alignment = get_camera_metadata_alignment(); in readFromParcel() local
479 if (blobSize <= alignment) { in readFromParcel()
481 __FUNCTION__, blobSize, alignment); in readFromParcel()
485 const size_t metadataSize = blobSize - alignment; in readFromParcel()
509 if (offset >= alignment) { in readFromParcel()
511 __FUNCTION__, blobSize, alignment); in readFromParcel()
520 __FUNCTION__, alignment, tmp, offset); in readFromParcel()
577 const size_t alignment = get_camera_metadata_alignment(); in writeToParcel() local
[all …]
/frameworks/native/include/binder/
DTextOutput.h107 inline HexDump& setAlignment(size_t alignment);
114 inline size_t alignment() const;
178 inline HexDump& HexDump::setAlignment(size_t alignment) { in setAlignment() argument
179 mAlignment = alignment; return *this; in setAlignment()
189 inline size_t HexDump::alignment() const { return mAlignment; } in alignment() function
DDebug.h39 size_t alignment=0, bool cArrayStyle=false,
/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.cpp47 size_t alignment = MemoryDealer::getAllocationAlignment(); in MediaBufferGroup() local
49 size_t total = (augmented_size + alignment - 1) / alignment * alignment * buffers; in MediaBufferGroup()
/frameworks/base/core/java/android/widget/
DGridLayout.java2396 Alignment alignment = spec.getAbsoluteAlignment(axis.horizontal);
2398 int before = alignment.getAlignmentValue(c, size, gl.getLayoutMode());
2533 final Alignment alignment;
2536 private Spec(boolean startDefined, Interval span, Alignment alignment, float weight) {
2539 this.alignment = alignment;
2543 private Spec(boolean startDefined, int start, int size, Alignment alignment, float weight) {
2544 this(startDefined, new Interval(start, start + size), alignment, weight);
2548 if (alignment != UNDEFINED_ALIGNMENT) {
2549 return alignment;
2558 return new Spec(startDefined, span, alignment, weight);
[all …]
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
DGridLayout.java2289 Alignment alignment = spec.getAbsoluteAlignment(horizontal);
2291 int before = alignment.getAlignmentValue(c, size, ViewGroupCompat.getLayoutMode(gl));
2426 final Alignment alignment;
2429 private Spec(boolean startDefined, Interval span, Alignment alignment, float weight) {
2432 this.alignment = alignment;
2436 private Spec(boolean startDefined, int start, int size, Alignment alignment, float weight) {
2437 this(startDefined, new Interval(start, start + size), alignment, weight);
2441 if (alignment != UNDEFINED_ALIGNMENT) {
2442 return alignment;
2451 return new Spec(startDefined, span, alignment, weight);
[all …]
/frameworks/base/docs/html/guide/topics/renderscript/reference/
Drs_value_types.jd519 with a 16 bit alignment.
533 with a 32 bit alignment.
547 with a 32 bit alignment.
561 with a 128 bit alignment.
575 with a 256 bit alignment.
589 with a 256 bit alignment.
603 with a 64 bit alignment.
607 with a 64 bit alignment.
621 with a 128 bit alignment.
635 with a 128 bit alignment.
[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/aacenc/inc/
Dmemalign.h29 extern void *mem_malloc(VO_MEM_OPERATOR *pMemop, unsigned int size, unsigned char alignment, unsign…
/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.java377 final Layout.Alignment alignment = s.getAlignment(); in getTextStyles() local
378 if (alignment == Layout.Alignment.ALIGN_NORMAL) { in getTextStyles()
380 } else if (alignment == Layout.Alignment.ALIGN_CENTER) { in getTextStyles()
382 } else if (alignment == Layout.Alignment.ALIGN_OPPOSITE) { in getTextStyles()
977 String alignment = m.group(1); in startBlockElement() local
978 if (alignment.equalsIgnoreCase("start")) { in startBlockElement()
980 } else if (alignment.equalsIgnoreCase("center")) { in startBlockElement()
982 } else if (alignment.equalsIgnoreCase("end")) { in startBlockElement()
1338 public Alignment(Layout.Alignment alignment) { in Alignment() argument
1339 mAlignment = alignment; in Alignment()
/frameworks/compile/mclinker/lib/Target/ARM/
DARMToTHMStub.h44 size_t alignment() const;
DARMToARMStub.h44 size_t alignment() const;
/frameworks/compile/mclinker/lib/Target/Mips/
DMipsLA25Stub.h38 size_t alignment() const;
/frameworks/compile/mclinker/lib/Target/AArch64/
DAArch64CA53ErratumStub.h50 size_t alignment() const;

123