Home
last modified time | relevance | path

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

123456789

/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/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/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/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/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/tools/winscope/src/common/
Drect.ts22 readonly x: number,
38 this.x <= point.x &&
39 point.x <= this.x + this.w &&
46 const maxLeft = Math.max(this.x, other.x);
47 const minRight = Math.min(this.x + this.w, other.x + other.w);
57 this.x <= other.x &&
59 this.x + this.w >= other.x + other.w &&
66 this.x < other.x + other.w &&
67 other.x < this.x + this.w &&
71 let [x, y, w, h] = [this.x, this.y, this.w, this.h];
[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/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/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/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/tools/winscope/src/app/components/timeline/mini-timeline/drawer/
Ddraggable_canvas_object_impl.ts38 private onDrag: (x: number) => void,
39 private onDrop: (x: number) => void,
44 (x: number) => {
45 this.draggingPosition = this.clampPositionToRange(x);
49 (x: number) => {
51 this.onDrop(this.clampPositionToRange(x));
84 private clampPositionToRange(x: number): number {
85 return MathUtils.clamp(x, this.range.from, this.range.to);
/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/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()
/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/tools/cargo_embargo/src/
Dbp.rs149 let i = canonical_order.iter().position(|x| k == x).unwrap_or(canonical_order.len()); in write()
190 fn from(x: bool) -> Self { in from()
191 BpValue::Bool(x) in from()
196 fn from(x: &str) -> Self { in from()
197 BpValue::String(x.to_string()) in from()
202 fn from(x: String) -> Self { in from()
203 BpValue::String(x) in from()
208 fn from(x: PathBuf) -> Self { in from()
209 BpValue::String(x.to_string_lossy().into_owned()) in from()
214 fn from(x: Vec<T>) -> Self { in from()
[all …]
/development/tools/winscope/src/app/components/timeline/mini-timeline/
Dtransformer.ts43 transform(x: Timestamp): number {
46 (this.targetWidth * Number(x.getValueNs() - this.fromOffset)) /
51 untransform(x: number): Timestamp {
52 x = Math.round(x);
55 (BigInt(x - this.toOffset) * this.fromWidth) / BigInt(this.targetWidth);
/development/tools/winscope/src/viewers/components/rects/
Dmapper3d.ts235 x: rect2d.x,
240 x: rect2d.x + rect2d.w,
307 const width = Math.abs(rect3d.topLeft.x - rect3d.bottomRight.x);
311 (rect3d.topLeft.x = (maxDimension - maxDisplaySize.width / 2) * -1),
312 (rect3d.bottomRight.x = maxDimension);
341 x: rect3d.topLeft.x,
346 x: rect3d.bottomRight.x,
358 if (lineStarts[i].x > lineStarts[maxIndex].x) {
363 lineStart.x += Mapper3D.LABEL_CIRCLE_RADIUS / 2;
366 x: lineStart.x,
[all …]

123456789