Home
last modified time | relevance | path

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

12

/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/base/docs/html/tools/help/
Dzipalign.jd6 <p>zipalign is an archive alignment tool that provides important
9 with a particular alignment relative to the start of the file. Specifically,
13 contain binary data with alignment restrictions.
30 the alignment. Also, do not make alterations to the aligned package.
32 potentially disrupt the alignment of the modified entry and all later
48 <pre>zipalign [-f] [-v] &lt;alignment> infile.apk outfile.apk</pre>
50 <p>To confirm the alignment of {@code existing.apk}:</p>
52 <pre>zipalign -c -v &lt;alignment> existing.apk</pre>
54 <p>The {@code &lt;alignment>} is an integer that defines the byte-alignment boundaries.
55 This must always be 4 (which provides 32-bit alignment) or else it effectively
[all …]
/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()
224 const size_t startIndex = word+(alignment-(alignment?1:0)); in printHexData()
231 … for (index = 0; index < alignment || (alignment == 0 && index < bytesPerLine); index++) { in printHexData()
234 if (index == 0 && word > 0 && alignment > 0) { in printHexData()
/frameworks/rs/scriptc/
Drs_types.rsh193 * alignment.
198 * into a single 128 bit field with 128 bit alignment.
204 * alignment.
210 * into a single 128 bit field with 128 bit alignment.
215 * into a single 256 bit field with 256 bit alignment.
220 * into a single 256 bit field with 256 bit alignment.
226 * into a single 16 bit field with 16 bit alignment.
231 * into a single 32 bit field with 32 bit alignment.
236 * into a single 32 bit field with 32 bit alignment.
242 * into a single 32 bit field with 32 bit alignment.
[all …]
/frameworks/av/libvideoeditor/lvpp/
DPreviewRenderer.h44 static size_t ALIGN(size_t x, size_t alignment) { in ALIGN() argument
45 return (x + alignment - 1) & ~(alignment - 1); in ALIGN()
/frameworks/base/core/java/com/android/internal/widget/
DSlidingTab.java179 private int alignment = ALIGN_UNKNOWN; field in SlidingTab.Slider
236 boolean horiz = alignment == ALIGN_LEFT || alignment == ALIGN_RIGHT; in hide()
237 int dx = horiz ? (alignment == ALIGN_LEFT ? alignment_value - tab.getRight() in hide()
239 int dy = horiz ? 0 : (alignment == ALIGN_TOP ? alignment_value - tab.getBottom() in hide()
255 boolean horiz = alignment == ALIGN_LEFT || alignment == ALIGN_RIGHT; in show()
256 int dx = horiz ? (alignment == ALIGN_LEFT ? tab.getWidth() : -tab.getWidth()) : 0; in show()
257 int dy = horiz ? 0: (alignment == ALIGN_TOP ? tab.getHeight() : -tab.getHeight()); in show()
297 final boolean horiz = alignment == ALIGN_LEFT || alignment == ALIGN_RIGHT; in reset()
298 int dx = horiz ? (alignment == ALIGN_LEFT ? alignment_value - tab.getLeft() in reset()
300 int dy = horiz ? 0 : (alignment == ALIGN_TOP ? alignment_value - tab.getTop() in reset()
[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/base/core/java/android/widget/
DGridLayout.java1014 if (spec.alignment == FILL) { in measureChildrenWithMargins()
1090 final Alignment getAlignment(Alignment alignment, boolean horizontal) { in getAlignment() argument
1091 return (alignment != UNDEFINED_ALIGNMENT) ? alignment : in getAlignment()
1149 Alignment hAlign = getAlignment(columnSpec.alignment, true); in onLayout()
1150 Alignment vAlign = getAlignment(rowSpec.alignment, false); in onLayout()
1298 Bounds bounds = getAlignment(spec.alignment, horizontal).getBounds(); in createGroupBounds()
2270 Alignment alignment = gl.getAlignment(spec.alignment, horizontal);
2272 int before = alignment.getAlignmentValue(c, size, gl.getLayoutMode());
2402 final Alignment alignment;
2404 private Spec(boolean startDefined, Interval span, Alignment alignment) {
[all …]
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
DGridLayout.java915 if (spec.alignment == FILL) { in measureChildrenWithMargins()
991 final Alignment getAlignment(Alignment alignment, boolean horizontal) { in getAlignment() argument
992 return (alignment != UNDEFINED_ALIGNMENT) ? alignment : in getAlignment()
1050 Alignment hAlign = getAlignment(columnSpec.alignment, true); in onLayout()
1051 Alignment vAlign = getAlignment(rowSpec.alignment, false); in onLayout()
1187 Bounds bounds = getAlignment(spec.alignment, horizontal).getBounds(); in createGroupBounds()
2153 Alignment alignment = gl.getAlignment(spec.alignment, horizontal);
2155 int before = alignment.getAlignmentValue(c, size, ViewGroupCompat.getLayoutMode(gl));
2285 final Alignment alignment;
2287 private Spec(boolean startDefined, Interval span, Alignment alignment) {
[all …]
/frameworks/ex/carousel/java/com/android/ex/carousel/
DCarouselController.java296 public void setDetailTextureAlignment(int alignment) { in setDetailTextureAlignment() argument
297 int xBits = alignment & DetailAlignment.HORIZONTAL_ALIGNMENT_MASK; in setDetailTextureAlignment()
302 int yBits = alignment & DetailAlignment.VERTICAL_ALIGNMENT_MASK; in setDetailTextureAlignment()
308 mDetailTextureAlignment = alignment; in setDetailTextureAlignment()
310 mRenderScript.setDetailTextureAlignment(alignment); in setDetailTextureAlignment()
/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/compile/mclinker/lib/LD/
DBranchIsland.cpp124 AlignFragment* align_frag = new AlignFragment(pStub.alignment(), in addStub()
127 pStub.alignment() - 1); in addStub()
/frameworks/av/libvideoeditor/vss/src/
DM4PCMR_CoreReader.c488 M4OSA_UInt32 alignment; in M4PCMR_seek() local
510 alignment = c->m_decoderConfig.nbChannels*c->m_decoderConfig.BitsPerSample/8; in M4PCMR_seek()
511 if (offset%alignment != 0) in M4PCMR_seek()
513 offset -= offset%alignment; in M4PCMR_seek()
/frameworks/compile/mclinker/lib/Target/ARM/
DARMToTHMStub.h50 size_t alignment() const;
DARMToARMStub.h50 size_t alignment() const;
DTHMToTHMStub.h50 size_t alignment() const;
DTHMToARMStub.h50 size_t alignment() const;
DARMToARMStub.cpp107 size_t ARMToARMStub::alignment() const in alignment() function in ARMToARMStub
DTHMToTHMStub.cpp108 size_t THMToTHMStub::alignment() const in alignment() function in THMToTHMStub
DTHMToARMStub.cpp111 size_t THMToARMStub::alignment() const in alignment() function in THMToARMStub
/frameworks/compile/mclinker/lib/Target/Hexagon/
DHexagonAbsoluteStub.h50 size_t alignment() const;
DHexagonAbsoluteStub.cpp109 size_t HexagonAbsoluteStub::alignment() const in alignment() function in HexagonAbsoluteStub

12