Searched defs:offset (Results 126 - 150 of 575) sorted by last modified time

1234567891011>>

/frameworks/ex/variablespeed/jni/
H A Dvariablespeed.cc489 bool AudioEngine::PlayFileDescriptor(int fd, int64 offset, int64 length) { argument
491 SL_DATALOCATOR_ANDROIDFD, fd, offset, length };
/frameworks/ex/variablespeed/src/com/android/ex/variablespeed/
H A DVariableSpeedNative.java66 /*package*/ static native void playFileDescriptor(int fd, long offset, long length); argument
/frameworks/ex/widget/java/com/android/ex/widget/
H A DStaggeredGridView.java672 final int offset = top + Math.min(mRestoreOffset, 0);
673 Arrays.fill(mItemTops, offset);
674 Arrays.fill(mItemBottoms, offset);
725 final void offsetChildren(int offset) { argument
729 child.layout(child.getLeft(), child.getTop() + offset,
730 child.getRight(), child.getBottom() + offset);
735 mItemTops[i] += offset;
736 mItemBottoms[i] += offset;
/frameworks/minikin/include/minikin/
H A DMinikinFont.h69 void offset(float dx, float dy) { function in struct:android::MinikinRect
/frameworks/minikin/libs/minikin/
H A DAnalyzeStyle.cpp25 static int32_t readU16(const uint8_t* data, size_t offset) { argument
26 return data[offset] << 8 | data[offset + 1];
H A DCmapCoverage.cpp31 static uint32_t readU16(const uint8_t* data, size_t offset) { argument
32 return data[offset] << 8 | data[offset + 1];
35 static uint32_t readU32(const uint8_t* data, size_t offset) { argument
36 return data[offset] << 24 | data[offset + 1] << 16 | data[offset + 2] << 8 | data[offset + 3];
155 uint32_t offset = readU32(cmap_data, kHeaderSize + bestTable * kTableSize + kOffsetOffset); local
156 if (offset
[all...]
H A DFontCollection.cpp65 size_t offset = 0; local
71 ALOGD("i=%d: range start = %d\n", i, offset);
73 range->start = offset;
78 offset++;
86 range->end = offset;
H A DGraphemeBreak.cpp26 size_t offset) {
33 if (offset <= start || offset >= start + count) {
36 if (U16_IS_TRAIL(buf[offset])) {
42 size_t offset_back = offset;
44 U16_NEXT(buf, offset, count, c2);
101 size_t offset, MoveOpt opt) {
104 if (offset < start + count) {
105 offset++;
109 while (!isGraphemeBreak(buf, start, count, offset)) {
25 isGraphemeBreak(const uint16_t* buf, size_t start, size_t count, size_t offset) argument
100 getTextRunCursor(const uint16_t* buf, size_t start, size_t count, size_t offset, MoveOpt opt) argument
[all...]
H A DLayout.cpp488 * Return offset of previous word break. It is either < offset or == 0.
490 static size_t getPrevWordBreak(const uint16_t* chars, size_t offset) { argument
491 if (offset == 0) return 0;
492 if (isWordBreak(chars[offset - 1])) {
493 return offset - 1;
495 for (size_t i = offset - 1; i > 0; i--) {
504 * Return offset of next word break. It is either > offset or == len.
506 static size_t getNextWordBreak(const uint16_t* chars, size_t offset, size_ argument
[all...]
H A DSparseBitSet.cpp119 uint32_t offset = (fromIndex & kPageMask) >> kLogBitsPerEl; local
120 element e = bitmap[offset] & (kElAllOnes >> (fromIndex & kElMask));
124 for (uint32_t j = offset + 1; j < (1 << (kLogValuesPerPage - kLogBitsPerEl)); j++) {
/frameworks/compile/libbcc/include/bcc/Renderscript/
H A DRSInfo.h55 // The offset from the beginning of the file of data
56 uint32_t offset; member in struct:bcc::rsinfo::ListHeader
190 // layout() assigns value of offset in each ListHeader (i.e., it decides where
191 // data should go in the file.) It also updates fields other than offset to
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DBitmapMutateActivity.java46 mAnimator = ObjectAnimator.ofInt(view, "offset", 0, PATTERN_SIZE - 1);
78 public void setOffset(int offset) { argument
79 mOffset = offset;
H A DColoredRectsActivity.java65 public RectsView(Context c, float offset, int color) { argument
67 mOffset = offset;
H A DLines2Activity.java69 public LinesView(Context c, float offset, int color) { argument
71 mOffset = offset;
H A DLinesActivity.java42 mAnimator = ObjectAnimator.ofFloat(view, "offset", 0.0f, 15.0f);
109 public void setOffset(float offset) { argument
110 mOffset = offset;
H A DTransform3dActivity.java77 private void drawBitmap(Canvas canvas, float centerX, float centerY, float offset, argument
80 canvas.translate(offset, 0.0f);
/frameworks/base/tools/aapt/
H A DAaptAssets.cpp484 void* AaptFile::editDataInRange(size_t offset, size_t size) argument
486 return (void*)(((uint8_t*) editData(offset + size)) + offset);
H A DCrunchCache.cpp42 // and offset our beginning pointer to the length of the sourcePath
48 int offset = 0; local
50 offset = 1;
51 relativePath = String8(rPathPtr + offset);
H A DImages.cpp284 png_bytepp rows, int offset, int height, bool transparent, bool required,
294 if (TICK_TYPE_TICK == tick_type(rows[i]+offset, transparent, outError)) {
371 png_bytepp rows, int offset, int height, bool transparent, bool required,
378 if (TICK_TYPE_LAYOUT_BOUNDS == tick_type(rows[1] + offset, transparent, outError)) {
384 int tick = tick_type(rows[i] + offset, transparent, outError);
392 if (TICK_TYPE_LAYOUT_BOUNDS == tick_type(rows[height - 2] + offset, transparent, outError)) {
398 int tick = tick_type(rows[i] + offset, transparent, outError);
283 get_vertical_ticks( png_bytepp rows, int offset, int height, bool transparent, bool required, int32_t* outTop, int32_t* outBottom, const char** outError, uint8_t* outDivs, bool multipleAllowed) argument
370 get_vertical_layout_bounds_ticks( png_bytepp rows, int offset, int height, bool transparent, bool required, int32_t* outTop, int32_t* outBottom, const char** outError) argument
H A DStringPool.h45 entry() : offset(0) { }
46 entry(const String16& _value) : value(_value), offset(0), hasStyles(false) { }
47 entry(const entry& o) : value(o.value), offset(o.offset),
52 size_t offset; member in struct:StringPool::entry
76 entry_style() : offset(0) { }
78 entry_style(const entry_style& o) : offset(o.offset), spans(o.spans) { }
80 size_t offset; member in struct:StringPool::entry_style
126 * Find out an offset i
[all...]
H A DZipEntry.h75 * Return the offset of the local file header.
80 * Return the absolute file offset of the start of the compressed or
194 * Set the offset of the local file header, relative to the start of
197 void setLFHOffset(off_t offset) { argument
198 mCDE.mLocalHeaderRelOffset = (long) offset;
H A DZipFile.cpp297 ALOGD("Failure seeking to central dir offset %ld\n",
980 /* Get the length of this entry by finding the offset
1163 off_t offset = entry->getFileOffset(); local
1164 if (fseek(mZipFp, offset, SEEK_SET) != 0) {
1180 printf("0x%08x ", (int)(offset+(i*0x10)));
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBitmapFactory_Delegate.java114 /*package*/ static Bitmap nativeDecodeByteArray(byte[] data, int offset, argument
H A DBitmap_Delegate.java257 /*package*/ static Bitmap nativeCreate(int[] colors, int offset, int stride, int width, argument
265 image.setRGB(0, 0, width, height, colors, offset, stride);
406 /*package*/ static void nativeGetPixels(long nativeBitmap, int[] pixels, int offset, argument
413 delegate.getImage().getRGB(x, y, width, height, pixels, offset, stride);
428 /*package*/ static void nativeSetPixels(long nativeBitmap, int[] colors, int offset, argument
435 delegate.getImage().setRGB(x, y, width, height, colors, offset, stride);
H A DCanvas_Delegate.java533 /*package*/ static void native_drawPoints(long nativeCanvas, float[] pts, int offset, int count, argument
555 final float[] pts, final int offset, final int count,
562 graphics.drawLine((int) pts[i + offset], (int) pts[i + offset + 1],
563 (int) pts[i + offset + 2], (int) pts[i + offset + 3]);
759 int offset, int stride, final float x,
766 image.setRGB(0, 0, width, height, colors, offset, stride);
554 native_drawLines(long nativeCanvas, final float[] pts, final int offset, final int count, long nativePaint) argument
758 native_drawBitmap(long nativeCanvas, int[] colors, int offset, int stride, final float x, final float y, int width, int height, boolean hasAlpha, long nativePaintOrZero) argument

Completed in 5265 milliseconds

1234567891011>>