/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/ |
H A D | NopCanvas.java | 130 public void drawPoints(float[] pts, int offset, int count, Paint paint) { argument 146 public void drawLines(float[] pts, int offset, int count, Paint paint) { argument 225 public void drawBitmap(int[] colors, int offset, int stride, float x, float y, int width, argument 230 public void drawBitmap(int[] colors, int offset, int stride, int x, int y, int width, argument
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | RenderSessionImpl.java | 1223 * @param offset an offset for the view bounds. 1230 private ViewInfo visit(View view, int offset, boolean setExtendedInfo, argument 1232 ViewInfo result = createViewInfo(view, offset, setExtendedInfo, isContentFrame); 1236 result.setChildren(visitAllChildren(group, isContentFrame ? 0 : offset, 1248 * @param offset an offset from the top for the content view frame. 1254 private List<ViewInfo> visitAllChildren(ViewGroup viewGroup, int offset, argument 1261 offset += viewGroup.getTop(); 1269 ViewInfo[] childViewInfo = visitContentRoot(viewGroup.getChildAt(i), offset, 1298 visitContentRoot(View view, int offset, boolean setExtendedInfo) argument 1320 createViewInfo(View view, int offset, boolean setExtendedInfo, boolean isContentFrame) argument [all...] |
/frameworks/compile/mclinker/lib/LD/ |
H A D | ELFObjectWriter.cpp | 69 region = pOutput.request(section->offset(), section->size()); 319 shdr[sectIdx].sh_offset = ld_sect->offset(); 354 phdr[index].p_offset = (*seg)->offset(); 368 MemoryRegion region = pOutput.request(pShStrTab.offset(), pShStrTab.size()); 406 // Patch FDE field (offset to CIE) 415 // Patch PLT offset 418 uint64_t plt_offset = plt_sect->offset(); 420 uint64_t fde_offset = pFrame.getSection().offset() + fde.getOffset() + 422 int32_t offset = fde_offset - plt_offset; local 424 offset 439 int32_t offset = fde_cie_ptr_offset - cie_start_offset; local [all...] |
H A D | ELFReader.cpp | 56 uint32_t offset = pInput.fileOffset() + pSD.getSection().offset(); local 59 Fragment* frag = IRBuilder::CreateRegion(pInput, offset, size); 438 uint32_t offset = pInput.fileOffset() + symtab->offset() + local 441 pInput.memArea()->request(offset, sizeof(llvm::ELF::Elf32_Sym)); 460 pInput.fileOffset() + strtab->offset(), strtab->size()); 488 pInput.fileOffset() + dynamic_sect->offset(), dynamic_sect->size()); 491 pInput.fileOffset() + dynstr_sect->offset(), dynstr_sect->size()); 556 uint64_t offset local 932 uint64_t offset = pInput.fileOffset() + symtab->offset() + local [all...] |
/frameworks/minikin/libs/minikin/ |
H A D | FontCollection.cpp | 111 size_t offset = 0; local 121 ALOGD("i=%zd: range start = %zd\n", i, offset); 123 range->start = offset; 128 offset++; 136 range->end = offset;
|
H A D | LineBreaker.cpp | 225 void LineBreaker::addWordBreak(size_t offset, ParaWidth preBreak, ParaWidth postBreak, argument 233 size_t i = mCandidates.back().offset; 235 for (; i < offset; i++) { 238 cand.offset = i; 253 cand.offset = offset; 273 pushBreak(mCandidates[mBestBreak].offset, mCandidates[mBestBreak].postBreak - mPreBreak, 288 void LineBreaker::pushBreak(int offset, float width, uint8_t hyph) { argument 289 mBreaks.push_back(offset); 311 pushBreak(mCandidates[nCand - 1].offset, mCandidate [all...] |
/frameworks/native/libs/gui/tests/ |
H A D | SRGB_test.cpp | 129 int offset = (y * DISPLAY_WIDTH + x) * PIXEL_SIZE; local 133 textureData[offset + c] = intValue; 135 textureData[offset + 3] = ALPHA_VALUE; 319 int offset = colOffset + c; local 320 bytePointer[offset] = ((c + 1) * 56) - 1;
|
/frameworks/rs/api/ |
H A D | GenerateDocumentation.cpp | 680 const char offset[] = " "; local 681 *file << offset << "<li><a href=\"<?cs var:toroot ?>guide/topics/renderscript/reference/" 683 *file << offset << " <span class=\"en\">" << title << "</span>\n"; 684 *file << offset << "</a></li>\n"; local 698 const char offset[] = " "; local 699 file << offset << "<li class=\"nav-section\">\n"; local 700 file << offset << " <div class=\"nav-section-header\">\n"; local 701 file << offset << " <a href=\"<?cs var:toroot ?>guide/topics/renderscript/reference/" << 703 file << offset << " <span class=\"en\">Runtime API Reference</span>\n"; local 704 file << offset << " </ local 705 file << offset << " <ul>\\n"; local 715 file << offset << " </ul>\\n"; local 716 file << offset << "</li>\\n"; local [all...] |
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | BaseWrapContentTest.java | 220 tmp.offset(padding.left, padding.top); 290 int mOffsetX, mOffsetY;// how much we should offset children 460 private Rect getChildBounds(RecyclerView recyclerView, View child, boolean offset) { argument 467 if (offset) { 468 rect.offset(mOffsetX, mOffsetY);
|
/frameworks/wilhelm/include/SLES/ |
H A D | OpenSLES_Android.h | 364 SLAint64 offset; member in struct:SLDataLocator_AndroidFD_
|
/frameworks/av/media/libstagefright/ |
H A D | AVIExtractor.cpp | 172 off64_t offset; local 177 mTrackIndex, mSampleIndex, &offset, &size, &isKey, &timeUs); 188 ssize_t n = mExtractor->mDataSource->readAt(offset, out->data(), size); 245 if (mBuffer != NULL && mBuffer->offset() > 0) { 278 for (size_t offset = 0; offset + 3 < mBuffer->size(); ++offset) { 279 uint32_t firstHeader = U32_AT(mBuffer->data() + offset); 286 size_t subsequentOffset = offset + frameSize; 311 mBuffer->data() + offset, 422 parseChunk(off64_t offset, off64_t size, int depth) argument 589 parseStreamHeader(off64_t offset, size_t size) argument 669 parseStreamFormat(off64_t offset, size_t size) argument 767 parseIndex(off64_t offset, size_t size) argument 810 uint32_t offset = U32LE_AT(&data[8]); local 845 off64_t offset; local 881 off64_t offset; local 1002 off64_t offset; local 1050 off64_t offset; local 1104 getSampleInfo( size_t trackIndex, size_t sampleIndex, off64_t *offset, size_t *size, bool *isKey, int64_t *sampleTimeUs) argument 1165 off64_t offset; local [all...] |
H A D | CameraSource.cpp | 915 ssize_t offset; local 917 sp<IMemoryHeap> heap = frame->getMemory(&offset, &size); 925 (uint8_t*)heap->getBase() + offset); 1225 ssize_t offset; local 1227 sp<IMemoryHeap> heap = data->getMemory(&offset, &size); 1229 (uint8_t*)heap->getBase() + offset);
|
/frameworks/av/media/libstagefright/codecs/avc/enc/src/ |
H A D | motion_comp.cpp | 52 int block_x, block_y, offset_x, offset_y, offsetP, offset; local 63 offset = (tmp_word >> 2) + (x_position >> 1); 64 curCb = currPic->Scb + offset; 65 curCr = currPic->Scr + offset; 96 //offset = offset_y * currPic->width; 97 //offsetC = (offset >> 2) + (offset_x >> 1); 100 /*comp_Sl + offset + offset_x,*/ 194 int offset, out_offset; local 204 offset = picpitch - blkwidth - 3; 222 ref += offset; 1703 int offset, j; local [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | motion_est.cpp | 155 Int mbnum, offset; local 182 offset = 0; 264 offset = width * (j << 4) + (start_i << 4); 274 cur = currFrame->yChan + offset; 456 offset += (incr_i << 4); 473 offset = 0; 544 Int *offset, *offset2; local 566 offset = htfm_stat->offsetArray; 578 offset = video->nrmlz_th + 16; 582 offset[ 679 Int *offset; local 1193 Int offset = i0 + j0 * lx; local [all...] |
H A D | mp4enc_api.cpp | 198 Int max = 0, max_width = 0, max_height = 0, pitch, offset; local 759 offset = 0; 764 offset = (pitch << 4) + 16; 781 /* shift for the offset */ 782 if (offset) 784 video->currVop->yChan += offset; /* offset to the origin.*/ 785 video->currVop->uChan += (offset >> 2) + 4; 786 video->currVop->vChan += (offset >> 2) + 4; 799 if (offset) 1116 int max_width, offset; local [all...] |
/frameworks/av/media/libstagefright/foundation/ |
H A D | ANetworkSession.cpp | 458 size_t offset = 2; local 462 if (offset + 2 > mInBuffer.size()) { 466 payloadLen = U16_AT(&data[offset]); 467 offset += 2; 469 if (offset + 8 > mInBuffer.size()) { 473 payloadLen = U64_AT(&data[offset]); 474 offset += 8; 480 if (offset + 4 > mInBuffer.size()) { 484 mask = U32_AT(&data[offset]); 485 offset [all...] |
/frameworks/av/media/libstagefright/httplive/ |
H A D | M3UParser.cpp | 440 size_t offset = 0; local 443 while ((commaPos = codecs.find(",", offset)) >= 0) { 444 AString codec(codecs, offset, commaPos - offset); 451 offset = commaPos + 1; 553 size_t offset = 0; local 555 while (offset < size) { 556 size_t offsetLF = offset; 562 if (offsetLF > offset && data[offsetLF - 1] == '\r') { 563 line.setTo(&data[offset], offsetL 638 uint64_t length, offset; local 774 FindNextUnquoted( const AString &line, char what, size_t offset) argument 802 size_t offset = colonPos + 1; local 912 size_t offset = colonPos + 1; local 973 parseByteRange( const AString &line, uint64_t curOffset, uint64_t *length, uint64_t *offset) argument 1049 size_t offset = colonPos + 1; local [all...] |
/frameworks/av/media/libstagefright/mpeg2ts/ |
H A D | ESQueue.cpp | 281 "at offset %zd", 314 "at offset %zd", 349 "offset %zd", 383 "offset %zd", 410 "syncword at offset %zd", 657 size_t offset = 0; local 658 while (offset < info.mLength) { 659 if (offset + 7 > mBuffer->size()) { 663 ABitReader bits(mBuffer->data() + offset, mBuffer->size() - offset); 1061 size_t offset = 0; local 1208 size_t offset = 3; local 1242 size_t offset = 0; local [all...] |
/frameworks/av/media/mtp/ |
H A D | MtpServer.cpp | 784 mfr.offset = 0; 828 uint64_t offset; local 830 offset = mRequest.getParameter(2); 836 // android extension with 64 bit offset 838 offset = offset | (offset2 << 32); 854 if (offset + length > (uint64_t)fileLength) 855 length = fileLength - offset; 863 mfr.offset = offset; 1186 uint64_t offset = mRequest.getParameter(2); local 1265 uint64_t offset = mRequest.getParameter(2); local [all...] |
/frameworks/av/services/camera/libcameraservice/api1/ |
H A D | CameraClient.cpp | 864 ssize_t offset; local 866 sp<IMemoryHeap> heap = mem->getMemory(&offset, &size); 895 copyFrameAndPostCopiedFrame(msgType, c, heap, offset, size, metadata); 921 ssize_t offset; local 923 sp<IMemoryHeap> heap = mem->getMemory(&offset, &size); 993 const sp<IMemoryHeap>& heap, size_t offset, size_t size, 1029 memcpy(previewBufferBase, (uint8_t *) heapBase + offset, size); 991 copyFrameAndPostCopiedFrame( int32_t msgType, const sp<hardware::ICameraClient>& client, const sp<IMemoryHeap>& heap, size_t offset, size_t size, camera_frame_metadata_t *metadata) argument
|
/frameworks/av/services/camera/libcameraservice/device1/ |
H A D | CameraHardwareInterface.h | 364 ssize_t offset; local 366 sp<IMemoryHeap> heap = mem->getMemory(&offset, &size); 367 void *data = ((uint8_t *)heap->base()) + offset;
|
/frameworks/base/cmds/bootanimation/ |
H A D | BootAnimation.cpp | 353 GLint offset = (1 - (t - floorf(t))) * mAndroid[1].w; local 354 GLint x = xc - offset;
|
/frameworks/base/core/java/android/app/ |
H A D | ActionBar.java | 970 * Return the current vertical offset of the action bar. 972 * <p>The action bar's current hide offset is the distance that the action bar is currently 976 * @return The action bar's offset toward its fully hidden state in pixels 983 * Set the current hide offset of the action bar. 985 * <p>The action bar's current hide offset is the distance that the action bar is currently 989 * @param offset The action bar's offset toward its fully hidden state in pixels. 991 public void setHideOffset(int offset) { argument 992 if (offset != 0) { 993 throw new UnsupportedOperationException("Setting an explicit action bar hide offset " [all...] |
/frameworks/base/core/java/android/content/res/ |
H A D | XmlBlock.java | 43 public XmlBlock(byte[] data, int offset, int size) { argument 45 mNative = nativeCreate(data, offset, size); 492 int offset, 491 nativeCreate(byte[] data, int offset, int size) argument
|
/frameworks/base/core/java/android/text/ |
H A D | SpannableStringBuilder.java | 117 * Return the char at the specified offset within the buffer. 447 private int updatedIntervalBound(int offset, int start, int nbNewChars, int flag, boolean atEnd, argument 449 if (offset >= start && offset < mGapStart + mGapLength) { 455 if (textIsRemoved || offset > start) { 467 if (textIsRemoved || offset < mGapStart - nbNewChars) { 476 return offset; 557 final int offset = Math.toIntExact(diff * newLen / origLen); 558 selectionStart = start + offset; 566 final int offset 587 hasNonExclusiveExclusiveSpanAt(CharSequence text, int offset) argument 1503 getTextRunCursor(int contextStart, int contextEnd, int dir, int offset, int cursorOpt, Paint p) argument [all...] |