Home
last modified time | relevance | path

Searched +defs:y +defs:i (Results 1 – 24 of 24) sorted by relevance

/cts/tests/openglperf2/jni/graphics/
DMatrix.cpp33 for (int i = 0; i < 4; i++) { in print() local
42 for (int i = 0; i < MATRIX_SIZE && equals; i++) { in equals() local
76 void Matrix::translate(float x, float y, float z) { in translate()
86 void Matrix::scale(float x, float y, float z) { in scale()
96 void Matrix::rotate(float radians, float x, float y, float z) { in rotate()
109 for (int i = 0; i < 4; i++) { in multiply() local
112 float y = 0; in multiply() local
197 const float y = 2.0f * (near * r_height); in newFrustum() local
225 Matrix* Matrix::newTranslate(float x, float y, float z) { in newTranslate()
235 Matrix* Matrix::newScale(float x, float y, float z) { in newScale()
[all …]
DGLUtils.cpp104 for (int i = 0; i < numVertices; i++) { in loadMesh() local
219 for (int y = 0; y < h; y++) { in genTexture() local
/cts/tests/tests/media/libmediandkjni/
Dmd5_utils.cpp32 int i = 1; in byteSwap() local
144 #define F1(x, y, z) (z ^ (x & (y ^ z))) argument
145 #define F2(x, y, z) F1(z, x, y) argument
146 #define F3(x, y, z) (x ^ y ^ z) argument
147 #define F4(x, y, z) (y ^ (x | ~z)) argument
150 #define MD5STEP(f,w,x,y,z,in,s) \ argument
Dcodec-utils-jni.cpp264 for (size_t y = img->plane[ix].cropHeight; y > 0; --y) { in Java_android_media_cts_CodecUtils_getImageChecksumAlder32() local
292 for (size_t y = img->plane[ix].cropHeight; y > 0; --y) { in Java_android_media_cts_CodecUtils_getImageChecksumMD5() local
310 for (int i = 0; i < 16; i++) { in Java_android_media_cts_CodecUtils_getImageChecksumMD5() local
342 for (size_t y = 0; y < tgt->plane[ix].cropHeight; ++y) { in Java_android_media_cts_CodecUtils_copyFlexYUVImage() local
358 jclass /*clazz*/, jobject image, jobject area, jint y, jint u, jint v) in Java_android_media_cts_CodecUtils_fillImageRectWithYUV()
368 for (size_t y = img->plane[ix].cropHeight; y > 0; --y) { in Java_android_media_cts_CodecUtils_fillImageRectWithYUV() local
403 for (size_t y = img->plane[0].cropHeight; y; --y) { in getRawStats() local
438 for (size_t i = 0; i < 3; i++) { in getRawStats() local
450 for (size_t i = 0; i < 3; i++) { in Raw2YUVStats() local
/cts/tests/openglperf2/jni/reference/scene/flocking/
DFlockingScene.cpp33 for (int i = 0; i < NUM_BOIDS; i++) { in FlockingScene() local
36 float y = (rand() % 101) - 50.0f; in FlockingScene() local
130 for (int i = 0; i < NUM_BOIDS; i++) { in tearDown() local
153 for (int i = 0; i < NUM_BOIDS; i++) { in updateSceneGraphs() local
161 float y = pos->mY / (LIMIT_Y * BOID_SCALE); in updateSceneGraphs() local
DBoid.cpp16 Boid::Boid(float x, float y) : in Boid()
30 for (int i = 0; i < numBoids; i++) { in flock() local
/cts/tests/input/src/android/input/cts/
DInputShellCommandTest.kt36 val y = location[1] + v.height / 2 in getViewCenterOnScreen() constant
63 val (x, y) = getViewCenterOnScreen(mActivity.window.decorView) in testDefaultToolType() constant
74 val (x, y) = getViewCenterOnScreen(mActivity.window.decorView) in testToolType() constant
107 for (i in 0 until event.pointerCount) { in assertToolType() constant
/cts/tests/tests/nativehardware/jni/
DAHardwareBufferGLTest.cpp110 uint32_t i; member
255 for (int i = 0; i < size; i += 3) { in UploadRedPixels() local
268 for (int i = 0; i < size; i += 4) { in UploadRedPixels() local
281 for (int i = 0; i < size; i += 4) { in UploadRedPixels() local
294 for (int i = 0; i < size; ++i) { in UploadRedPixels() local
321 int y; member
328 void CheckGoldenPixel(int x, int y, const std::array<T, 4>& golden, in CheckGoldenPixel()
337 void CheckGoldenPixel(int x, int y, const std::array<T, 4>& minimum, in CheckGoldenPixel()
341 for (int i = 0; i < 4; ++i) { in CheckGoldenPixel() local
415 const float y = kYuvToRgb[0] * r + kYuvToRgb[1] * g + kYuvToRgb[2] * b + kYuvToRgb[3]; in GetGoldenColor() local
[all …]
/cts/tests/tests/graphics/jni/
Dandroid_graphics_cts_MediaVulkanGpuTest.cpp39 for (size_t i = 0; i < 4; ++i) { in fuzzyMatch() local
135 for (uint32_t y = 0; y < kTestImageHeight; ++y) { in loadMediaAndVerifyFrameImport() local
Dandroid_graphics_cts_AImageDecoderTest.cpp447 for (int y = 0; y < height; ++y) { in bitmapsEqual() local
659 for (int i = 1; i <= 16; i++) { in testDecodeStride() local
/cts/tests/tests/systemui/src/android/systemui/cts/
DLightBarTests.java167 int y = mActivityRule.getActivity().getBottom() + 10; in testLightNavigationBar() local
273 private void injectCanceledTap(int x, int y) { in injectCanceledTap()
279 private void injectEvent(int action, int x, int y, long downTime) { in injectEvent()
383 int i = 0; in evaluateBarBitmap() local
386 int y = i / bitmap.getWidth(); in evaluateBarBitmap() local
/cts/tests/tests/rscpp/librscpptest/
Drs_jni_allocation.cpp43 for (uint32_t y = 1; y < 8; y ++) { in createTypedHelper() local
166 for (int i = 0; i < copyCount; i++) { in helperCopy1D() local
178 for (int i = 0; i < copyCount; i++) { in helperCopy1D() local
200 for (int i = 0; i < cellCount; i++) { in helperFloatAllocationCopy1D() local
211 for (int i = 0; i < count; i++) { in helperFloatAllocationCopy1D() local
257 for (int i = 0; i < copyCount; i++) { in helperCopy2D() local
265 for (int i = 0; i < copyCount; i++) { in helperCopy2D() local
288 for (int i = 0; i < xCount * yCount; i++) { in helperFloatAllocationCopy2D() local
299 for (int i = 0; i < xCount * yCount; i++) { in helperFloatAllocationCopy2D() local
360 for (int i = 0; i < copyCount; i++) { in helperCopy3D() local
[all …]
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DSplashscreenTests.java318 markDebugPixel(img.getPixel(x, y), result, x, y, ignoredDebugColor, 0.95f); in generateFailureImage() local
324 private void markDebugPixel(int pixel, Bitmap result, int x, int y, int color, float ratio) { in markDebugPixel()
479 final Intent i = new Intent(ACTION_MAIN) in testShortcutChangeTheme() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DMotionIndicatorView.java144 RangeCoveredRegister y, in setDataProvider()
224 int i,t; in onDraw() local
408 public boolean isCovered(int i) { in isCovered()
/cts/tests/tests/media/src/android/media/cts/
DEncodeVirtualDisplayTest.java189 private static boolean verifySupportForEncoderLevel(int i) { in verifySupportForEncoderLevel()
497 int y = sHeight / 2; in checkSurfaceFrame() local
DVideoEncoderTest.java973 private void addExtremeSizesFor(int x, int y) { in addExtremeSizesFor()
1037 private int getExtreme(Range<Integer> range, int i, int delta) { in getExtreme()
1046 private Size getLargestSizeForRatio(int x, int y) { in getLargestSizeForRatio()
1062 public boolean testExtreme(int x, int y, boolean flexYUV, boolean near) { in testExtreme()
1982 private void extreme(Encoder[] encoders, int x, int y, boolean flexYUV, boolean near) { in extreme()
/cts/tests/tests/view/src/android/view/cts/
DPixelCopyTest.java486 int i = 0; in testWideGamutWindowProducerCopyToRGBA16F() local
626 private static void assertEqualsRgba16f(String message, Bitmap bitmap, int x, int y, in assertEqualsRgba16f()
955 private void assertBitmapColor(String debug, Bitmap bitmap, int color, int x, int y) { in assertBitmapColor()
959 private void assertBitmapColor(String debug, Bitmap bitmap, int color, int x, int y, in assertBitmapColor()
968 private void assertBitmapNotColor(String debug, Bitmap bitmap, int color, int x, int y) { in assertBitmapNotColor()
DViewGroupTest.java3179 public int getChildDrawingOrder(int childCount, int i) { in getChildDrawingOrder()
3272 public boolean showContextMenuForChild(View originalView, float x, float y) { in showContextMenuForChild()
/cts/tests/tests/view/jni/
Dandroid_view_cts_ASurfaceControlTest.cpp77 for (uint32_t y = top; y < bottom; y++) { in fillRegion() local
308 jlong surfaceTransaction, jint x, jint y) { in SurfaceTransaction_setPosition()
413 for (size_t i = 0; i < syncFileInfo->num_fences; i++) { in getPresentTime() local
/cts/tests/video/src/android/video/cts/
DVideoEncoderDecoderTest.java1185 int i; in runDecoder() local
1284 double y = (1 - Math.cos(frameCount / (10. + (runId & ~1)))) in getOrigin() local
1384 private void getPixelValuesFromYUVBuffers(int originX, int originY, int x, int y, in getPixelValuesFromYUVBuffers()
1406 private void getPixelValuesFromOutputBuffer(ByteBuffer buffer, int x, int y, YUVValue result) { in getPixelValuesFromOutputBuffer()
1421 private void getPixelValuesFromImage(Image image, int x, int y, YUVValue result) { in getPixelValuesFromImage()
1432 private byte getPixelFromPlane(Plane plane, int x, int y) { in getPixelFromPlane()
1440 private byte clampY(int y) { in clampY()
/cts/apps/CtsVerifier/libs/
Dopencv3-android.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/opencv/ org/ ...
/cts/tests/app/src/android/app/cts/
DInstrumentationTest.java322 int i = 0; in testSendStringSync() local
353 final int y = bounds.centerY(); in testSendPointerSync() local
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DAllocationTest.java109 assertEquals(A.getType().getX(), i); in createSizedHelper() local
415 void helperBitmapCopy(int x, int y) { in helperBitmapCopy()
/cts/tools/vm-tests-tf/lib/
Djunit.jar ... , int, int, int) int x int y int w int h public void start (int) ...