Home
last modified time | relevance | path

Searched refs:alignment (Results 1 – 25 of 61) 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/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/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 const size_t startIndex = word+(alignment-(alignment?1:0)); in printHexData()
226 … for (index = 0; index < alignment || (alignment == 0 && index < bytesPerLine); index++) { in printHexData()
229 if (index == 0 && word > 0 && alignment > 0) { in printHexData()
/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.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.java70 Layout.Alignment alignment, boolean shouldEllipsize, in makeSingleLayout() argument
80 .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))
474 const size_t alignment = get_camera_metadata_alignment(); in readFromParcel() local
482 if (blobSize <= alignment) { in readFromParcel()
484 __FUNCTION__, blobSize, alignment); in readFromParcel()
488 const size_t metadataSize = blobSize - alignment; in readFromParcel()
512 if (offset >= alignment) { in readFromParcel()
514 __FUNCTION__, blobSize, alignment); in readFromParcel()
523 __FUNCTION__, alignment, tmp, offset); in readFromParcel()
580 const size_t alignment = get_camera_metadata_alignment(); in writeToParcel() local
[all …]
/frameworks/native/libs/binder/include/binder/
DTextOutput.h102 inline HexDump& setAlignment(size_t alignment);
109 inline size_t alignment() const;
187 inline HexDump& HexDump::setAlignment(size_t alignment) { in setAlignment() argument
188 mAlignment = alignment; return *this; in setAlignment()
198 inline size_t HexDump::alignment() const { return mAlignment; } in alignment() function
DDebug.h38 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.cpp53 size_t alignment = MemoryDealer::getAllocationAlignment(); in MediaBufferGroup() local
55 size_t total = (augmented_size + alignment - 1) / alignment * alignment * buffers; in MediaBufferGroup()
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
DGridLayout.java2295 Alignment alignment = spec.getAbsoluteAlignment(horizontal);
2297 int before = alignment.getAlignmentValue(c, size, ViewGroupCompat.getLayoutMode(gl));
2432 final Alignment alignment;
2435 private Spec(boolean startDefined, Interval span, Alignment alignment, float weight) {
2438 this.alignment = alignment;
2442 Spec(boolean startDefined, int start, int size, Alignment alignment, float weight) {
2443 this(startDefined, new Interval(start, start + size), alignment, weight);
2447 if (alignment != UNDEFINED_ALIGNMENT) {
2448 return alignment;
2457 return new Spec(startDefined, span, alignment, weight);
[all …]
/frameworks/base/core/java/android/widget/
DGridLayout.java2405 Alignment alignment = spec.getAbsoluteAlignment(axis.horizontal);
2407 int before = alignment.getAlignmentValue(c, size, gl.getLayoutMode());
2542 final Alignment alignment;
2545 private Spec(boolean startDefined, Interval span, Alignment alignment, float weight) {
2548 this.alignment = alignment;
2552 private Spec(boolean startDefined, int start, int size, Alignment alignment, float weight) {
2553 this(startDefined, new Interval(start, start + size), alignment, weight);
2557 if (alignment != UNDEFINED_ALIGNMENT) {
2558 return alignment;
2567 return new Spec(startDefined, span, alignment, weight);
[all …]
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DAppCompatTextViewAutoSizeHelper.java683 Layout.Alignment alignment = invokeAndReturnWithDefault( in suggestedSizeFitsInSpace() local
687 text, alignment, Math.round(availableSpace.right), maxLines) in suggestedSizeFitsInSpace()
689 text, alignment, Math.round(availableSpace.right)); in suggestedSizeFitsInSpace()
706 Layout.Alignment alignment, int availableWidth, int maxLines) { in createStaticLayoutForMeasuring() argument
716 return layoutBuilder.setAlignment(alignment) in createStaticLayoutForMeasuring()
730 Layout.Alignment alignment, int availableWidth) { in createStaticLayoutForMeasuringPre23() argument
755 alignment, in createStaticLayoutForMeasuringPre23()
/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/av/media/libstagefright/codecs/aacenc/inc/
Dmemalign.h29 extern void *mem_malloc(VO_MEM_OPERATOR *pMemop, unsigned int size, unsigned char alignment, unsign…
/frameworks/base/core/java/android/text/
DHtml.java365 final Layout.Alignment alignment = s.getAlignment(); in getTextStyles() local
366 if (alignment == Layout.Alignment.ALIGN_NORMAL) { in getTextStyles()
368 } else if (alignment == Layout.Alignment.ALIGN_CENTER) { in getTextStyles()
370 } else if (alignment == Layout.Alignment.ALIGN_OPPOSITE) { in getTextStyles()
965 String alignment = m.group(1); in startBlockElement() local
966 if (alignment.equalsIgnoreCase("start")) { in startBlockElement()
968 } else if (alignment.equalsIgnoreCase("center")) { in startBlockElement()
970 } else if (alignment.equalsIgnoreCase("end")) { in startBlockElement()
1326 public Alignment(Layout.Alignment alignment) { in Alignment() argument
1327 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;
DTHMToTHMStub.h43 size_t alignment() const;

123