Searched refs:alignment (Results 1 - 25 of 30) sorted by relevance

12

/frameworks/av/media/libstagefright/codecs/aacenc/inc/
H A Dmemalign.h29 extern void *mem_malloc(VO_MEM_OPERATOR *pMemop, unsigned int size, unsigned char alignment, unsigned int CodecID);
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/
H A Dmem_align.h29 extern void *mem_malloc(VO_MEM_OPERATOR *pMemop, unsigned int size, unsigned char alignment, unsigned int CodecID);
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Dmemalign.c40 mem_malloc(VO_MEM_OPERATOR *pMemop, unsigned int size, unsigned char alignment, unsigned int CodecID) argument
46 if (!alignment) {
64 MemInfo.Size = size + alignment;
71 pMemop->Set(CodecID, tmp, 0, size + alignment);
74 (unsigned char *) ((intptr_t) (tmp + alignment - 1) &
75 (~((intptr_t) (alignment - 1))));
78 mem_ptr += alignment;
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Dmem_align.c40 mem_malloc(VO_MEM_OPERATOR *pMemop, unsigned int size, unsigned char alignment, unsigned int CodecID) argument
46 if (!alignment) {
64 MemInfo.Size = size + alignment;
71 pMemop->Set(CodecID, tmp, 0, size + alignment);
74 (unsigned char *) ((intptr_t) (tmp + alignment - 1) &
75 (~((intptr_t) (alignment - 1))));
78 mem_ptr += alignment;
/frameworks/av/libvideoeditor/lvpp/
H A DPreviewRenderer.h44 static size_t ALIGN(size_t x, size_t alignment) { argument
45 return (x + alignment - 1) & ~(alignment - 1);
/frameworks/native/include/binder/
H A DDebug.h39 size_t alignment=0, bool cArrayStyle=false,
H A DTextOutput.h107 inline HexDump& setAlignment(size_t alignment);
114 inline size_t alignment() const;
178 inline HexDump& HexDump::setAlignment(size_t alignment) { argument
179 mAlignment = alignment; return *this;
189 inline size_t HexDump::alignment() const { return mAlignment; } function in class:android::HexDump
/frameworks/compile/mclinker/lib/Target/ARM/
H A DARMToARMStub.h50 size_t alignment() const;
H A DARMToTHMStub.h50 size_t alignment() const;
H A DTHMToARMStub.h50 size_t alignment() const;
H A DTHMToTHMStub.h50 size_t alignment() const;
H A DARMToARMStub.cpp107 size_t ARMToARMStub::alignment() const function in class:ARMToARMStub
H A DARMToTHMStub.cpp115 size_t ARMToTHMStub::alignment() const function in class:ARMToTHMStub
H A DTHMToARMStub.cpp111 size_t THMToARMStub::alignment() const function in class:THMToARMStub
H A DTHMToTHMStub.cpp108 size_t THMToTHMStub::alignment() const function in class:THMToTHMStub
/frameworks/compile/mclinker/lib/Target/Hexagon/
H A DHexagonAbsoluteStub.h50 size_t alignment() const;
H A DHexagonAbsoluteStub.cpp109 size_t HexagonAbsoluteStub::alignment() const function in class:HexagonAbsoluteStub
/frameworks/base/core/java/com/android/internal/widget/
H A DSlidingTab.java160 * Tab alignment - determines which side the tab should be drawn on
179 private int alignment = ALIGN_UNKNOWN; field in class:SlidingTab.Slider
236 boolean horiz = alignment == ALIGN_LEFT || alignment == ALIGN_RIGHT;
237 int dx = horiz ? (alignment == ALIGN_LEFT ? alignment_value - tab.getRight()
239 int dy = horiz ? 0 : (alignment == ALIGN_TOP ? alignment_value - tab.getBottom()
255 boolean horiz = alignment == ALIGN_LEFT || alignment == ALIGN_RIGHT;
256 int dx = horiz ? (alignment == ALIGN_LEFT ? tab.getWidth() : -tab.getWidth()) : 0;
257 int dy = horiz ? 0: (alignment
335 layout(int l, int t, int r, int b, int alignment) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DGridLayout.java107 * A child's ability to stretch is inferred from the alignment properties of
110 * If alignment was defined along a given axis then the component
111 * is taken as <em>flexible</em> in that direction. If no alignment was set,
148 * use {@link #CENTER} alignment (or {@link LayoutParams#setGravity(int) gravity}).
191 * When the {@code alignmentMode} is set to {@link #ALIGN_BOUNDS}, alignment
200 * children that belong to a row group that uses {@link #TOP} alignment will
216 * belong to a row group that uses {@link #TOP} alignment.
471 * Returns the alignment mode.
473 * @return the alignment mode; either {@link #ALIGN_BOUNDS} or {@link #ALIGN_MARGINS}
487 * Sets the alignment mod
1090 getAlignment(Alignment alignment, boolean horizontal) argument
2402 final Alignment alignment; field in class:GridLayout.Spec
2404 Spec(boolean startDefined, Interval span, Alignment alignment) argument
2410 Spec(boolean startDefined, int start, int size, Alignment alignment) argument
2418 copyWriteAlignment(Alignment alignment) argument
2479 spec(int start, int size, Alignment alignment) argument
2497 spec(int start, Alignment alignment) argument
[all...]
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
H A DGridLayout.java108 * A child's ability to stretch is inferred from the alignment properties of
111 * If alignment was defined along a given axis then the component
112 * is taken as <em>flexible</em> in that direction. If no alignment was set,
149 * use {@link #CENTER} alignment (or {@link LayoutParams#setGravity(int) gravity}).
191 * When the {@code alignmentMode} is set to {@link #ALIGN_BOUNDS}, alignment
200 * children that belong to a row group that uses {@link #TOP} alignment will
216 * belong to a row group that uses {@link #TOP} alignment.
471 * Returns the alignment mode.
473 * @return the alignment mode; either {@link #ALIGN_BOUNDS} or {@link #ALIGN_MARGINS}
487 * Sets the alignment mod
991 getAlignment(Alignment alignment, boolean horizontal) argument
2285 final Alignment alignment; field in class:GridLayout.Spec
2287 Spec(boolean startDefined, Interval span, Alignment alignment) argument
2293 Spec(boolean startDefined, int start, int size, Alignment alignment) argument
2301 copyWriteAlignment(Alignment alignment) argument
2362 spec(int start, int size, Alignment alignment) argument
2380 spec(int start, Alignment alignment) argument
[all...]
/frameworks/compile/mclinker/lib/LD/
H A DBranchIsland.cpp122 // insert alignment fragment
123 // TODO: check if we can reduce this alignment fragment for some cases
124 AlignFragment* align_frag = new AlignFragment(pStub.alignment(),
127 pStub.alignment() - 1);
/frameworks/ex/carousel/java/com/android/ex/carousel/
H A DCarouselController.java294 * @param alignment a bitmask of DetailAlignment flags.
296 public void setDetailTextureAlignment(int alignment) { argument
297 int xBits = alignment & DetailAlignment.HORIZONTAL_ALIGNMENT_MASK;
300 "Must specify exactly one horizontal alignment flag");
302 int yBits = alignment & DetailAlignment.VERTICAL_ALIGNMENT_MASK;
305 "Must specify exactly one vertical alignment flag");
308 mDetailTextureAlignment = alignment;
310 mRenderScript.setDetailTextureAlignment(alignment);
H A DCarouselView.java88 /** Mask that selects those bits that control vertical alignment **/
107 /** Mask that selects those bits that control horizontal alignment **/
296 * @param alignment a bitmask of DetailAlignment flags.
298 public void setDetailTextureAlignment(int alignment) { argument
299 mController.setDetailTextureAlignment(alignment);
/frameworks/av/libvideoeditor/vss/src/
H A DM4PCMR_CoreReader.c488 M4OSA_UInt32 alignment; local
509 /** check the alignment on sample boundary */
510 alignment = c->m_decoderConfig.nbChannels*c->m_decoderConfig.BitsPerSample/8;
511 if (offset%alignment != 0)
513 offset -= offset%alignment;
/frameworks/compile/mclinker/include/mcld/Fragment/
H A DStub.h85 /// alignment - alignment of the stub
86 virtual size_t alignment() const = 0;

Completed in 470 milliseconds

12