HomeSort by relevance Sort by last modified time
    Searched full:moffset (Results 1 - 25 of 159) sorted by null

1 2 3 4 5 6 7

  /frameworks/base/core/java/android/content/pm/
LimitedLengthInputStream.java 24 private long mOffset;
54 mOffset = offset;
59 if (mOffset >= mEnd) {
63 mOffset++;
69 if (mOffset >= mEnd) {
76 if (mOffset > Long.MAX_VALUE - byteCount) {
77 throw new IOException("offset out of bounds: " + mOffset + " + " + byteCount);
80 if (mOffset + byteCount > mEnd) {
81 byteCount = (int) (mEnd - mOffset);
85 mOffset += numRead
    [all...]
  /external/chromium_org/third_party/angle/src/libGLESv2/
BinaryStream.h 23 mOffset = 0;
44 if (mOffset + length > mLength)
50 memcpy(v, mData + mOffset, length);
51 mOffset += length;
70 if (mOffset + length > mLength)
76 v->assign(mData + mOffset, length);
77 mOffset += length;
82 if (mOffset + length > mLength)
88 mOffset += length;
93 return mOffset;
    [all...]
  /frameworks/av/media/mtp/
MtpDataPacket.cpp 34 mOffset(MTP_CONTAINER_HEADER_SIZE)
43 mOffset = MTP_CONTAINER_HEADER_SIZE;
55 int offset = mOffset;
57 mOffset += 2;
62 int offset = mOffset;
65 mOffset += 4;
70 int offset = mOffset;
75 mOffset += 8;
156 allocate(mOffset + 1);
157 mBuffer[mOffset++] = (uint8_t)value
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/util/
RangeArray.java 22 private int mOffset;
26 mOffset = min;
35 mOffset = min;
39 mData[i - mOffset] = object;
43 return mData[i - mOffset];
48 if (mData[i] == object) return i + mOffset;
RangeBoolArray.java 22 private int mOffset;
26 mOffset = min;
32 mOffset = min;
36 mData[i - mOffset] = object;
40 return mData[i - mOffset];
45 if (mData[i] == object) return i + mOffset;
RangeIntArray.java 22 private int mOffset;
26 mOffset = min;
32 mOffset = min;
36 mData[i - mOffset] = object;
40 return mData[i - mOffset];
45 if (mData[i] == object) return i + mOffset;
  /frameworks/base/media/mca/filterfw/java/android/filterfw/io/
PatternScanner.java 30 private int mOffset = 0;
52 matcher.region(mOffset, mInput.length());
57 updateLineCount(mOffset, matcher.end());
58 mOffset = matcher.end();
86 matcher.region(mOffset, mInput.length());
94 matcher.region(mOffset, mInput.length());
96 updateLineCount(mOffset, matcher.end());
97 mOffset = matcher.end();
102 return mOffset >= mInput.length();
110 String line = mInput.substring(mStartOfLine, mOffset);
    [all...]
  /frameworks/native/services/surfaceflinger/
FrameTracker.cpp 32 mOffset(0),
40 mFrameRecords[mOffset].desiredPresentTime = presentTime;
45 mFrameRecords[mOffset].frameReadyTime = readyTime;
50 mFrameRecords[mOffset].frameReadyFence = readyFence;
56 mFrameRecords[mOffset].actualPresentTime = presentTime;
61 mFrameRecords[mOffset].actualPresentFence = readyFence;
74 updateStatsLocked(mOffset);
77 mOffset = (mOffset+1) % NUM_FRAME_RECORDS;
78 mFrameRecords[mOffset].desiredPresentTime = INT64_MAX
    [all...]
  /frameworks/av/media/libstagefright/
FileSource.cpp 29 mOffset(0),
48 mOffset(offset),
108 off64_t result = lseek64(mFd, offset + mOffset, SEEK_SET);
110 ALOGE("seek to %lld failed", offset + mOffset);
141 mFd, mOffset, mLength, mime);
164 if (mDrmBuf != NULL && mDrmBufSize > 0 && (offset + mOffset) >= mDrmBufOffset
165 && (offset + mOffset + size) <= (mDrmBufOffset + mDrmBufSize)) {
167 memcpy(data, (void*)(mDrmBuf+(offset+mOffset-mDrmBufOffset)), size);
171 mDrmBufOffset = offset + mOffset;
173 DRM_CACHE_SIZE, offset + mOffset);
    [all...]
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
Lines2Activity.java 62 private float mOffset;
71 mOffset = offset;
105 drawLines(canvas, p, mOffset, yOffset);
108 drawLines(canvas, p, mOffset/2, yOffset/2);
114 drawLines(canvas, p, mOffset, yOffset);
117 drawLines(canvas, p, mOffset/2, yOffset/2);
123 drawLines(canvas, p, mOffset, yOffset);
126 drawLines(canvas, p, mOffset/2, yOffset/2);
133 drawLines(canvas, p, mOffset, yOffset);
136 drawLines(canvas, p, mOffset/2, yOffset/2)
    [all...]
ColoredRectsActivity.java 62 private float mOffset;
67 mOffset = offset;
80 canvas.translate(mOffset, yOffset);
95 canvas.translate(mOffset + 10, yOffset);
100 canvas.translate(mOffset + 70, yOffset);
105 canvas.translate(mOffset + 140, yOffset);
111 canvas.translate(mOffset + 210, yOffset);
117 canvas.translate(mOffset + 280, yOffset);
PathsActivity.java 50 private final float mOffset;
97 mOffset = mMediumPaint.getStrokeWidth();
98 final int width = (int) (mPathBounds.width() + mOffset * 3.0f + 0.5f);
99 final int height = (int) (mPathBounds.height() + mOffset * 3.0f + 0.5f);
102 canvas.translate(-mPathBounds.left + mOffset * 1.5f, -mPathBounds.top + mOffset * 1.5f);
132 canvas.drawBitmap(mBitmap, mPathBounds.left - mOffset * 1.5f,
133 mPathBounds.top - mOffset * 1.5f, null);
  /frameworks/base/core/java/android/view/inputmethod/
CorrectionInfo.java 28 private final int mOffset;
38 mOffset = offset;
44 mOffset = source.readInt();
54 return mOffset;
73 return "CorrectionInfo{#" + mOffset + " \"" + mOldText + "\" -> \"" + mNewText + "\"}";
83 dest.writeInt(mOffset);
  /packages/providers/DownloadProvider/src/com/android/providers/downloads/
Helpers.java 466 private int mOffset = 0;
486 while (mOffset < chars.length && chars[mOffset] == ' ') {
487 ++mOffset;
491 if (mOffset == chars.length) {
497 if (chars[mOffset] == '(') {
498 ++mOffset;
504 if (chars[mOffset] == ')') {
505 ++mOffset;
511 if (chars[mOffset] == '?')
    [all...]
  /dalvik/hit/src/com/android/hit/
StackTrace.java 31 int mOffset = 0;
52 result.mOffset = startingDepth + mOffset;
  /packages/apps/Email/tests/src/com/android/emailcommon/service/
SearchParamsTests.java 29 params.mOffset = 99;
37 assertEquals(params.mOffset, readParams.mOffset);
  /frameworks/base/opengl/java/android/opengl/
Matrix.java 110 * @param mOffset an offset into m where the input matrix is stored.
113 int mOffset) {
115 int mBase = i * 4 + mOffset;
132 * @param mOffset an offset into m where the input matrix is stored.
136 int mOffset) {
140 final float src0 = m[mOffset + 0];
141 final float src4 = m[mOffset + 1];
142 final float src8 = m[mOffset + 2];
143 final float src12 = m[mOffset + 3];
145 final float src1 = m[mOffset + 4]
    [all...]
  /frameworks/base/media/mca/filterfw/java/android/filterfw/core/
SerializedFrame.java 63 private int mOffset = 0;
71 if (mOffset + bytesToWrite > mBuffer.length) {
73 mBuffer = new byte[Math.max(mOffset + bytesToWrite, mBuffer.length * 2)];
74 System.arraycopy(oldBuffer, 0, mBuffer, 0, mOffset);
80 mDataOffset = mOffset;
84 return mOffset;
99 System.arraycopy(b, off, mBuffer, mOffset, len);
100 mOffset += len;
106 mBuffer[mOffset++] = (byte)b;
110 mOffset = mDataOffset
    [all...]
  /frameworks/av/media/libnbaio/
SourceAudioBufferProvider.cpp 28 mAllocated(NULL), mSize(0), mOffset(0), mRemaining(0), mGetCount(0), mFramesReleased(0)
53 ALOG_ASSERT(mOffset + mRemaining <= mSize);
57 buffer->raw = (char *) mAllocated + (mOffset << mFrameBitShift);
71 mOffset = 0;
87 (buffer->raw == (char *) mAllocated + (mOffset << mFrameBitShift)) &&
90 (mOffset + mRemaining <= mSize));
91 mOffset += buffer->frameCount;
  /frameworks/base/core/java/android/util/
MonthDisplayHelper.java 38 private int mOffset;
106 return mOffset;
136 if (row == 0 && column < mOffset) {
137 return mNumDaysInPrevMonth + column - mOffset + 1;
140 int day = 7 * row + column - mOffset + 1;
150 return (day + mOffset - 1) / 7;
157 return (day + mOffset - 1) % 7;
185 if (row == 0 && column < mOffset) {
189 int day = 7 * row + column - mOffset + 1;
211 mOffset = offset
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
EmojiCategoryPageIndicatorView.java 32 private float mOffset = 0.0f;
47 mOffset = offset;
62 final float left = unitWidth * mCurrentCategoryPageId + mOffset * unitWidth;
  /sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/transforms/
BufferSubDataTransform.java 30 private final int mOffset;
38 mOffset = offset;
56 bb.position(mOffset);
  /frameworks/av/media/libstagefright/id3/
ID3.cpp 397 mOffset(mParent.mFirstFrameOffset),
423 mOffset += mFrameSize;
436 id->setTo((const char *)&mParent.mData[mOffset], 3);
438 id->setTo((const char *)&mParent.mData[mOffset], 4);
442 switch (mOffset) {
537 if (mOffset == 126 || mOffset == 127) {
641 if (mOffset + 6 > mParent.mSize) {
645 if (!memcmp(&mParent.mData[mOffset], "\0\0\0", 3)) {
650 (mParent.mData[mOffset + 3] << 16
    [all...]
  /packages/apps/Camera2/src/com/android/camera/ui/
CameraRootView.java 41 private int mOffset = 0;
63 if (mOffset == 0) {
65 mOffset = insets.bottom;
67 mOffset = insets.right;
140 mBottomMargin += mOffset;
143 mRightMargin += mOffset;
146 mTopMargin += mOffset;
149 mLeftMargin += mOffset;
  /packages/apps/UnifiedEmail/src/com/android/emailcommon/service/
SearchParams.java 46 // query(ies) starting with the mOffset'th match (0 based)
47 public int mOffset = DEFAULT_OFFSET;
99 && mOffset == os.mOffset;
104 return Objects.hashCode(mMailboxId, mFilter, mStartDate, mEndDate, mLimit, mOffset);
111 + " (" + mOffset + ", " + mLimit + ")"
146 dest.writeInt(mOffset);
165 mOffset = in.readInt();

Completed in 3642 milliseconds

1 2 3 4 5 6 7