/frameworks/av/media/libstagefright/codecs/aacenc/inc/ |
H A D | memalign.h | 29 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 D | mem_align.h | 29 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 D | memalign.c | 40 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 D | mem_align.c | 40 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 D | PreviewRenderer.h | 44 static size_t ALIGN(size_t x, size_t alignment) { argument 45 return (x + alignment - 1) & ~(alignment - 1);
|
/frameworks/native/include/utils/ |
H A D | TextOutput.h | 102 inline HexDump& setAlignment(size_t alignment); 109 inline size_t alignment() const; 173 inline HexDump& HexDump::setAlignment(size_t alignment) { argument 174 mAlignment = alignment; return *this; 184 inline size_t HexDump::alignment() const { return mAlignment; } function in class:android::HexDump
|
H A D | Debug.h | 60 size_t alignment=0, bool cArrayStyle=false,
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | SlidingTab.java | 160 * 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/support/v7/gridlayout/src/android/support/v7/widget/ |
H A D | GridLayout.java | 105 * A child's ability to stretch is inferred from the alignment properties of 108 * If alignment was defined along a given axis then the component 109 * is taken as <em>flexible</em> in that direction. If no alignment was set, 135 * use {@link #CENTER} alignment (or {@link LayoutParams#setGravity(int) gravity}). 177 * When the {@code alignmentMode} is set to {@link #ALIGN_BOUNDS}, alignment 186 * children that belong to a row group that uses {@link #TOP} alignment will 202 * belong to a row group that uses {@link #TOP} alignment. 432 * Returns the alignment mode. 434 * @return the alignment mode; either {@link #ALIGN_BOUNDS} or {@link #ALIGN_MARGINS} 448 * Sets the alignment mod 976 getAlignment(Alignment alignment, boolean horizontal) argument 2144 getOffset(View c, Alignment alignment, int size) argument 2283 final Alignment alignment; field in class:GridLayout.Spec 2285 Spec(boolean startDefined, Interval span, Alignment alignment) argument 2291 Spec(boolean startDefined, int start, int size, Alignment alignment) argument 2299 copyWriteAlignment(Alignment alignment) argument 2358 spec(int start, int size, Alignment alignment) argument 2372 spec(int start, Alignment alignment) argument [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | GridLayout.java | 105 * A child's ability to stretch is inferred from the alignment properties of 108 * If alignment was defined along a given axis then the component 109 * is taken as <em>flexible</em> in that direction. If no alignment was set, 135 * use {@link #CENTER} alignment (or {@link LayoutParams#setGravity(int) gravity}). 178 * When the {@code alignmentMode} is set to {@link #ALIGN_BOUNDS}, alignment 187 * children that belong to a row group that uses {@link #TOP} alignment will 203 * belong to a row group that uses {@link #TOP} alignment. 452 * Returns the alignment mode. 454 * @return the alignment mode; either {@link #ALIGN_BOUNDS} or {@link #ALIGN_MARGINS} 468 * Sets the alignment mod 1037 getAlignment(Alignment alignment, boolean horizontal) argument 2351 final Alignment alignment; field in class:GridLayout.Spec 2353 Spec(boolean startDefined, Interval span, Alignment alignment) argument 2359 Spec(boolean startDefined, int start, int size, Alignment alignment) argument 2367 copyWriteAlignment(Alignment alignment) argument 2426 spec(int start, int size, Alignment alignment) argument 2440 spec(int start, Alignment alignment) argument [all...] |
H A D | TextView.java | 305 // The alignment to pass to Layout, or null if not resolved. 2679 * Sets the horizontal alignment of the text and the 2720 * Returns the horizontal and vertical alignment of this TextView. 5697 // This should never happen as we have already resolved the text alignment 5731 Layout.Alignment alignment = getLayoutAlignment(); 5745 mLayout = makeSingleLayout(wantWidth, boring, ellipsisWidth, alignment, shouldEllipsize, 5750 mSavedMarqueeModeLayout = makeSingleLayout(wantWidth, boring, ellipsisWidth, alignment, 5774 hintWidth, alignment, mSpacingMult, mSpacingAdd, 5778 hintWidth, alignment, mSpacingMult, mSpacingAdd, 5787 hintWidth, alignment, mSpacingMul 5842 makeSingleLayout(int wantWidth, BoringLayout.Metrics boring, int ellipsisWidth, Layout.Alignment alignment, boolean shouldEllipsize, TruncateAt effectiveEllipsize, boolean useSaved) argument [all...] |
/frameworks/ex/carousel/java/com/android/ex/carousel/ |
H A D | CarouselController.java | 294 * @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 D | CarouselView.java | 88 /** 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);
|
H A D | CarouselRS.java | 526 public void setDetailTextureAlignment(int alignment) { argument 527 mScript.set_detailTextureAlignment(alignment);
|
/frameworks/av/libvideoeditor/vss/src/ |
H A D | M4PCMR_CoreReader.c | 488 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/native/libs/utils/ |
H A D | TextOutput.cpp | 149 val.singleLineCutoff(), val.alignment(), val.carrayStyle(),
|
/frameworks/av/media/libmedia/ |
H A D | AudioTrack.cpp | 803 // Ensure that buffer alignment matches channelCount 806 size_t alignment = /* format == AUDIO_FORMAT_PCM_8_BIT ? 1 : */ 2; local 808 // More than 2 channels does not require stronger alignment than stereo 809 alignment <<= 1; 811 if (((uint32_t)sharedBuffer->pointer() & (alignment - 1)) != 0) { 812 ALOGE("Invalid buffer alignment: address %p, channelCount %d",
|