Home
last modified time | relevance | path

Searched refs:y (Results 1 – 25 of 126) sorted by relevance

123456

/development/tools/emulator/skins/WQVGA432/
Dlayout18 y 0
30 y 142
35 y 142
40 y 142
45 y 53
50 y 106
55 y 53
60 y 53
65 y 81
70 y 71
[all …]
/development/tools/emulator/skins/WQVGA400/
Dlayout18 y 0
30 y 142
35 y 142
40 y 142
45 y 53
50 y 106
55 y 53
60 y 53
65 y 81
70 y 71
[all …]
/development/tools/emulator/skins/QVGA/
Dlayout18 y 0
30 y 142
35 y 142
40 y 142
45 y 53
50 y 106
55 y 53
60 y 53
65 y 81
70 y 71
[all …]
/development/tools/emulator/skins/WVGA854/
Dlayout18 y 0
30 y 142
35 y 142
40 y 142
45 y 53
50 y 106
55 y 53
60 y 53
65 y 81
70 y 71
[all …]
/development/tools/emulator/skins/WVGA800/
Dlayout18 y 0
30 y 142
35 y 142
40 y 142
45 y 53
50 y 106
55 y 53
60 y 53
65 y 81
70 y 71
[all …]
/development/tools/emulator/skins/HVGA/
Dlayout18 y 0
30 y 142
35 y 142
40 y 142
45 y 53
50 y 106
55 y 53
60 y 53
65 y 81
70 y 71
[all …]
/development/vndk/tools/definition-tool/tests/
Dtest_elf_link_data.py13 self.y = ELFLinkData(PT_SYSTEM, '/system/lib/liby.so', None, 0)
18 self.x.add_needed_dep(self.y)
26 self.assertIn(self.y, self.x.deps_needed_all)
27 self.assertIn(self.x, self.y.users_needed_all)
28 self.assertNotIn(self.y, self.x.deps_dlopen_all)
29 self.assertNotIn(self.x, self.y.users_dlopen_all)
38 self.assertIn(self.y, self.x.deps_needed_all)
39 self.assertIn(self.x, self.y.users_needed_all)
42 self.x.hide_dlopen_dep(self.y)
43 self.assertIn(self.y, self.x.deps_needed_all)
[all …]
/development/samples/devbytes/animation/CurvedMotion/src/com/example/android/curvedmotion/
DPathPoint.java60 private PathPoint(int operation, float x, float y) { in PathPoint() argument
63 mY = y; in PathPoint()
69 private PathPoint(float c0X, float c0Y, float c1X, float c1Y, float x, float y) { in PathPoint() argument
75 mY = y; in PathPoint()
82 public static PathPoint lineTo(float x, float y) { in lineTo() argument
83 return new PathPoint(LINE, x, y); in lineTo()
90 public static PathPoint curveTo(float c0X, float c0Y, float c1X, float c1Y, float x, float y) { in curveTo() argument
91 return new PathPoint(c0X, c0Y, c1X, c1Y, x, y); in curveTo()
98 public static PathPoint moveTo(float x, float y) { in moveTo() argument
99 return new PathPoint(MOVE, x, y); in moveTo()
DAnimatorPath.java40 public void moveTo(float x, float y) { in moveTo() argument
41 mPoints.add(PathPoint.moveTo(x, y)); in moveTo()
48 public void lineTo(float x, float y) { in lineTo() argument
49 mPoints.add(PathPoint.lineTo(x, y)); in lineTo()
57 public void curveTo(float c0X, float c0Y, float c1X, float c1Y, float x, float y) { in curveTo() argument
58 mPoints.add(PathPoint.curveTo(c0X, c0Y, c1X, c1Y, x, y)); in curveTo()
/development/samples/Snake/src/com/example/android/snake/
DTileView.java87 for (int y = 0; y < mYTileCount; y++) { in clearTiles()
88 setTile(0, x, y); in clearTiles()
112 for (int y = 0; y < mYTileCount; y += 1) { in onDraw()
113 if (mTileGrid[x][y] > 0) { in onDraw()
114 canvas.drawBitmap(mTileArray[mTileGrid[x][y]], mXOffset + x * mTileSize, in onDraw()
115 mYOffset + y * mTileSize, mPaint); in onDraw()
141 public void setTile(int tileindex, int x, int y) { in setTile() argument
142 mTileGrid[x][y] = tileindex; in setTile()
DSnakeView.java194 rawArray[i++] = c.y; in coordArrayListToArray()
434 for (int y = 1; y < mYTileCount - 1; y++) { in updateWalls()
435 setTile(GREEN_STAR, 0, y); in updateWalls()
436 setTile(GREEN_STAR, mXTileCount - 1, y); in updateWalls()
445 setTile(YELLOW_STAR, c.x, c.y); in updateApples()
465 newHead = new Coordinate(head.x + 1, head.y); in updateSnake()
469 newHead = new Coordinate(head.x - 1, head.y); in updateSnake()
473 newHead = new Coordinate(head.x, head.y - 1); in updateSnake()
477 newHead = new Coordinate(head.x, head.y + 1); in updateSnake()
484 if ((newHead.x < 1) || (newHead.y < 1) || (newHead.x > mXTileCount - 2) in updateSnake()
[all …]
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DBitmapMesh.java46 private static void setXY(float[] array, int index, float x, float y) { in setXY() argument
48 array[index*2 + 1] = y; in setXY()
62 for (int y = 0; y <= HEIGHT; y++) { in SampleView()
63 float fy = h * y / HEIGHT; in SampleView()
90 float y = src[i+1]; in warp() local
92 float dy = cy - y; in warp()
105 dst[i+1] = y + dy * pull; in warp()
118 int y = (int)pt[1]; in onTouchEvent() local
119 if (mLastWarpX != x || mLastWarpY != y) { in onTouchEvent()
121 mLastWarpY = y; in onTouchEvent()
DAlphaBitmap.java44 float y = bm.getHeight(); in drawIntoBitmap() local
50 c.drawCircle(x/2, y/2, x/2, p); in drawIntoBitmap()
57 c.drawText("Alpha", x/2, (y-fm.ascent)/2, p); in drawIntoBitmap()
79 float y = 10; in onDraw() local
82 canvas.drawBitmap(mBitmap, 10, y, p); in onDraw()
83 y += mBitmap.getHeight() + 10; in onDraw()
84 canvas.drawBitmap(mBitmap2, 10, y, p); in onDraw()
85 y += mBitmap2.getHeight() + 10; in onDraw()
87 canvas.drawBitmap(mBitmap3, 10, y, p); in onDraw()
DWindowSurface.java100 float x, y, dx, dy; field in WindowSurface.MovingPoint
104 y = (float)((height-1)*Math.random()); in init()
125 y += dy; in step()
126 if (y <= 0 || y >= (height-1)) { in step()
127 if (y <= 0) y = 0; in step()
128 else if (y >= (height-1)) y = height-1; in step()
247 int blue = (int)mColor.y + 128; in run()
251 canvas.drawLine(mPoint1.x, mPoint1.y, mPoint2.x, mPoint2.y, mForeground); in run()
260 mOld[1] = mPoint1.y; in run()
262 mOld[3] = mPoint2.y; in run()
DFingerPaint.java94 private void touch_start(float x, float y) { in touch_start() argument
96 mPath.moveTo(x, y); in touch_start()
98 mY = y; in touch_start()
100 private void touch_move(float x, float y) { in touch_move() argument
102 float dy = Math.abs(y - mY); in touch_move()
104 mPath.quadTo(mX, mY, (x + mX)/2, (y + mY)/2); in touch_move()
106 mY = y; in touch_move()
120 float y = event.getY(); in onTouchEvent() local
124 touch_start(x, y); in onTouchEvent()
128 touch_move(x, y); in onTouchEvent()
DMeasureText.java38 for (int y = 0; y < HEIGHT; y++) { in createColors()
41 int g = y * 255 / (HEIGHT - 1); in createColors()
44 colors[y * STRIDE + x] = (a << 24) | (r << 16) | (g << 8) | b; in createColors()
85 float y = 0; in showText() local
87 pts[1] = y; in showText()
91 pts[2 + i*2 + 1] = y; in showText()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/
DGLVertex.java24 public float y; field in GLVertex
31 this.y = 0; in GLVertex()
36 GLVertex(float x, float y, float z, int index) { in GLVertex() argument
38 this.y = y; in GLVertex()
47 return (x == v.x && y == v.y && z == v.z); in equals()
58 vertexBuffer.put(toFixed(y)); in put()
79 vertexBuffer.put(toFixed(y)); in update()
85 vertexBuffer.put(toFixed(temp.y)); in update()
/development/tools/emulator/skins/WXGA720/
Dlayout18 y 0
35 y 0
41 y 0
47 y 27
62 y 0
68 y 0
74 y 749
/development/tools/emulator/skins/WXGA800-7in/
Dlayout18 y 0
36 y 0
42 y 0
48 y 27
64 y 0
70 y 0
76 y 829
/development/tools/emulator/skins/WSVGA/
Dlayout18 y 0
35 y 0
41 y 0
47 y 29
62 y 0
68 y 0
74 y 1050
/development/tools/emulator/skins/WXGA800/
Dlayout18 y 0
35 y 0
41 y 0
47 y 29
62 y 0
68 y 0
74 y 1307
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/
DMatrixStack.java126 public void glRotatef(float angle, float x, float y, float z) { in glRotatef() argument
127 Matrix.setRotateM(mTemp, 0, angle, x, y, z); in glRotatef()
132 public void glRotatex(int angle, int x, int y, int z) { in glRotatex() argument
133 glRotatef(angle, fixedToFloat(x), fixedToFloat(y), fixedToFloat(z)); in glRotatex()
136 public void glScalef(float x, float y, float z) { in glScalef() argument
137 Matrix.scaleM(mMatrix, mTop, x, y, z); in glScalef()
140 public void glScalex(int x, int y, int z) { in glScalex() argument
141 glScalef(fixedToFloat(x), fixedToFloat(y), fixedToFloat(z)); in glScalex()
144 public void glTranslatef(float x, float y, float z) { in glTranslatef() argument
145 Matrix.translateM(mMatrix, mTop, x, y, z); in glTranslatef()
[all …]
DGrid.java75 for (int y = 0; y < quadH; y++) { in Grid()
77 char a = (char) (y * mW + x); in Grid()
78 char b = (char) (y * mW + x + 1); in Grid()
79 char c = (char) ((y + 1) * mW + x); in Grid()
80 char d = (char) ((y + 1) * mW + x + 1); in Grid()
95 void set(int i, int j, float x, float y, float z, float u, float v) { in set() argument
107 mVertexBuffer.put(posIndex + 1, y); in set()
/development/samples/browseable/BasicMultitouch/src/com.example.android.basicmultitouch/
DTouchDisplayView.java56 public float y; field in TouchDisplayView.TouchHistory
71 public static TouchHistory obtain(float x, float y, float pressure) { in obtain() argument
77 data.setTouch(x, y, pressure); in obtain()
90 public void setTouch(float x, float y, float pressure) { in setTouch() argument
92 this.y = y; in setTouch()
108 public void addHistory(float x, float y) { in addHistory() argument
111 p.y = y; in addHistory()
267 data.addHistory(data.x, data.y); in onTouchEvent()
386 canvas.drawCircle(data.x, (data.y) - (radius / 2f), radius, in drawCircle()
393 canvas.drawCircle(p.x, p.y, mCircleHistoricalRadius, mCirclePaint); in drawCircle()
[all …]
/development/samples/ApiDemos/src/com/example/android/apis/view/
DSystemPointerIconButton.java51 final float y = event.getY(pointerIndex); in onResolvePointerIcon() local
53 if ((x < minX && y < minY) || (x > maxX && y > maxY)) { in onResolvePointerIcon()
56 } else if ((x < minX && y > maxY) || (x > maxX && y < minY)) { in onResolvePointerIcon()
62 } else if (y < minY || y > maxY) { in onResolvePointerIcon()

123456