Searched refs:mPos (Results 1 - 25 of 35) sorted by relevance

12

/frameworks/rs/
H A DrsStream.h32 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
78 uint64_t mPos; member in class:android::renderscript::IStream
152 uint64_t mPos; member in class:android::renderscript::OStream
[all...]
H A DrsStream.cpp26 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 s->setTo((const char *)&mData[mPos], len);
49 mPos += len;
56 mPos
[all...]
/frameworks/support/renderscript/v8/rs_support/
H A DrsStream.h32 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
78 uint64_t mPos; member in class:android::renderscript::IStream
152 uint64_t mPos; member in class:android::renderscript::OStream
[all...]
H A DrsStream.cpp26 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 s->setTo((const char *)&mData[mPos], len);
49 mPos += len;
56 mPos
[all...]
/frameworks/base/core/java/com/android/internal/util/
H A DBitwiseInputStream.java33 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 DBitwiseOutputStream.java33 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];
98 int index = mPos >>> 3;
99 int offset = 16 - (mPos & 0x07) - bits; // &7==%8
101 mPos += bits;
128 mPos
[all...]
H A DFastXmlSerializer.java54 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/base/tools/aapt/tests/
H A DMockDirectoryWalker.h25 : 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; member in class:StringDirectoryWalker
/frameworks/base/core/java/android/database/
H A DAbstractWindowedCursor.java45 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, columnInde
[all...]
H A DAbstractCursor.java43 protected int mPos; field in class:AbstractCursor
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
[all...]
H A DMatrixCursor.java69 if (mPos < 0) {
72 if (mPos >= rowCount) {
75 return data[mPos * columnCount + column];
H A DMergeCursor.java33 mPos = -1;
38 mPos = -1;
H A DBulkCursorToCursorAdaptor.java138 mPos = -1;
/frameworks/base/graphics/java/android/renderscript/
H A DFieldPacker.java27 mPos = 0;
37 while ((mPos & (v - 1)) != 0) {
38 mData[mPos++] = 0;
43 mPos = 0;
49 mPos = i;
53 int res = mPos + i;
57 mPos = res;
61 mData[mPos++] = v;
66 mData[mPos++] = (byte)(v & 0xff);
67 mData[mPos
339 private int mPos; field in class:FieldPacker
[all...]
/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/
H A DFieldPacker.java27 mPos = 0;
37 while ((mPos & (v - 1)) != 0) {
38 mData[mPos++] = 0;
43 mPos = 0;
49 mPos = i;
53 int res = mPos + i;
57 mPos = res;
61 mData[mPos++] = v;
66 mData[mPos++] = (byte)(v & 0xff);
67 mData[mPos
339 private int mPos; field in class:FieldPacker
[all...]
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DPosTextActivity.java38 private final float[] mPos; field in class:PosTextActivity.CustomTextView
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);
H A DTextOnPathActivity.java77 private final float[] mPos; field in class:TextOnPathActivity.TextOnPathView
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[
[all...]
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DSerializedFrame.java125 private int mPos = 0; field in class:SerializedFrame.DirectByteInputStream
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
[all...]
/frameworks/base/core/java/android/text/
H A DMeasuredText.java41 private int mPos; field in class:MeasuredText
86 mPos = pos - mTextStart;
98 mPos = 0;
158 int p = mPos;
159 mPos = p + len;
207 wid = replacement.getSize(workPaint, mText, mTextStart + mPos,
208 mTextStart + mPos + len, fm);
210 w[mPos] = wid;
211 for (int i = mPos + 1, e = mPos
[all...]
/frameworks/native/opengl/tests/gl2_cameraeye/src/com/android/gl2cameraeye/
H A DGL2CameraEye.java151 mPos[0] = 0.f;
152 mPos[1] = 0.f;
153 mPos[2] = 0.f;
165 mPos[0] = (x*2-1)*mRatio;
166 mPos[1] = (-y)*2+1;
167 mPos[2] = 0.f;
358 totalForce[0] = -mPos[0] * springStrength - mVel[0]*frictionCoeff + gMultiplier*mGForce[0]*mass;
359 totalForce[1] = -mPos[1] * springStrength - mVel[1]*frictionCoeff + gMultiplier*mGForce[1]*mass;
360 totalForce[2] = -mPos[2] * springStrength - mVel[2]*frictionCoeff + gMultiplier*mGForce[2]*mass;
372 mPos[
494 private float[] mPos = new float[3]; field in class:CamRenderer
[all...]
/frameworks/wilhelm/src/
H A Dhandler_bodies.c65 (void) android_audioPlayer_seek(ap, ap->mSeek.mPos);
163 (void) android_Player_seek(mp, mp->mSeek.mPos);
/frameworks/wilhelm/src/itf/
H A DISeek.c36 thiz->mPos = pos;
142 thiz->mPos = (SLmillisecond) SL_TIME_UNKNOWN;
/frameworks/base/tools/aapt/
H A DResourceTable.h296 mItemFormat(ResTable_map::TYPE_ANY), mNameIndex(-1), mPos(pos)
348 const SourcePos& getPos() const { return mPos; }
359 SourcePos mPos; member in class:ResourceTable::Entry
365 : mName(name), mPos(pos), mPublic(false), mEntryIndex(-1) { }
369 const SourcePos& getPos() const { return mPos; }
393 const SourcePos mPos; member in class:ResourceTable::ConfigList
429 : mName(name), mFirstPublicSourcePos(NULL), mPublicIndex(-1), mIndex(-1), mPos(pos)
463 const SourcePos& getPos() const { return mPos; }
474 SourcePos mPos; member in class:ResourceTable::Type
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/
H A DTabletStatusBarView.java37 private final int[] mPos = new int[2]; field in class:TabletStatusBarView
122 final int[] p = mPos;
/frameworks/base/core/jni/android/graphics/
H A DTextLayoutCache.h128 inline const jfloat* getPos() const { return mPos.array(); }
129 inline size_t getPosCount() const { return mPos.size(); }
149 Vector<jfloat> mPos; member in class:android::TextLayoutValue

Completed in 8081 milliseconds

12