Searched refs:pos (Results 176 - 200 of 216) sorted by relevance

123456789

/frameworks/base/core/jni/
H A Dandroid_view_GLES20Canvas.cpp645 jfloatArray pos, SkPaint* paint) {
647 jfloat* positions = env->GetFloatArrayElements(pos, NULL);
651 env->ReleaseFloatArrayElements(pos, positions, JNI_ABORT);
657 jfloatArray pos, SkPaint* paint) {
659 jfloat* positions = env->GetFloatArrayElements(pos, NULL);
663 env->ReleaseFloatArrayElements(pos, positions, JNI_ABORT);
643 android_view_GLES20Canvas_drawPosTextArray(JNIEnv* env, jobject clazz, OpenGLRenderer* renderer, jcharArray text, jint index, jint count, jfloatArray pos, SkPaint* paint) argument
655 android_view_GLES20Canvas_drawPosText(JNIEnv* env, jobject clazz, OpenGLRenderer* renderer, jstring text, jint start, jint end, jfloatArray pos, SkPaint* paint) argument
H A Dandroid_os_Parcel.cpp127 static void android_os_Parcel_setDataPosition(JNIEnv* env, jclass clazz, jint nativePtr, jint pos) argument
131 parcel->setDataPosition(pos);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
H A DMediaAudioTrackTest.java403 int pos = track.getPlaybackHeadPosition();
404 log(TEST_NAME, "position ="+ pos);
405 assertTrue(TEST_NAME, pos == 0);
433 int pos = track.getPlaybackHeadPosition();
434 log(TEST_NAME, "position ="+ pos);
435 assertTrue(TEST_NAME, pos > 0);
/frameworks/base/core/java/android/content/res/
H A DXmlBlock.java117 public String getNamespacePrefix(int pos) throws XmlPullParserException { argument
132 public String getNamespaceUri(int pos) throws XmlPullParserException { argument
/frameworks/base/core/java/android/view/
H A DGLES20Canvas.java1083 public void drawPosText(char[] text, int index, int count, float[] pos, Paint paint) { argument
1084 if (index < 0 || index + count > text.length || count * 2 > pos.length) {
1090 nDrawPosText(mRenderer, text, index, count, pos, paint.mNativePaint);
1097 float[] pos, int paint);
1101 public void drawPosText(String text, float[] pos, Paint paint) { argument
1102 if (text.length() * 2 > pos.length) {
1108 nDrawPosText(mRenderer, text, 0, text.length(), pos, paint.mNativePaint);
1115 float[] pos, int paint);
1096 nDrawPosText(int renderer, char[] text, int index, int count, float[] pos, int paint) argument
1114 nDrawPosText(int renderer, String text, int start, int end, float[] pos, int paint) argument
/frameworks/base/core/tests/coretests/src/android/util/
H A DListScenario.java181 for (int pos : positions) {
182 setPositionUnselectable(pos);
/frameworks/base/tests/RenderScriptTests/ImageProcessing/src/com/android/rs/image/
H A DImageProcessingActivity.java283 public void onItemSelected(AdapterView<?> parent, View view, int pos, long id) {
284 changeTest(pos);
/frameworks/base/tests/RenderScriptTests/ImageProcessing2/src/com/android/rs/image/
H A DImageProcessingActivity2.java278 public void onItemSelected(AdapterView<?> parent, View view, int pos, long id) {
279 changeTest(pos);
/frameworks/compile/mclinker/lib/LD/
H A DGNUArchiveReader.cpp214 size_t pos = name_field.find_first_of('/'); local
215 member_name.assign(name_field.substr(0, pos).str());
/frameworks/native/include/utils/
H A DVector.h190 inline iterator erase(iterator pos) { argument
191 return begin() + removeItemsAt(pos-array());
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp1166 void ResXMLParser::getPosition(ResXMLParser::ResXMLPosition* pos) const
1168 pos->eventCode = mEventCode;
1169 pos->curNode = mCurNode;
1170 pos->curExt = mCurExt;
1173 void ResXMLParser::setPosition(const ResXMLParser::ResXMLPosition& pos) argument
1175 mEventCode = pos.eventCode;
1176 mCurNode = pos.curNode;
1177 mCurExt = pos.curExt;
2853 TABLE_NOISY(ALOGV("Chunk: type=0x%x, headerSize=0x%x, size=0x%x, pos=%p\n",
3436 uint32_t pos local
4524 const char16_t* pos = s; local
[all...]
/frameworks/base/tools/aapt/
H A DResourceTable.cpp1961 void ResourceTable::canAddEntry(const SourcePos& pos, argument
1964 sp<Type> t = getType(package, type, pos);
2306 const char16_t* pos = name; local
2307 while (pos < end) {
2308 const char16_t* start = pos;
2309 while (pos < end && *pos != '|') {
2310 pos++;
2313 String16 nameStr(start, pos-start);
2334 pos
3041 const SourcePos& pos = c->getEntries().valueAt(k)->getPos(); local
3468 int pos = -1; local
[all...]
H A DResource.cpp1673 ssize_t pos = idents.indexOf(origOrder.itemAt(a)); local
1674 if (pos >= 0) {
1728 ssize_t pos = idents.indexOf(origOrder.itemAt(a)); local
1729 if (pos >= 0) {
1767 ssize_t pos = idents.indexOf(origOrder.itemAt(a)); local
1768 if (pos >= 0) {
1845 String8(name).string(), (int)pos);
1919 ssize_t pos = idents.indexOf(origOrder.itemAt(a)); local
1920 if (pos >= 0) {
1951 String8(name).string(), (int)pos);
[all...]
/frameworks/base/core/java/android/os/
H A DParcelFileDescriptor.java267 public native long seekTo(long pos); argument
/frameworks/av/media/libstagefright/
H A DMPEG4Writer.cpp104 // @arg pos location the value must be in.
105 void set(const TYPE& value, uint32_t pos) { argument
106 CHECK_LT(pos, mTotalNumTableEntries * mEntryCapacity);
109 uint32_t iterations = (pos / (mElementCapacity * mEntryCapacity));
117 (*it)[(pos % (mElementCapacity * mEntryCapacity))] = value;
122 // @arg pos location the value must be in.
124 bool get(TYPE& value, uint32_t pos) const {
125 if (pos >= mTotalNumTableEntries * mEntryCapacity) {
130 uint32_t iterations = (pos / (mElementCapacity * mEntryCapacity));
138 value = (*it)[(pos
154 uint32_t pos = nEntries * mEntryCapacity + nValues; local
[all...]
H A DOggExtractor.cpp316 off64_t pos = timeUs * approxBitrate() / 8000000ll; local
318 ALOGV("seeking to offset %lld", pos);
319 return seekToOffset(pos);
/frameworks/base/core/java/android/provider/
H A DContactsContract.java7670 final int[] pos = new int[2];
7671 target.getLocationOnScreen(pos);
7674 rect.left = (int) (pos[0] * appScale + 0.5f);
7675 rect.top = (int) (pos[1] * appScale + 0.5f);
7676 rect.right = (int) ((pos[0] + target.getWidth()) * appScale + 0.5f);
7677 rect.bottom = (int) ((pos[1] + target.getHeight()) * appScale + 0.5f);
/frameworks/base/core/java/android/widget/
H A DAdapterViewAnimator.java346 int modulo(int pos, int size) { argument
348 return (size + (pos % size)) % size;
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
H A DBridgeTypedArray.java720 int pos = value.indexOf('/');
721 String idName = value.substring(pos + 1);
/frameworks/opt/mms/src/java/com/google/android/mms/pdu/
H A DPduComposer.java187 protected void arraycopy(byte[] buf, int pos, int length) { argument
188 mMessage.write(buf, pos, length);
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/
H A DVideoDumpView.java251 public void seekTo (int pos) { argument
252 mMediaPlayer.seekTo(pos);
/frameworks/native/include/binder/
H A DParcel.h56 void setDataPosition(size_t pos) const;
/frameworks/base/services/java/com/android/server/am/
H A DActivityStack.java4289 int pos = top;
4293 while (pos >= 0) {
4294 ActivityRecord r = mHistory.get(pos);
4296 TAG, "At " + pos + " ckp " + r.task + ": " + r);
4304 mHistory.remove(pos);
4309 pos--;
4383 int pos = 0;
4387 while (pos < N) {
4388 ActivityRecord r = mHistory.get(pos);
4390 TAG, "At " + pos
[all...]
/frameworks/base/tools/aidl/
H A Dgenerate_java_rpc.cpp49 string::size_type pos = str.rfind('.'); local
50 if (pos == string::npos) {
53 return string(str, pos+1);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGsmDataConnectionTracker.java2212 private void setPreferredApn(int pos) { argument
2222 if (pos >= 0) {
2225 values.put(APN_ID, pos);
2247 int pos;
2249 pos = cursor.getInt(cursor.getColumnIndexOrThrow(Telephony.Carriers._ID));
2251 if (p.id == pos && p.canHandleType(mRequestedApnType)) {

Completed in 482 milliseconds

123456789