/cts/libs/json/src/com/android/json/stream/ |
D | JsonReader.java | 188 private int pos = 0; field in JsonReader 582 pos--; in nextInArray() 586 pos--; in nextInArray() 604 pos--; in nextInObject() 629 pos--; in nextInObject() 650 if ((pos < limit || fillBuffer(1)) && buffer[pos] == '>') { in objectValue() 651 pos++; in objectValue() 680 pos--; in nextValue() 691 if (limit != pos) { in fillBuffer() 692 limit -= pos; in fillBuffer() [all …]
|
/cts/tests/tests/transition/src/android/transition/cts/ |
D | PathMotionTest.java | 38 float[] pos = new float[2]; in assertPathMatches() local 42 expectedMeasure.getPosTan(along, pos, null); in assertPathMatches() 43 float expectedX = pos[0]; in assertPathMatches() 44 float expectedY = pos[1]; in assertPathMatches() 46 pathMeasure.getPosTan(along, pos, null); in assertPathMatches() 48 expectedX, pos[0], 0.01f); in assertPathMatches() 50 expectedY, pos[1], 0.01f); in assertPathMatches()
|
D | PropagationTest.java | 58 int[] pos = new int[2]; in testCircularPropagation() local 59 redValues.view.getLocationOnScreen(pos); in testCircularPropagation() 60 pos[0] += redValues.view.getWidth() / 2; in testCircularPropagation() 61 pos[1] += redValues.view.getHeight() / 2; in testCircularPropagation() 62 assertEquals(pos[0], propagation.getViewX(redValues)); in testCircularPropagation() 63 assertEquals(pos[1], propagation.getViewY(redValues)); in testCircularPropagation()
|
/cts/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/db/ |
D | Field.java | 36 static Field newInstance(int pos, String name, int fieldType) { in newInstance() argument 39 return new IntegerField(pos, name); in newInstance() 41 return new StringField(pos, name); in newInstance() 47 private Field(int pos, String name, int fieldType) { in Field() argument 48 this.mPos = pos; in Field() 120 IntegerField(int pos, String name) { in IntegerField() argument 121 super(pos, name, Cursor.FIELD_TYPE_INTEGER); in IntegerField() 140 StringField(int pos, String name) { in StringField() argument 141 super(pos, name, Cursor.FIELD_TYPE_STRING); in StringField()
|
/cts/tools/vm-tests-tf/build/src/util/build/ |
D | FileUtil.java | 31 int pos = 0; in readFile() local 32 while (pos != tmp.length) { in readFile() 33 int read = fis.read(tmp, pos, tmp.length - pos); in readFile() 37 pos += read; in readFile()
|
/cts/tests/tests/classloaderfactory/src/android/app/classloaderfactory/cts/ |
D | InMemoryDexClassLoaderFactory.java | 48 for (int pos = 0; pos < zipEntrySize;) { in instantiateClassLoader() 49 int res = zipIS.read(buf.array(), pos, zipEntrySize); in instantiateClassLoader() 53 pos += res; in instantiateClassLoader() 54 if (pos > zipEntrySize) { in instantiateClassLoader()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | ComponentNameUtils.java | 49 final int pos = className.lastIndexOf('.'); in getLogTag() local 50 return pos >= 0 ? className.substring(pos + 1) : className; in getLogTag()
|
/cts/suite/audio_quality/lib/src/ |
D | StringUtil.cpp | 42 android::String8 StringUtil::substr(const android::String8& str, size_t pos, size_t n) in substr() argument 46 if (pos >= l) { in substr() 50 if ((pos + n) > l) { in substr() 51 n = l - pos; in substr() 53 android::String8 result(str.string() + pos, n); in substr()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/ |
D | camera_response.rsh | 95 const int pos = (int)(scaled_value); 96 const float delta = scaled_value - pos; 97 return lut[pos] + delta * (lut[pos + 1] - lut[pos]); 102 const int pos = (int)(scaled_value); 103 const float delta = scaled_value - pos; 104 float valPos = rsGetElementAt_float(g_lut_apply_crf_float, pos); 105 float valPosPlus = rsGetElementAt_float(g_lut_apply_crf_float, pos+1); 111 const int pos = (int)(scaled_value); 112 const float delta = scaled_value - pos; 113 float valPos = rsGetElementAt_float(g_lut_remove_crf_float, pos); [all …]
|
D | camera_response_fast.rsh | 53 const int pos = (int)(scaled_value); 54 const float delta = scaled_value - pos; 55 float valPos = rsGetElementAt_float(g_lut_apply_crf_float, pos); 56 float valPosPlus = rsGetElementAt_float(g_lut_apply_crf_float, pos+1); 62 const int pos = (int)(scaled_value); 63 const float delta = scaled_value - pos; 64 float valPos = rsGetElementAt_float(g_lut_remove_crf_float, pos); 65 float valPosPlus = rsGetElementAt_float(g_lut_remove_crf_float, pos+1);
|
/cts/tests/tests/content/src/android/content/cts/ |
D | TestPagingContentProvider.java | 148 private void fillRow(RowBuilder row, int pos) { in fillRow() argument 149 row.add(COLUMN_POS, pos); in fillRow() 150 row.add(COLUMN_A, "--aaa--" + pos); in fillRow() 151 row.add(COLUMN_B, "**bbb**" + pos); in fillRow() 152 row.add(COLUMN_C, "^^ccc^^" + pos); in fillRow() 153 row.add(COLUMN_D, "##ddd##" + pos); in fillRow()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | RsAllocationCopyTest.java | 297 int pos = i * width + j; in test_RsAllocationCopy2D_Byte() local 300 if (inArray[pos] != outArray[pos]) { in test_RsAllocationCopy2D_Byte() 305 if (outArray[pos] != 0) { in test_RsAllocationCopy2D_Byte() 353 int pos = i * width + j; in test_RsAllocationCopy2D_Short() local 356 if (inArray[pos] != outArray[pos]) { in test_RsAllocationCopy2D_Short() 361 if (outArray[pos] != 0) { in test_RsAllocationCopy2D_Short() 409 int pos = i * width + j; in test_RsAllocationCopy2D_Int() local 412 if (inArray[pos] != outArray[pos]) { in test_RsAllocationCopy2D_Int() 417 if (outArray[pos] != 0) { in test_RsAllocationCopy2D_Int() 465 int pos = i * width + j; in test_RsAllocationCopy2D_Float() local [all …]
|
/cts/tests/tests/graphics/assets/shaders/ |
D | passthrough_vsh.glsl | 4 layout (location = 0) in vec4 pos; 9 gl_Position = pos;
|
D | tri.vert | 21 layout (location = 0) in vec4 pos; 23 gl_Position = pos;
|
/cts/tests/media/jni/ |
D | NativeMediaCommon.cpp | 84 void flattenField(uint8_t* buffer, int* pos, T value) { in flattenField() argument 85 uint8_t* ptr = (buffer + *pos); in flattenField() 89 *pos += sizeof(T); in flattenField() 92 template void flattenField<int32_t>(uint8_t* buffer, int* pos, int32_t value); 93 template void flattenField<int64_t>(uint8_t* buffer, int* pos, int64_t value);
|
D | NativeMediaCommon.h | 74 void flattenField(uint8_t* buffer, int* pos, T value);
|
/cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
D | EnrollmentSpecificIdTest.java | 192 int pos = 0; in computeHkdf() local 200 if (pos + digest.length < size) { in computeHkdf() 201 System.arraycopy(digest, 0, result, pos, digest.length); in computeHkdf() 202 pos += digest.length; in computeHkdf() 205 System.arraycopy(digest, 0, result, pos, size - pos); in computeHkdf()
|
/cts/tests/tests/provider/src/android/provider/cts/media/ |
D | MediaStoreMatchTest.java | 89 final Uri pos = ProviderTestUtils.stageMedia(R.raw.scenery, mExternalImages); in verifyMatch() local 94 mResolver.update(pos, values, null); in verifyMatch() 98 final long posId = ContentUris.parseId(pos); in verifyMatch()
|
/cts/suite/audio_quality/lib/include/ |
D | StringUtil.h | 34 static android::String8 substr(const android::String8& str, size_t pos, size_t n);
|
/cts/tests/openglperf2/jni/reference/scene/flocking/ |
D | FlockingScene.cpp | 156 Vector2D* pos = &(b->mPosition); in updateSceneGraphs() local 160 float x = pos->mX / (LIMIT_X * BOID_SCALE) * mDisplayRatio; in updateSceneGraphs() 161 float y = pos->mY / (LIMIT_Y * BOID_SCALE); in updateSceneGraphs()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
D | BleScannerHardwareScanFilterActivity.java | 159 public View getView(int pos, View view, ViewGroup parent) { in getView() argument 164 String key = mKeys.get(pos); in getView() 165 String value = getItem(pos).toString(); in getView()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/util/ |
D | WindowFocusHandleService.java | 95 private EditText createPopupTextView(Point pos) { in createPopupTextView() argument 146 150, 150, pos.x, pos.y, in createPopupTextView()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | PathMeasureTest.java | 62 float[] pos = { 1f }; in testGetPosTanArraysTooSmall() local 65 mPathMeasure.getPosTan(distance, pos, tan); in testGetPosTanArraysTooSmall()
|
/cts/tests/tests/media/libaudiojni/ |
D | audio-track-native.cpp | 241 SLuint32 pos; in getPositionInMsec() local 242 SLresult res = (*mPlay)->GetPosition(mPlay, &pos); in getPositionInMsec() 248 *position = pos; in getPositionInMsec() 498 int64_t pos; in Java_android_media_cts_AudioTrackNative_nativeGetPositionInMsec() local 499 status_t res = track->getPositionInMsec(&pos); in Java_android_media_cts_AudioTrackNative_nativeGetPositionInMsec() 508 nPostition[0] = (jlong)pos; in Java_android_media_cts_AudioTrackNative_nativeGetPositionInMsec()
|
/cts/hostsidetests/sustainedperf/shadertoy_android/jni/ |
D | shadertoy_shader.cpp | 86 attribute vec2 pos; in CreateShader() local 88 gl_Position = vec4(pos.xy, 0.0, 1.0); in CreateShader()
|