/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/Mips/ |
H A D | MipsLA25Stub.cpp | 82 size_t MipsLA25Stub::alignment() const { function in class:mcld::MipsLA25Stub
|
/frameworks/compile/mclinker/lib/Target/AArch64/ |
H A D | AArch64CA53ErratumStub.cpp | 145 size_t AArch64CA53ErratumStub::alignment() const { function in class:mcld::AArch64CA53ErratumStub
|
H A D | AArch64LongBranchStub.cpp | 137 size_t AArch64LongBranchStub::alignment() const { function in class:mcld::AArch64LongBranchStub
|
/frameworks/compile/mclinker/lib/Target/ARM/ |
H A D | ARMToARMStub.cpp | 100 size_t ARMToARMStub::alignment() const { function in class:mcld::ARMToARMStub
|
H A D | ARMToTHMStub.cpp | 108 size_t ARMToTHMStub::alignment() const { function in class:mcld::ARMToTHMStub
|
H A D | THMToARMStub.cpp | 121 size_t THMToARMStub::alignment() const { function in class:mcld::THMToARMStub
|
H A D | THMToTHMStub.cpp | 118 size_t THMToTHMStub::alignment() const { function in class:mcld::THMToTHMStub
|
/frameworks/compile/mclinker/lib/Target/Hexagon/ |
H A D | HexagonAbsoluteStub.cpp | 104 size_t HexagonAbsoluteStub::alignment() const { function in class:mcld::HexagonAbsoluteStub
|
H A D | HexagonRelocator.cpp | 426 // Determine the alignment by the symbol value 427 // FIXME: here we use the largest alignment 512 uint32_t alignment = 1; local 531 alignment = 2; 536 alignment = 1; 565 if ((shift != 0) && (result % alignment != 0)) 587 uint32_t alignment = 1; local 595 alignment = 4; 602 alignment = 4; 609 alignment 774 uint32_t alignment = 1; local 850 uint32_t alignment = 1; local 919 uint32_t alignment = 1; local [all...] |
H A D | HexagonLDBackend.cpp | 930 // if the align constraint is larger than 1, append an alignment 931 unsigned int alignment = pFrom.getSection().align(); local 932 align = new AlignFragment(/*alignment*/alignment, 935 /*max bytes to emit*/alignment - 1); 997 // if the align constraint is larger than 1, append an alignment 998 unsigned int alignment = pFrom.getSection().align(); local 999 align = new AlignFragment(/*alignment*/alignment, 1002 /*max bytes to emit*/alignment [all...] |
/frameworks/av/media/libstagefright/foundation/ |
H A D | MediaBufferGroup.cpp | 53 size_t alignment = MemoryDealer::getAllocationAlignment(); local 55 size_t total = (augmented_size + alignment - 1) / alignment * alignment * buffers;
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ImageFloatingTextView.java | 70 Layout.Alignment alignment, boolean shouldEllipsize, 80 .setAlignment(alignment) 69 makeSingleLayout(int wantWidth, BoringLayout.Metrics boring, int ellipsisWidth, Layout.Alignment alignment, boolean shouldEllipsize, TextUtils.TruncateAt effectiveEllipsize, boolean useSaved) argument
|
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/compile/mclinker/lib/Object/ |
H A D | ObjectBuilder.cpp | 110 // force input alignment from ldscript if any 136 // if the align constraint is larger than 1, append an alignment 137 unsigned int alignment = pFrom.getSection().align(); local 138 align = new AlignFragment(/*alignment*/alignment, 141 /*max bytes to emit*/alignment - 1); 165 /// UpdateSectionAlign - update alignment for input section 171 /// UpdateSectionAlign - update alignment for input section 189 // if the align constraint is larger than 1, append an alignment 190 align = new AlignFragment(/*alignment*/pAlignConstrain [all...] |
/frameworks/native/include/binder/ |
H A D | TextOutput.h | 102 inline HexDump& setAlignment(size_t alignment); 109 inline size_t alignment() const; 187 inline HexDump& HexDump::setAlignment(size_t alignment) { argument 188 mAlignment = alignment; return *this; 198 inline size_t HexDump::alignment() const { return mAlignment; } function in class:android::HexDump
|
/frameworks/native/libs/binder/ |
H A D | Debug.cpp | 160 size_t alignment, bool cStyle, 163 if (alignment == 0) { 164 if (bytesPerLine >= 16) alignment = 4; 165 else if (bytesPerLine >= 8) alignment = 2; 166 else alignment = 1; 224 const size_t startIndex = word+(alignment-(alignment?1:0)); 226 for (index = 0; index < alignment || (alignment == 0 && index < bytesPerLine); index++) { 229 if (index == 0 && word > 0 && alignment > 158 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/native/libs/binder/include/binder/ |
H A D | TextOutput.h | 102 inline HexDump& setAlignment(size_t alignment); 109 inline size_t alignment() const; 187 inline HexDump& HexDump::setAlignment(size_t alignment) { argument 188 mAlignment = alignment; return *this; 198 inline size_t HexDump::alignment() const { return mAlignment; } function in class:android::HexDump
|
/frameworks/base/media/jni/ |
H A D | android_media_MediaDescrambler.cpp | 135 size_t alignment = MemoryDealer::getAllocationAlignment(); local 136 neededSize = (neededSize + (alignment - 1)) & ~(alignment - 1);
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | AppCompatTextViewAutoSizeHelper.java | 683 Layout.Alignment alignment = invokeAndReturnWithDefault( 687 text, alignment, Math.round(availableSpace.right), maxLines) 689 text, alignment, Math.round(availableSpace.right)); 706 Layout.Alignment alignment, int availableWidth, int maxLines) { 716 return layoutBuilder.setAlignment(alignment) 730 Layout.Alignment alignment, int availableWidth) { 755 alignment, 705 createStaticLayoutForMeasuring(CharSequence text, Layout.Alignment alignment, int availableWidth, int maxLines) argument 729 createStaticLayoutForMeasuringPre23(CharSequence text, Layout.Alignment alignment, int availableWidth) argument
|
/frameworks/av/camera/ |
H A D | CameraMetadata.cpp | 29 #define ALIGN_TO(val, alignment) \ 30 (((uintptr_t)(val) + ((alignment) - 1)) & ~((alignment) - 1)) 474 const size_t alignment = get_camera_metadata_alignment(); local 482 if (blobSize <= alignment) { 483 ALOGE("%s: metadata blob is malformed, blobSize(%zu) should be larger than alignment(%zu)", 484 __FUNCTION__, blobSize, alignment); 488 const size_t metadataSize = blobSize - alignment; 512 if (offset >= alignment) { 513 ALOGE("%s: metadata offset(%zu) should be less than alignment( 580 const size_t alignment = get_camera_metadata_alignment(); local [all...] |
/frameworks/av/media/libstagefright/codecs/avcdec/ |
H A D | SoftAVCDec.cpp | 95 static void *ivd_aligned_malloc(void *ctxt, WORD32 alignment, WORD32 size) { argument 97 return memalign(alignment, size);
|
/frameworks/av/media/libstagefright/codecs/hevcdec/ |
H A D | SoftHEVC.cpp | 87 static void *ivd_aligned_malloc(void *ctxt, WORD32 alignment, WORD32 size) { argument 89 return memalign(alignment, size);
|
/frameworks/base/core/java/android/text/ |
H A D | Html.java | 365 final Layout.Alignment alignment = s.getAlignment(); 366 if (alignment == Layout.Alignment.ALIGN_NORMAL) { 368 } else if (alignment == Layout.Alignment.ALIGN_CENTER) { 370 } else if (alignment == Layout.Alignment.ALIGN_OPPOSITE) { 965 String alignment = m.group(1); 966 if (alignment.equalsIgnoreCase("start")) { 968 } else if (alignment.equalsIgnoreCase("center")) { 970 } else if (alignment.equalsIgnoreCase("end")) { 1326 public Alignment(Layout.Alignment alignment) { argument 1327 mAlignment = alignment; [all...] |