Searched defs:mPos (Results 1 - 25 of 26) sorted by relevance

12

/frameworks/native/services/surfaceflinger/EventLog/
H A DEventLog.h50 int32_t mPos; member in class:android::EventLog::TagBuffer
/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 DFastPrintWriter.java56 private int mPos; field in class:FastPrintWriter
298 int pos = mPos;
301 pos = mPos;
304 mPos = pos+1;
318 int pos = mPos;
321 pos = mPos;
324 mPos = pos + length;
338 int pos = mPos;
341 pos = mPos;
344 mPos
[all...]
H A DFastXmlSerializer.java58 private int mPos; field in class:FastXmlSerializer
89 int pos = mPos;
92 pos = mPos;
95 mPos = pos+1;
108 int pos = mPos;
111 pos = mPos;
114 mPos = pos + length;
127 int pos = mPos;
130 pos = mPos;
133 mPos
[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/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/av/include/media/
H A DRingBuffer.h66 size_t mPos; member in class:android::final::iterator
92 size_t mPos; member in class:android::final::const_iterator
178 mPtr{ptr}, mSize{size}, mPos{pos}, mCtr{ctr} {}
185 mPos = mSize;
189 mPos = ((CC_UNLIKELY(mPos == 0)) ? mSize - 1 : mPos - 1);
195 iterator tmp{mPtr, mSize, mPos, mCtr};
202 return (mPtr + mPos) == (rhs.mPtr + rhs.mPos);
[all...]
H A DLinearMap.h139 mPos(0), // a circular buffer, so could start anywhere. the first sample is at 1.
170 mStepValid = checkedDiff(&xdiff, x, mX[mPos], "x")
172 checkedDiff(&ydiff, y, mY[mPos], "y");
189 mX[mPos] = x;
190 mY[mPos] = y;
195 if (++mPos >= mSize) {
196 mPos = 0;
207 mX[mPos] = x;
208 mY[mPos] = y;
213 // no need to reset mPos, w
355 size_t mPos; // Index in mX and mY of last pushed data; member in class:android::LinearMap
[all...]
/frameworks/av/media/libmedia/include/media/
H A DRingBuffer.h66 size_t mPos; member in class:android::final::iterator
92 size_t mPos; member in class:android::final::const_iterator
178 mPtr{ptr}, mSize{size}, mPos{pos}, mCtr{ctr} {}
185 mPos = mSize;
189 mPos = ((CC_UNLIKELY(mPos == 0)) ? mSize - 1 : mPos - 1);
195 iterator tmp{mPtr, mSize, mPos, mCtr};
202 return (mPtr + mPos) == (rhs.mPtr + rhs.mPos);
[all...]
H A DLinearMap.h139 mPos(0), // a circular buffer, so could start anywhere. the first sample is at 1.
170 mStepValid = checkedDiff(&xdiff, x, mX[mPos], "x")
172 checkedDiff(&ydiff, y, mY[mPos], "y");
189 mX[mPos] = x;
190 mY[mPos] = y;
195 if (++mPos >= mSize) {
196 mPos = 0;
207 mX[mPos] = x;
208 mY[mPos] = y;
213 // no need to reset mPos, w
355 size_t mPos; // Index in mX and mY of last pushed data; member in class:android::LinearMap
[all...]
/frameworks/minikin/include/minikin/
H A DRange.h94 RangeIterator(uint32_t pos) : mPos(pos) {}
96 inline bool operator!=(const RangeIterator& o) const { return o.mPos != mPos; }
97 inline uint32_t operator*() const { return mPos; }
99 mPos++;
104 uint32_t mPos; member in class:minikin::Range::RangeIterator
/frameworks/native/services/sensorservice/
H A DRingBuffer.h66 size_t mPos; member in class:android::SensorServiceUtil::final::iterator
92 size_t mPos; member in class:android::SensorServiceUtil::final::const_iterator
178 mPtr{ptr}, mSize{size}, mPos{pos}, mCtr{ctr} {}
185 mPos = mSize;
189 mPos = ((CC_UNLIKELY(mPos == 0)) ? mSize - 1 : mPos - 1);
195 iterator tmp{mPtr, mSize, mPos, mCtr};
202 return (mPtr + mPos) == (rhs.mPtr + rhs.mPos);
[all...]
/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
153 uint64_t mPos; member in class:android::renderscript::OStream
[all...]
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DSerializedFrame.java121 private int mPos = 0; field in class:SerializedFrame.DirectByteInputStream
131 return mSize - mPos;
136 return (mPos < mSize) ? (mBuffer[mPos++] & 0xFF) : -1;
141 if (mPos >= mSize) {
144 if ((mPos + len) > mSize) {
145 len = mSize - mPos;
147 System.arraycopy(mBuffer, mPos, b, off, len);
148 mPos += len;
154 if ((mPos
[all...]
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
H A DMaterial.java47 int mPos; field in class:Material.MaterialProp
72 int mPos; field in class:Material.Opactiy
126 mMaterialProp[i].mPos = pos[i];
136 mOpacity[0].mPos = start;
140 mOpacity[1].mPos = end;
165 mMaterialProp[i].mPos = material[i][0];
171 mOpacity[i].mPos = opacity[i][0];
191 mMaterialProp[i].mPos = pos[i];
200 mOpacity[0].mPos = start;
204 mOpacity[1].mPos
[all...]
/frameworks/base/rs/java/android/renderscript/
H A DFieldPacker.java32 mPos = 0;
39 // Advance mPos to the end of the buffer, since we are copying in the
41 mPos = data.length;
55 fp.resize(fp.mPos);
64 while ((mPos & (v - 1)) != 0) {
65 mAlignment.flip(mPos);
66 mData[mPos++] = 0;
75 while ((mPos & (v - 1)) != 0) {
76 mPos--;
79 if (mPos >
805 private int mPos; field in class:FieldPacker
[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/rs/support/java/src/android/support/v8/renderscript/
H A DFieldPacker.java33 mPos = 0;
40 // Advance mPos to the end of the buffer, since we are copying in the
42 mPos = data.length;
56 fp.resize(fp.mPos);
65 while ((mPos & (v - 1)) != 0) {
66 mAlignment.flip(mPos);
67 mData[mPos++] = 0;
76 while ((mPos & (v - 1)) != 0) {
77 mPos--;
80 if (mPos >
943 private int mPos; field in class:FieldPacker
[all...]
/frameworks/base/core/java/android/database/
H A DAbstractCursor.java57 protected int mPos; field in class:AbstractCursor
209 mPos = -1;
214 return mPos;
222 mPos = count;
228 mPos = -1;
233 if (position == mPos) {
237 boolean result = onMove(mPos, position);
239 mPos = -1;
241 mPos = position;
254 return moveToPosition(mPos
[all...]
/frameworks/base/media/jni/soundpool/
H A DSoundPool.h117 mPos(0), mToggle(0), mAutoPaused(false), mMuted(false) {}
153 int mPos; member in class:android::SoundChannel
/frameworks/base/tools/aapt/
H A DResourceTable.h337 mItemFormat(ResTable_map::TYPE_ANY), mNameIndex(-1), mPos(pos)
395 const SourcePos& getPos() const { return mPos; }
406 SourcePos mPos; member in class:ResourceTable::Entry
412 : mName(name), mPos(pos), mPublic(false), mEntryIndex(-1) { }
416 const SourcePos& getPos() const { return mPos; }
444 const SourcePos mPos; member in class:ResourceTable::ConfigList
480 : mName(name), mFirstPublicSourcePos(NULL), mPublicIndex(-1), mIndex(-1), mPos(pos)
519 const SourcePos& getPos() const { return mPos; }
530 SourcePos mPos; member in class:ResourceTable::Type
/frameworks/rs/cpp/
H A DrsCppStructs.h1457 size_t mPos; member in class:android::RSC::FieldPacker
1462 : mPos(0), mLen(len) {
1476 while ((mPos & (v - 1)) != 0) {
1477 mData[mPos++] = 0;
1482 mPos = 0;
1490 mPos = i;
1494 size_t res = mPos + i;
1499 mPos = res;
1513 if (mPos + sizeof(t) <= mLen) {
1514 memcpy(&mData[mPos],
[all...]
/frameworks/wilhelm/src/
H A Ditfstruct.h550 SLmillisecond mPos; // mPos != SL_TIME_UNKNOWN means pending seek request member in struct:__anon2140

Completed in 405 milliseconds

12