/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/compile/mclinker/lib/Target/ARM/ |
H A D | ARMToARMStub.cpp | 107 size_t ARMToARMStub::alignment() const function in class:ARMToARMStub
|
H A D | ARMToTHMStub.cpp | 115 size_t ARMToTHMStub::alignment() const function in class:ARMToTHMStub
|
H A D | THMToARMStub.cpp | 127 size_t THMToARMStub::alignment() const function in class:THMToARMStub
|
H A D | THMToTHMStub.cpp | 124 size_t THMToTHMStub::alignment() const function in class:THMToTHMStub
|
/frameworks/compile/mclinker/lib/Target/Hexagon/ |
H A D | HexagonAbsoluteStub.cpp | 110 size_t HexagonAbsoluteStub::alignment() const function in class:HexagonAbsoluteStub
|
H A D | HexagonRelocator.cpp | 416 // Determine the alignment by the symbol value 417 // FIXME: here we use the largest alignment 496 uint32_t alignment = 1; local 515 alignment = 2; 520 alignment = 1; 550 if ((shift != 0) && (result % alignment != 0)) 572 uint32_t alignment = 1; local 580 alignment = 4; 587 alignment = 4; 594 alignment 759 uint32_t alignment = 1; local 836 uint32_t alignment = 1; local 905 uint32_t alignment = 1; local [all...] |
/frameworks/compile/mclinker/lib/Target/Mips/ |
H A D | MipsLA25Stub.cpp | 98 size_t MipsLA25Stub::alignment() const function in class:mcld::MipsLA25Stub
|
/frameworks/native/include/binder/ |
H A D | TextOutput.h | 107 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/native/libs/binder/ |
H A D | Debug.cpp | 159 size_t alignment, bool cStyle, 162 if (alignment == 0) { 163 if (bytesPerLine >= 16) alignment = 4; 164 else if (bytesPerLine >= 8) alignment = 2; 165 else alignment = 1; 224 const size_t startIndex = word+(alignment-(alignment?1:0)); 231 for (index = 0; index < alignment || (alignment == 0 && index < bytesPerLine); index++) { 234 if (index == 0 && word > 0 && alignment > 157 printHexData(int32_t indent, const void *buf, size_t length, size_t bytesPerLine, int32_t singleLineBytesCutoff, size_t alignment, bool cStyle, debugPrintFunc func, void* cookie) argument [all...] |
/frameworks/av/camera/ |
H A D | CameraMetadata.cpp | 28 #define ALIGN_TO(val, alignment) \ 29 (((uintptr_t)(val) + ((alignment) - 1)) & ~((alignment) - 1)) 447 const size_t alignment = get_camera_metadata_alignment(); local 455 if (blobSize <= alignment) { 456 ALOGE("%s: metadata blob is malformed, blobSize(%zu) should be larger than alignment(%zu)", 457 __FUNCTION__, blobSize, alignment); 461 const size_t metadataSize = blobSize - alignment; 485 if (offset >= alignment) { 486 ALOGE("%s: metadata offset(%zu) should be less than alignment( 553 const size_t alignment = get_camera_metadata_alignment(); local [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | SlidingTab.java | 166 * Tab alignment - determines which side the tab should be drawn on 185 private int alignment = ALIGN_UNKNOWN; field in class:SlidingTab.Slider 242 boolean horiz = alignment == ALIGN_LEFT || alignment == ALIGN_RIGHT; 243 int dx = horiz ? (alignment == ALIGN_LEFT ? alignment_value - tab.getRight() 245 int dy = horiz ? 0 : (alignment == ALIGN_TOP ? alignment_value - tab.getBottom() 261 boolean horiz = alignment == ALIGN_LEFT || alignment == ALIGN_RIGHT; 262 int dx = horiz ? (alignment == ALIGN_LEFT ? tab.getWidth() : -tab.getWidth()) : 0; 263 int dy = horiz ? 0: (alignment 341 layout(int l, int t, int r, int b, int alignment) argument [all...] |
/frameworks/av/media/libmedia/ |
H A D | AudioTrack.cpp | 1023 // Ensure that buffer alignment matches channel count 1025 size_t alignment = audio_bytes_per_sample( local 1027 if (alignment & 1) { 1028 alignment = 1; 1031 // More than 2 channels does not require stronger alignment than stereo 1032 alignment <<= 1; 1034 if (((uintptr_t)mSharedBuffer->pointer() & (alignment - 1)) != 0) { 1035 ALOGE("Invalid buffer alignment: address %p, channel count %u",
|
/frameworks/base/media/java/android/media/ |
H A D | WebVttRenderer.java | 535 .append(", alignment:") 895 // TODO: add support for optional alignment value [,start|middle|end] 1491 * Resolves cue alignment according to the specified layout direction. 1493 private static int resolveCueAlignment(int layoutDirection, int alignment) { argument 1494 switch (alignment) { 1502 return alignment; 1724 final Alignment alignment; 1727 alignment = Alignment.ALIGN_LEFT; 1730 alignment = Alignment.ALIGN_RIGHT; 1734 alignment [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | GridLayout.java | 109 * columns and rows are taken as flexible if their views specify some form of alignment 112 * The flexibility of a view is therefore influenced by its alignment which is, 115 * If either a weight or alignment were defined along a given axis then the component 116 * is taken as <em>flexible</em> in that direction. If no weight or alignment was set, 198 * When the {@code alignmentMode} is set to {@link #ALIGN_BOUNDS}, alignment 207 * children that belong to a row group that uses {@link #TOP} alignment will 223 * belong to a row group that uses {@link #TOP} alignment. 474 * Returns the alignment mode. 476 * @return the alignment mode; either {@link #ALIGN_BOUNDS} or {@link #ALIGN_MARGINS} 491 * Sets the alignment mod 1096 getAlignment(Alignment alignment, boolean horizontal) argument 2554 final Alignment alignment; field in class:GridLayout.Spec 2557 Spec(boolean startDefined, Interval span, Alignment alignment, float weight) argument 2564 Spec(boolean startDefined, int start, int size, Alignment alignment, float weight) argument 2572 copyWriteAlignment(Alignment alignment) argument 2635 spec(int start, int size, Alignment alignment, float weight) argument 2646 spec(int start, Alignment alignment, float weight) argument 2680 spec(int start, int size, Alignment alignment) argument 2698 spec(int start, Alignment alignment) argument [all...] |
H A D | TextView.java | 3153 * Sets the horizontal alignment of the text and the 3193 * Returns the horizontal and vertical alignment of this TextView. 6209 Layout.Alignment alignment; 6214 alignment = Layout.Alignment.ALIGN_NORMAL; 6217 alignment = Layout.Alignment.ALIGN_OPPOSITE; 6220 alignment = Layout.Alignment.ALIGN_LEFT; 6223 alignment = Layout.Alignment.ALIGN_RIGHT; 6226 alignment = Layout.Alignment.ALIGN_CENTER; 6229 alignment = Layout.Alignment.ALIGN_NORMAL; 6234 alignment 6400 makeSingleLayout(int wantWidth, BoringLayout.Metrics boring, int ellipsisWidth, Layout.Alignment alignment, boolean shouldEllipsize, TruncateAt effectiveEllipsize, boolean useSaved) argument [all...] |
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/ |
H A D | GridLayout.java | 106 * flexible if their views specify some form of alignment within their groups. 108 * The flexibility of a view is therefore influenced by its alignment which is, 111 * If either a weight or alignment were defined along a given axis then the component 112 * is taken as <em>flexible</em> in that direction. If no weight or alignment was set, 183 * When the {@code alignmentMode} is set to {@link #ALIGN_BOUNDS}, alignment 192 * children that belong to a row group that uses {@link #TOP} alignment will 208 * belong to a row group that uses {@link #TOP} alignment. 463 * Returns the alignment mode. 465 * @return the alignment mode; either {@link #ALIGN_BOUNDS} or {@link #ALIGN_MARGINS} 479 * Sets the alignment mod 985 getAlignment(Alignment alignment, boolean horizontal) argument 2429 final Alignment alignment; field in class:GridLayout.Spec 2432 Spec(boolean startDefined, Interval span, Alignment alignment, float weight) argument 2439 Spec(boolean startDefined, int start, int size, Alignment alignment, float weight) argument 2447 copyWriteAlignment(Alignment alignment) argument 2510 spec(int start, int size, Alignment alignment, float weight) argument 2521 spec(int start, Alignment alignment, float weight) argument 2555 spec(int start, int size, Alignment alignment) argument 2573 spec(int start, Alignment alignment) argument [all...] |