Home
last modified time | relevance | path

Searched refs:coord (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Gallery2/tests/src/com/android/gallery3d/ui/
DGLCanvasTest.java180 double[] coord = new double[4]; in glDrawArrays() local
181 mGLVertexPointer.getArrayElement(first, coord); in glDrawArrays()
182 mResult[0] = (int) coord[0]; in glDrawArrays()
183 mResult[1] = (int) coord[1]; in glDrawArrays()
184 mGLVertexPointer.getArrayElement(first + 1, coord); in glDrawArrays()
185 mResult[2] = (int) coord[0]; in glDrawArrays()
186 mResult[3] = (int) coord[1]; in glDrawArrays()
224 double[] coord = new double[4]; in glDrawArrays() local
226 mGLVertexPointer.getArrayElement(first + i, coord); in glDrawArrays()
227 mResult[i * 2 + 0] = (int) coord[0]; in glDrawArrays()
[all …]
DGLStub.java1381 int coord, in glGetTexGenfv() argument
1388 int coord, in glGetTexGenfv() argument
1394 int coord, in glGetTexGeniv() argument
1401 int coord, in glGetTexGeniv() argument
1407 int coord, in glGetTexGenxv() argument
1414 int coord, in glGetTexGenxv() argument
1435 int coord, in glTexGenf() argument
1441 int coord, in glTexGenfv() argument
1448 int coord, in glTexGenfv() argument
1454 int coord, in glTexGeni() argument
[all …]
/packages/apps/Launcher2/src/com/android/launcher2/
DDragLayer.java293 public float getDescendantCoordRelativeToSelf(View descendant, int[] coord) { in getDescendantCoordRelativeToSelf() argument
295 float[] pt = {coord[0], coord[1]}; in getDescendantCoordRelativeToSelf()
309 coord[0] = (int) Math.round(pt[0]); in getDescendantCoordRelativeToSelf()
310 coord[1] = (int) Math.round(pt[1]); in getDescendantCoordRelativeToSelf()
456 int coord[] = new int[2]; in animateViewIntoPosition() local
457 coord[0] = lp.x; in animateViewIntoPosition()
458 coord[1] = lp.y; in animateViewIntoPosition()
462 float scale = getDescendantCoordRelativeToSelf((View) child.getParent(), coord); in animateViewIntoPosition()
463 int toX = coord[0]; in animateViewIntoPosition()
464 int toY = coord[1]; in animateViewIntoPosition()