Home
last modified time | relevance | path

Searched refs:x (Results 1 – 25 of 168) sorted by relevance

1234567

/development/tools/emulator/skins/WQVGA432/
Dlayout17 x 0
29 x 56
34 x 0
39 x 112
44 x 77
49 x 77
54 x 53
59 x 123
64 x 77
69 x 0
[all …]
/development/tools/emulator/skins/WVGA800/
Dlayout17 x 0
29 x 56
34 x 0
39 x 112
44 x 77
49 x 77
54 x 53
59 x 123
64 x 77
69 x 0
[all …]
/development/tools/emulator/skins/WQVGA400/
Dlayout17 x 0
29 x 56
34 x 0
39 x 112
44 x 77
49 x 77
54 x 53
59 x 123
64 x 77
69 x 0
[all …]
/development/tools/emulator/skins/QVGA/
Dlayout17 x 0
29 x 56
34 x 0
39 x 112
44 x 77
49 x 77
54 x 53
59 x 123
64 x 77
69 x 0
[all …]
/development/tools/emulator/skins/WVGA854/
Dlayout17 x 0
29 x 56
34 x 0
39 x 112
44 x 77
49 x 77
54 x 53
59 x 123
64 x 77
69 x 0
[all …]
/development/tools/emulator/skins/HVGA/
Dlayout17 x 0
29 x 56
34 x 0
39 x 112
44 x 77
49 x 77
54 x 53
59 x 123
64 x 77
69 x 0
[all …]
/development/vndk/tools/definition-tool/tests/
Dtest_elf_link_data.py12 self.x = ELFLinkData(PT_SYSTEM, '/system/lib/libx.so', None, 0)
18 self.x.add_needed_dep(self.y)
19 self.x.add_dlopen_dep(self.z)
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)
31 self.assertIn(self.z, self.x.deps_dlopen_all)
32 self.assertIn(self.x, self.z.users_dlopen_all)
33 self.assertNotIn(self.z, self.x.deps_needed_all)
[all …]
/development/tools/axl/
Dchewperf.py16 for x in range(len(rawLines)):
17 line = rawLines[x].split()
20 ts = int(rawLines[x - 1].split()[-1])
48 lines = [x for x in rawLines if "Pulled" in x]
52 chewed = [[int(x.split()[sidx + 2]), int(x.split()[sidx + 4])] for x in lines]
56 chewed = [[x[1] - t0, x[0]] for x in chewed]
59 bytes = sum(x[1] for x in chewed)
63 for x in chewed:
64 bucket = x[0] / 1000
65 bytes = x[1]
[all …]
Dchewie.py24 for x in range(len(self.queue)):
25 rec = self.queue[x]
27 del self.queue[x]
82 x = splitup[3:]
85 if x[2] not in keys: continue
86 x[2] = extractMe[x[2]]
89 if t0 == None: t0 = int(x[0])
90 x[0] = int(x[0]) - t0
92 thread, action = x[1], x[2]
94 time, url = x[0], x[3]
[all …]
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/
DNumericSprite.java53 private int roundUpPower2(int x) { in roundUpPower2() argument
54 x = x - 1; in roundUpPower2()
55 x = x | (x >> 1); in roundUpPower2()
56 x = x | (x >> 2); in roundUpPower2()
57 x = x | (x >> 4); in roundUpPower2()
58 x = x | (x >> 8); in roundUpPower2()
59 x = x | (x >>16); in roundUpPower2()
60 return x + 1; in roundUpPower2()
67 public void draw(GL10 gl, float x, float y, in draw() argument
74 mLabelMaker.draw(gl, x, y, mLabelId[digit]); in draw()
[all …]
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 …]
/development/samples/devbytes/animation/CurvedMotion/src/com/example/android/curvedmotion/
DPathPoint.java60 private PathPoint(int operation, float x, float y) { in PathPoint() argument
62 mX = x; in PathPoint()
69 private PathPoint(float c0X, float c0Y, float c1X, float c1Y, float x, float y) { in PathPoint() argument
74 mX = x; 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/devbytes/graphics/FoldingLayout/src/com/example/android/foldinglayout/
DFoldingLayout.java270 for (int x = 0; x < mNumberOfFolds; x++) { in prepareFold()
271 mMatrix[x] = new Matrix(); in prepareFold()
290 for (int x = 0; x < mNumberOfFolds; x++) { in prepareFold()
292 int deltap = (x + 1) * delta > w ? w - x * delta : delta; in prepareFold()
293 mFoldRectArray[x] = new Rect(x * delta, 0, x * delta + deltap, h); in prepareFold()
295 int deltap = (x + 1) * delta > h ? h - x * delta : delta; in prepareFold()
296 mFoldRectArray[x] = new Rect(0, x * delta, w, x * delta + deltap); in prepareFold()
342 for (int x = 0; x < mNumberOfFolds; x++) { in calculateMatrices()
343 mMatrix[x].reset(); in calculateMatrices()
408 for (int x = 0; x < mNumberOfFolds; x++) { in calculateMatrices()
[all …]
/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/
DGLVertex.java23 public float x; field in GLVertex
30 this.x = 0; in GLVertex()
36 GLVertex(float x, float y, float z, int index) { in GLVertex() argument
37 this.x = x; in GLVertex()
47 return (x == v.x && y == v.y && z == v.z); in equals()
52 static public int toFixed(float x) { in toFixed() argument
53 return (int)(x * 65536.0f); in toFixed()
57 vertexBuffer.put(toFixed(x)); in put()
78 vertexBuffer.put(toFixed(x)); in update()
84 vertexBuffer.put(toFixed(temp.x)); in update()
/development/gsi/gsi_util/gsi_util/dumpers/
Ddumper.py59 dumper_set = set([x.dumper_create_args for x in dump_list])
67 x for x in dump_list if x.dumper_create_args == dumper_create_args)
78 info = next((x for x in DUMP_LIST if x.info_name == info_name), None)
/development/tools/emulator/skins/WXGA800/
Dlayout17 x 0
34 x 1400
40 x 0
46 x 26
61 x 0
67 x 1400
73 x 27
/development/tools/emulator/skins/WXGA720/
Dlayout17 x 0
34 x 0
40 x 1400
46 x 27
61 x 1400
67 x 0
73 x 26
/development/tools/emulator/skins/WSVGA/
Dlayout17 x 0
34 x 1400
40 x 0
46 x 26
61 x 0
67 x 1400
73 x 29
/development/tools/emulator/skins/WXGA800-7in/
Dlayout17 x 0
35 x 0
41 x 1400
47 x 27
63 x 1400
69 x 0
75 x 26
/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
47 array[index*2 + 0] = x; in setXY()
64 for (int x = 0; x <= WIDTH; x++) { in SampleView()
65 float fx = w * x / WIDTH; in SampleView()
89 float x = src[i+0]; in warp() local
91 float dx = cx - x; in warp()
104 dst[i+0] = x + dx * pull; in warp()
117 int x = (int)pt[0]; in onTouchEvent() local
119 if (mLastWarpX != x || mLastWarpY != y) { in onTouchEvent()
120 mLastWarpX = x; in onTouchEvent()
DMeasureText.java39 for (int x = 0; x < WIDTH; x++) { in createColors()
40 int r = x * 255 / (WIDTH - 1); in createColors()
44 colors[y * STRIDE + x] = (a << 24) | (r << 16) | (g << 8) | b; in createColors()
84 float x = 0; in showText() local
86 pts[0] = x; in showText()
89 x += widths[i]; in showText()
90 pts[2 + i*2] = x; in showText()
/development/samples/Snake/src/com/example/android/snake/
DTileView.java86 for (int x = 0; x < mXTileCount; x++) { in clearTiles()
88 setTile(0, x, y); in clearTiles()
111 for (int x = 0; x < mXTileCount; x += 1) { in onDraw()
113 if (mTileGrid[x][y] > 0) { in onDraw()
114 canvas.drawBitmap(mTileArray[mTileGrid[x][y]], mXOffset + x * mTileSize, in onDraw()
141 public void setTile(int tileindex, int x, int y) { in setTile() argument
142 mTileGrid[x][y] = tileindex; in setTile()
/development/tools/winscope/src/
Dmatrix_utils.js175 function multiply_vec2(matrix, x, y) { argument
176 if (!matrix) return {x, y};
181 x: matrix.dsdx * x + matrix.dsdy * y + matrix.tx,
182 y: matrix.dtdx * x + matrix.dtdy * y + matrix.ty
197 outrect.left = Math.min(left_top.x, right_top.x, left_bottom.x, right_bottom.x);
199 outrect.right = Math.max(left_top.x, right_top.x, left_bottom.x, right_bottom.x);
/development/samples/ApiDemos/src/com/example/android/apis/view/
DSystemPointerIconButton.java50 final float x = event.getX(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()
59 } else if (x < minX || x > maxX) { in onResolvePointerIcon()

1234567