/frameworks/base/core/java/android/text/ |
MeasuredText.java | 41 private int mPos; 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 + len; i < e; i++ [all...] |
/development/samples/Spinner/src/com/android/example/spinner/ |
SpinnerActivity.java | 42 protected int mPos; 192 SpinnerActivity.this.mPos = pos; 283 this.mPos = DEFAULT_POSITION; 309 this.mPos = p.getInt(POSITION_KEY, SpinnerActivity.DEFAULT_POSITION); 347 e.putInt(POSITION_KEY, this.mPos); 360 return this.mPos; 364 this.mPos = pos;
|
/frameworks/native/opengl/tests/gl2_cameraeye/src/com/android/gl2cameraeye/ |
GL2CameraEye.java | 151 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[0] = mPos[0] + mVel[0]*deltaT [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
UnicodeChart.java | 41 private final float[] mPos = new float[512]; 63 float[] pos = mPos; 91 canvas.drawPosText(chars, 0, 256, mPos, mBigCharPaint);
|
TextAlign.java | 35 private float[] mPos; 76 mPos = buildTextPositions(POSTEXT, 0, mPaint); 93 float[] pos = mPos;
|
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/database/ |
SQLiteCursor.java | 142 int oldpos = mPos; 143 mPos = position - 1; 153 hasRoom = fillRow(window, Double.valueOf(getDouble(i)), mPos, i); 156 hasRoom = fillRow(window, Long.valueOf(getLong(i)), mPos, i); 159 hasRoom = fillRow(window, getBlob(i), mPos, i); 162 hasRoom = fillRow(window, getString(i), mPos, i); 165 hasRoom = fillRow(window, null, mPos, i); 173 mPos = oldpos;
|
/frameworks/base/core/java/com/android/internal/util/ |
FastXmlSerializer.java | 56 private int mPos; 71 int pos = mPos; 74 pos = mPos; 77 mPos = pos+1; 90 int pos = mPos; 93 pos = mPos; 96 mPos = pos + length; 109 int pos = mPos; 112 pos = mPos; 115 mPos = pos + length [all...] |
/development/samples/SpinnerTest/src/com/android/example/spinner/test/ |
SpinnerActivityTest.java | 77 private int mPos; 209 mPos = mSpinner.getSelectedItemPosition(); 216 mSelection = (String)mSpinner.getItemAtPosition(mPos);
|
/frameworks/native/services/surfaceflinger/EventLog/ |
EventLog.h | 50 int32_t mPos;
|
/frameworks/wilhelm/src/ |
handler_bodies.c | 65 (void) android_audioPlayer_seek(ap, ap->mSeek.mPos); 163 (void) android_Player_seek(mp, mp->mSeek.mPos);
|
/frameworks/wilhelm/src/itf/ |
ISeek.c | 36 thiz->mPos = pos; 142 thiz->mPos = (SLmillisecond) SL_TIME_UNKNOWN;
|
/packages/apps/Browser/src/com/android/browser/search/ |
OpenSearchSearchEngine.java | 235 if (mPos != -1) { 238 return mSuggestions.getString(mPos); 244 return mDescriptions.getString(mPos); 273 return mPos; // use row# as the _Id
|
/frameworks/base/tools/aapt/ |
ResourceTable.h | 296 mItemFormat(ResTable_map::TYPE_ANY), mNameIndex(-1), mPos(pos) 348 const SourcePos& getPos() const { return mPos; } 359 SourcePos mPos; 365 : mName(name), mPos(pos), mPublic(false), mEntryIndex(-1) { } 369 const SourcePos& getPos() const { return mPos; } 393 const SourcePos mPos; 429 : mName(name), mFirstPublicSourcePos(NULL), mPublicIndex(-1), mIndex(-1), mPos(pos) 463 const SourcePos& getPos() const { return mPos; } 474 SourcePos mPos;
|
/frameworks/base/core/java/android/database/ |
MergeCursor.java | 33 mPos = -1; 38 mPos = -1;
|
MatrixCursor.java | 69 if (mPos < 0) { 72 if (mPos >= rowCount) { 75 return data[mPos * columnCount + column];
|
BulkCursorToCursorAdaptor.java | 138 mPos = -1;
|
/frameworks/base/core/jni/android/graphics/ |
TextLayoutCache.h | 138 inline const jfloat* getPos() const { return mPos.array(); } 139 inline size_t getPosCount() const { return mPos.size(); } 164 Vector<jfloat> mPos;
|
/cts/tests/tests/database/src/android/database/cts/ |
AbstractCursorTest.java | 499 Object cell = mRows[mPos].get(columnIndex); 505 Number num = (Number) mRows[mPos].get(columnIndex); 511 Number num = (Number) mRows[mPos].get(columnIndex); 517 Number num = (Number) mRows[mPos].get(columnIndex); 523 Number num = (Number) mRows[mPos].get(columnIndex); 529 Number num = (Number) mRows[mPos].get(columnIndex);
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
SuggestionCursorUtil.java | 109 private int mPos = 0; 120 mPos++; 121 return new SuggestionPosition(cursor, mPos);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
DictionaryProvider.java | 113 // Note : the cursor also uses mPos, which is defined in AbstractCursor. 121 mPos = 0; 142 case 0: return mWordLists[mPos].mId; 143 case 1: return mWordLists[mPos].mLocale; 150 if (mPos >= mWordLists.length) return true;
|
/frameworks/rs/cpp/ |
rsCppStructs.h | [all...] |
/frameworks/av/include/media/ |
SoundPool.h | 125 mPos(0), mToggle(0), mAutoPaused(false) {} 159 int mPos;
|
/frameworks/av/media/libmedia/ |
SoundPool.cpp | 628 mPos = 0; 726 if (mPos < (int)sample->size()) { 727 uint8_t* p = sample->data() + mPos; 728 count = sample->size() - mPos; 733 // ALOGV("fill: q=%p, p=%p, mPos=%u, b->size=%u, count=%d", q, p, mPos, b->size, count); 734 } else if (mPos < mAudioBufferSize) { 735 count = mAudioBufferSize - mPos; 740 // ALOGV("fill extra: q=%p, mPos=%u, b->size=%u, count=%d", q, mPos, b->size, count) [all...] |
/frameworks/base/core/java/com/android/internal/database/ |
SortCursor.java | 46 mPos = -1; 51 mPos = -1;
|
/frameworks/wilhelm/src/desktop/ |
SndFile.c | 197 SLmillisecond pos = audioPlayer->mSeek.mPos; 199 audioPlayer->mSeek.mPos = SL_TIME_UNKNOWN;
|