HomeSort by relevance Sort by last modified time
    Searched refs:mPos (Results 1 - 25 of 69) sorted by null

1 2 3

  /frameworks/rs/
rsStream.h 32 mPos = (mPos + 3) & (~3);
33 float tmp = reinterpret_cast<const float *>(&mData[mPos])[0];
34 mPos += sizeof(float);
38 mPos = (mPos + 3) & (~3);
39 int32_t tmp = reinterpret_cast<const int32_t *>(&mData[mPos])[0];
40 mPos += sizeof(int32_t);
44 mPos = (mPos + 3) & (~3)
    [all...]
rsStream.cpp 26 mPos = 0;
31 memcpy(dest, mData + mPos, numBytes);
32 mPos += numBytes;
38 mPos = (mPos + 7) & (~7);
39 tmp = reinterpret_cast<const uint64_t *>(&mData[mPos])[0];
40 mPos += sizeof(uint64_t);
48 const char *s = rsuCopyString((const char *)&mData[mPos], len);
49 mPos += len;
57 mPos = 0
    [all...]
  /frameworks/native/services/surfaceflinger/EventLog/
EventLog.cpp 55 : mPos(0), mTag(tag), mOverflow(false) {
61 } else if (android_bWriteLog(mTag, mStorage, mPos) < 0) {
65 mPos = 0;
72 if (mPos + needed > STORAGE_MAX_SIZE) {
76 mStorage[mPos + 0] = EVENT_TYPE_LIST;
77 mStorage[mPos + 1] = count;
78 mPos += needed;
84 if (mPos + needed > STORAGE_MAX_SIZE) {
88 mStorage[mPos + 0] = '\n';
89 mPos += needed
    [all...]
  /frameworks/base/core/java/com/android/internal/util/
BitwiseInputStream.java 33 private int mPos;
55 mPos = 0;
62 return mEnd - mPos;
75 int index = mPos >>> 3;
76 int offset = 16 - (mPos & 0x07) - bits; // &7==%8
77 if ((bits < 0) || (bits > 8) || ((mPos + bits) > mEnd)) {
79 "(pos " + mPos + ", end " + mEnd + ", bits " + bits + ")");
85 mPos += bits;
111 if ((mPos + bits) > mEnd) {
113 "(pos " + mPos + ", end " + mEnd + ", bits " + bits + ")")
    [all...]
BitwiseOutputStream.java 33 private int mPos;
55 mPos = 0;
64 int len = (mPos >>> 3) + ((mPos & 0x07) > 0 ? 1 : 0); // &7==%8
76 if ((mPos + bits) < mEnd) return;
77 byte[] newBuf = new byte[(mPos + bits) >>> 2];
98 int index = mPos >>> 3;
99 int offset = 16 - (mPos & 0x07) - bits; // &7==%8
101 mPos += bits;
128 mPos += bits
    [all...]
FastPrintWriter.java 39 private int mPos;
281 int pos = mPos;
284 pos = mPos;
287 mPos = pos+1;
301 int pos = mPos;
304 pos = mPos;
307 mPos = pos + length;
321 int pos = mPos;
324 pos = mPos;
327 mPos = pos + length
    [all...]
  /packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/
binary_dictionary_shortcut_iterator.h 31 mPos(shortcutStructurePolicy->getStartPos(shortcutPos)),
44 outIsWhitelist, &mHasNextShortcutTarget, &mPos);
51 int mPos;
binary_dictionary_bigrams_iterator.h 29 : mBigramsStructurePolicy(bigramsStructurePolicy), mPos(pos),
38 mBigramsStructurePolicy->getNextBigram(&mBigramPos, &mProbability, &mHasNext, &mPos);
53 int mPos;
  /frameworks/base/tools/aapt/tests/
MockDirectoryWalker.h 25 : mPos(0), mBasePath(path), mData(data) {
44 if (mPos >= mData.size())
49 mEntry.d_ino = mPos;
52 for (i; i < mData[mPos].first.size(); ++i)
53 mEntry.d_name[i] = mData[mPos].first[i];
57 mStats.st_ino = mPos;
58 mStats.st_mtime = mData[mPos].second;
61 mPos++;
78 size_t mPos;
  /packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/
dynamic_patricia_trie_reading_helper.cpp 164 if (mReadingState.mPos < 0 || mReadingState.mPos >= mBuffer->getTailPosition()) {
167 mReadingState.mPos, mBuffer->getTailPosition());
170 mReadingState.mPos = NOT_A_DICT_POS;
173 mReadingState.mPosOfLastPtNodeArrayHead = mReadingState.mPos;
174 const bool usesAdditionalBuffer = mBuffer->isInAdditionalBuffer(mReadingState.mPos);
177 mReadingState.mPos -= mBuffer->getOriginalBufferSize();
180 dictBuf, &mReadingState.mPos);
182 mReadingState.mPos += mBuffer->getOriginalBufferSize();
198 mReadingState.mPos = NOT_A_DICT_POS
    [all...]
dynamic_patricia_trie_reading_helper.h 77 return mReadingState.mPos == NOT_A_DICT_POS;
83 mReadingState.mPos = NOT_A_DICT_POS;
86 mReadingState.mPos = ptNodeArrayPos;
102 mReadingState.mPos = NOT_A_DICT_POS;
105 mReadingState.mPos = ptNodePos;
153 mReadingState.mPos = mNodeReader.getSiblingNodePos();
171 mReadingState.mPos = mNodeReader.getChildrenPos();
179 mReadingState.mPos = NOT_A_DICT_POS;
190 mReadingState.mPos = mNodeReader.getParentPos();
195 mReadingState.mPos = NOT_A_DICT_POS
    [all...]
  /frameworks/base/core/java/android/database/
AbstractWindowedCursor.java 45 return mWindow.getBlob(mPos, columnIndex);
51 return mWindow.getString(mPos, columnIndex);
57 mWindow.copyStringToBuffer(mPos, columnIndex, buffer);
63 return mWindow.getShort(mPos, columnIndex);
69 return mWindow.getInt(mPos, columnIndex);
75 return mWindow.getLong(mPos, columnIndex);
81 return mWindow.getFloat(mPos, columnIndex);
87 return mWindow.getDouble(mPos, columnIndex);
93 return mWindow.getType(mPos, columnIndex) == Cursor.FIELD_TYPE_NULL;
131 return mWindow.getType(mPos, columnIndex)
    [all...]
AbstractCursor.java 43 protected int mPos;
185 mPos = -1;
192 return mPos;
199 mPos = count;
205 mPos = -1;
210 if (position == mPos) {
214 boolean result = onMove(mPos, position);
216 mPos = -1;
218 mPos = position;
233 return moveToPosition(mPos + offset)
    [all...]
  /packages/apps/Calculator/src/com/android/calculator2/
History.java 30 int mPos;
43 mPos = in.readInt();
62 mPos = 0;
71 out.writeInt(mPos);
79 if (mPos > 0) {
80 --mPos;
87 if (mPos < mEntries.size() - 1) {
88 ++mPos;
103 mPos = mEntries.size() - 1;
108 return mEntries.elementAt(mPos);
    [all...]
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
PosTextActivity.java 38 private final float[] mPos;
44 mPos = new float[mText.length() * 2];
45 for (int i = 0; i < mPos.length; i += 2) {
46 mPos[i] = i * 30.0f;
47 mPos[i + 1] = i * 10.0f;
66 canvas.drawPosText(mText, mPos, mLargePaint);
70 canvas.drawPosText(mText, mPos, mLargePaint);
74 canvas.drawPosText(mText, mPos, mLargePaint);
TextOnPathActivity.java 77 private final float[] mPos;
102 mPos = new float[2];
119 mMeasure.getPosTan(i * mLength / 100.0f, mPos, mTan);
120 mLines[i * 4 ] = mPos[0];
121 mLines[i * 4 + 1] = mPos[1];
122 mLines[i * 4 + 2] = mPos[0] + mTan[1] * 15;
123 mLines[i * 4 + 3] = mPos[1] - mTan[0] * 15;
136 mMeasure.getPosTan(5.0f, mPos, mTan);
137 canvas.drawLine(mPos[0], mPos[1], mPos[0] + mTan[1] * 10, mPos[1] - mTan[0] * 10
    [all...]
  /packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/internal/
dic_node_properties.h 34 : mPos(0), mChildrenPos(0), mProbability(0), mNodeCodePoint(0), mIsTerminal(false),
43 mPos = pos;
56 mPos = nodeProp->mPos;
69 mPos = nodeProp->mPos;
81 return mPos;
121 int mPos;
  /frameworks/base/graphics/java/android/renderscript/
FieldPacker.java 33 mPos = 0;
40 mPos = 0;
51 while ((mPos & (v - 1)) != 0) {
52 mAlignment.flip(mPos);
53 mData[mPos++] = 0;
62 while ((mPos & (v - 1)) != 0) {
63 mPos--;
66 if (mPos > 0) {
67 while (mAlignment.get(mPos - 1) == true) {
68 mPos--
    [all...]
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
ListSuggestionCursor.java 41 private int mPos = 0;
75 return mPos;
79 mPos = pos;
84 if (mPos >= size) {
88 mPos++;
89 return mPos < size;
93 mSuggestions.remove(mPos);
97 mSuggestions.set(mPos, new Entry(suggestion));
106 return mSuggestions.get(mPos).get();
140 return mSuggestions.get(mPos).getExtras()
    [all...]
  /packages/apps/Email/src/com/android/email/mail/transport/
DiscourseLogger.java 33 private int mPos;
47 mBuffer[mPos] = s;
48 mPos++;
49 if (mPos >= mBufferSize) {
50 mPos = 0;
88 final int start = mPos;
89 int pos = mPos;
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/
AbstractGoogleSourceResult.java 32 private int mPos = 0;
51 return mPos;
59 mPos = pos;
64 if (mPos >= size) {
68 mPos++;
69 return mPos < size;
  /sdk/eclipse/plugins/com.android.ide.eclipse.ndk/src/com/android/ide/eclipse/ndk/internal/templates/
TemplatedInputStream.java 31 private int mPos;
50 char c = mSub[mPos++];
51 if (mPos >= mSub.length)
68 mPos = 0;
  /frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
FieldPacker.java 35 mPos = 0;
52 while ((mPos & (v - 1)) != 0) {
53 mData[mPos++] = 0;
62 mPos = 0;
72 mPos = i;
80 int res = mPos + i;
84 mPos = res;
92 mData[mPos++] = v;
101 mData[mPos++] = (byte)(v & 0xff);
102 mData[mPos++] = (byte)(v >> 8)
    [all...]
  /external/doclava/src/com/google/doclava/apicheck/
ApiFile.java 542 int mPos;
559 while (mPos < mBuf.length && isspace(mBuf[mPos])) {
560 if (mBuf[mPos] == '\n') {
563 mPos++;
570 if (mPos+1 < mBuf.length) {
571 if (mBuf[mPos] == '/' && mBuf[mPos+1] == '/') {
572 mPos += 2;
573 while (mPos < mBuf.length && !isnewline(mBuf[mPos]))
    [all...]
  /frameworks/base/media/mca/filterfw/java/android/filterfw/core/
SerializedFrame.java 125 private int mPos = 0;
135 return mSize - mPos;
140 return (mPos < mSize) ? (mBuffer[mPos++] & 0xFF) : -1;
145 if (mPos >= mSize) {
148 if ((mPos + len) > mSize) {
149 len = mSize - mPos;
151 System.arraycopy(mBuffer, mPos, b, off, len);
152 mPos += len;
158 if ((mPos + n) > mSize)
    [all...]

Completed in 1676 milliseconds

1 2 3