/frameworks/base/graphics/java/android/renderscript/ |
H A D | FieldPacker.java | 26 mPos = 0; 31 while ((mPos & (v - 1)) != 0) { 32 mData[mPos++] = 0; 37 mPos = 0; 41 mData[mPos++] = v; 46 mData[mPos++] = (byte)(v & 0xff); 47 mData[mPos++] = (byte)(v >> 8); 52 mData[mPos++] = (byte)(v & 0xff); 53 mData[mPos++] = (byte)((v >> 8) & 0xff); 54 mData[mPos 125 private int mPos; field in class:FieldPacker [all...] |
/frameworks/base/libs/rs/ |
H A D | rsFileA3D.h | 59 mPos = (mPos + 3) & (~3); 60 float tmp = reinterpret_cast<const float *>(&mData[mPos])[0]; 61 mPos += sizeof(float); 65 mPos = (mPos + 3) & (~3); 66 int32_t tmp = reinterpret_cast<const int32_t *>(&mData[mPos])[0]; 67 mPos += sizeof(int32_t); 71 mPos = (mPos 93 uint64_t mPos; member in class:android::renderscript::FileA3D::IO [all...] |
H A D | rsFileA3D.cpp | 217 mPos = 0; 225 mPos = (mPos + 7) & (~7); 226 tmp = reinterpret_cast<const uint64_t *>(&mData[mPos])[0]; 227 mPos += sizeof(uint64_t); 238 s->setTo((const char *)&mData[mPos], len); 239 mPos += len;
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | BitwiseInputStream.java | 33 private int mPos; field in class:BitwiseInputStream 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 [all...] |
H A D | BitwiseOutputStream.java | 33 private int mPos; field in class:BitwiseOutputStream 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]; 97 int index = mPos >>> 3; 98 int offset = 16 - (mPos & 0x07) - bits; // &7==%8 100 mPos += bits; 127 mPos [all...] |
H A D | FastXmlSerializer.java | 54 private int mPos; field in class:FastXmlSerializer 65 int pos = mPos; 68 pos = mPos; 71 mPos = pos+1; 84 int pos = mPos; 87 pos = mPos; 90 mPos = pos + length; 103 int pos = mPos; 106 pos = mPos; 109 mPos [all...] |
/frameworks/ex/common/java/com/android/common/ |
H A D | ArrayListCursor.java | 72 int oldpos = mPos; 73 mPos = position - 1; 80 final Object data = mRows[mPos].get(i); 84 if (!window.putBlob(field, mPos, i)) { 90 if (!window.putString(field, mPos, i)) { 96 if (!window.putNull(mPos, i)) { 104 mPos = oldpos; 124 return (byte[]) mRows[mPos].get(columnIndex); 129 Object cell = mRows[mPos].get(columnIndex); 135 Number num = (Number) mRows[mPos] [all...] |
/frameworks/base/core/java/android/database/ |
H A D | AbstractWindowedCursor.java | 35 return mWindow.getBlob(mPos, columnIndex); 49 return mWindow.getString(mPos, columnIndex); 63 mWindow.copyStringToBuffer(mPos, columnIndex, buffer); 78 return mWindow.getShort(mPos, columnIndex); 93 return mWindow.getInt(mPos, columnIndex); 108 return mWindow.getLong(mPos, columnIndex); 123 return mWindow.getFloat(mPos, columnIndex); 138 return mWindow.getDouble(mPos, columnIndex); 152 return mWindow.isNull(mPos, columnIndex); 166 return mWindow.isBlob(mPos, columnInde [all...] |
H A D | AbstractCursor.java | 159 mPos = -1; 166 return mPos; 173 mPos = count; 179 mPos = -1; 184 if (position == mPos) { 188 boolean result = onMove(mPos, position); 190 mPos = -1; 192 mPos = position; 212 int oldpos = mPos; 213 mPos 630 protected int mPos; field in class:AbstractCursor [all...] |
H A D | BulkCursorToCursorAdaptor.java | 158 mPos = -1; 184 boolean result = mBulkCursor.deleteRow(mPos); 191 if (mPos < mCount) { 192 int oldPos = mPos; 193 mPos = -1; 196 mPos = mCount;
|
H A D | MatrixCursor.java | 69 if (mPos < 0) { 72 if (mPos >= rowCount) { 75 return data[mPos * columnCount + column];
|
H A D | MergeCursor.java | 33 mPos = -1; 38 mPos = -1;
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | IccProvider.java | 85 int oldpos = mPos; 86 mPos = position - 1; 93 final Object data = mRows[mPos].get(i); 97 if (!window.putBlob(field, mPos, i)) { 103 if (!window.putString(field, mPos, i)) { 109 if (!window.putNull(mPos, i)) { 117 mPos = oldpos; 137 return (byte[]) mRows[mPos].get(columnIndex); 142 Object cell = mRows[mPos].get(columnIndex); 148 Number num = (Number) mRows[mPos] [all...] |
/frameworks/base/libs/rs/java/Film/src/com/android/film/ |
H A D | FilmRS.java | 35 StripPosition mPos = new StripPosition(); field in class:FilmRS 59 mPos.translate = 2f * anim + 0.5f; // translation 60 mPos.rotate = (anim * 40); // rotation 61 mPos.focus = ((float)y) / 16.f - 10.f; // focusPos 62 mPos.triangleOffsetCount = mFSM.mTriangleOffsetsCount; 63 mAllocPos.data(mPos);
|
/frameworks/base/media/jni/soundpool/ |
H A D | SoundPool.cpp | 590 mPos = 0; 670 if (mPos < (int)sample->size()) { 671 uint8_t* p = sample->data() + mPos; 672 count = sample->size() - mPos; 677 LOGV("fill: q=%p, p=%p, mPos=%u, b->size=%u, count=%d", q, p, mPos, b->size, count); 678 } else if (mPos < mAudioBufferSize) { 679 count = mAudioBufferSize - mPos; 684 LOGV("fill extra: q=%p, mPos=%u, b->size=%u, count=%d", q, mPos, [all...] |
H A D | SoundPool.h | 121 mPos(0), mToggle(0), mAutoPaused(false) {} 154 int mPos; member in class:android::SoundChannel
|
/frameworks/base/tools/aapt/ |
H A D | ResourceTable.h | 258 mItemFormat(ResTable_map::TYPE_ANY), mNameIndex(-1), mPos(pos) 307 const SourcePos& getPos() const { return mPos; } 318 SourcePos mPos; member in class:ResourceTable::Entry 355 : mName(name), mPos(pos), mPublic(false), mEntryIndex(-1) { } 359 const SourcePos& getPos() const { return mPos; } 383 const SourcePos mPos; member in class:ResourceTable::ConfigList 419 : mName(name), mFirstPublicSourcePos(NULL), mPublicIndex(-1), mIndex(-1), mPos(pos) 453 const SourcePos& getPos() const { return mPos; } 464 SourcePos mPos; member in class:ResourceTable::Type
|
H A D | ResourceTable.cpp | 3184 mPos.error("Error retrieving parent for item: %s '%s'.\n", 3230 mPos.error("Error: entry %s is not a single item or a bag.\n",
|
/frameworks/base/core/java/com/android/internal/database/ |
H A D | SortCursor.java | 46 mPos = -1; 51 mPos = -1;
|
/frameworks/base/core/java/android/database/sqlite/ |
H A D | SQLiteCursor.java | 359 int pos = mPos; 528 mPos = -1;
|