Home
last modified time | relevance | path

Searched refs:z (Results 1 – 25 of 37) sorted by relevance

12

/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/
DGLVertex.java25 public float z; field in GLVertex
32 this.z = 0; in GLVertex()
36 GLVertex(float x, float y, float z, int index) { in GLVertex() argument
39 this.z = z; in GLVertex()
47 return (x == v.x && y == v.y && z == v.z); in equals()
59 vertexBuffer.put(toFixed(z)); in put()
80 vertexBuffer.put(toFixed(z)); in update()
86 vertexBuffer.put(toFixed(temp.z)); in update()
DM4.java39 dest.x = src.x * m[0][0] + src.y * m[1][0] + src.z * m[2][0] + m[3][0]; in multiply()
40 dest.y = src.x * m[0][1] + src.y * m[1][1] + src.z * m[2][1] + m[3][1]; in multiply()
41 dest.z = src.x * m[0][2] + src.y * m[1][2] + src.z * m[2][2] + m[3][2]; in multiply()
DGLShape.java55 public GLVertex addVertex(float x, float y, float z) { in addVertex() argument
61 if (vertex.x == x && vertex.y == y && vertex.z == z) { in addVertex()
67 GLVertex vertex = mWorld.addVertex(x, y, z); in addVertex()
DGLWorld.java61 public GLVertex addVertex(float x, float y, float z) { in addVertex() argument
62 GLVertex vertex = new GLVertex(x, y, z, mVertexList.size()); in addVertex()
/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 …]
DMatrixTrackingGL.java541 public void glRotatef(float angle, float x, float y, float z) { in glRotatef() argument
542 mCurrent.glRotatef(angle, x, y, z); in glRotatef()
543 mgl.glRotatef(angle, x, y, z); in glRotatef()
547 public void glRotatex(int angle, int x, int y, int z) { in glRotatex() argument
548 mCurrent.glRotatex(angle, x, y, z); in glRotatex()
549 mgl.glRotatex(angle, x, y, z); in glRotatex()
561 public void glScalef(float x, float y, float z) { in glScalef() argument
562 mCurrent.glScalef(x, y, z); in glScalef()
563 mgl.glScalef(x, y, z); in glScalef()
567 public void glScalex(int x, int y, int z) { in glScalex() argument
[all …]
DGrid.java95 void set(int i, int j, float x, float y, float z, float u, float v) { in set() argument
108 mVertexBuffer.put(posIndex + 2, z); in set()
/development/tools/winscope/src/app/components/bottomnav/
Ddrawer.scss19 $drawer-content-z-index: 1;
20 $drawer-side-drawer-z-index: 2;
21 $drawer-backdrop-z-index: 3;
22 $drawer-over-drawer-z-index: 4;
26 @mixin drawer-stacking-context($z-index: 1) {
29 // Use a z-index to create a new stacking context. (We can't use transform because it breaks fixed
31 z-index: $z-index;
36 // MatDrawerContainer. This creates a new z-index stack so we use low numbered z-indices.
66 z-index: $drawer-backdrop-z-index;
86 // Because of the new stacking context, the z-index stack is new and we can use our own
[all …]
/development/tools/winscope/src/viewers/components/rects/
Dmapper3d.ts178 let z = 0;
184 z = Mapper3D.Z_SPACING_MAX * this.zSpacingFactor * rect2d.depth;
186 z -= Mapper3D.Z_SPACING_MAX * this.zSpacingFactor;
198 z, constant
203 z, constant
311 z: rect3d.topLeft.z, constant
316 z: rect3d.bottomRight.z, constant
336 z: lineStart.z, constant
347 z: lineStart.z + 0.5, constant
368 z: point.z,
[all …]
Dcanvas.ts75 this.scene.translateZ(scaleFactor * -scene.boundingBox.center.z);
92 this.camera.position.set(cameraPosition.x, cameraPosition.y, cameraPosition.z);
117 getClickedRectId(x: number, y: number, z: number): undefined | string {
118 const clickPosition = new THREE.Vector3(x, y, z);
150 return new THREE.Vector3(point.x, point.y, point.z);
193 labelCss.position.set(label.textCenter.x, label.textCenter.y, label.textCenter.z);
242 mesh.position.z = rect.topLeft.z;
249 const bottomLeft: Point3D = {x: rect.topLeft.x, y: rect.bottomRight.y, z: rect.topLeft.z}; constant
250 const topRight: Point3D = {x: rect.bottomRight.x, y: rect.topLeft.y, z: rect.bottomRight.z}; constant
335 mesh.position.set(circle.center.x, circle.center.y, circle.center.z);
Dtypes3d.ts59 z: number; property
Drects_component.ts298 const z = 0; constant
300 const id = this.canvas?.getClickedRectId(x, y, z);
/development/samples/browseable/SwipeRefreshMultipleViews/src/com.example.android.common/dummydata/
DCheeses.java162 for (int i = 0, z = CHEESES.length ; i < z ; i++) { in asList()
/development/samples/browseable/SwipeRefreshLayoutBasic/src/com.example.android.common/dummydata/
DCheeses.java162 for (int i = 0, z = CHEESES.length ; i < z ; i++) { in asList()
/development/samples/browseable/SwipeRefreshListFragment/src/com.example.android.common/dummydata/
DCheeses.java162 for (int i = 0, z = CHEESES.length ; i < z ; i++) { in asList()
/development/samples/CubeLiveWallpaper/src/com/example/android/livecubes/cube2/
DCubeWallpaper2.java42 float z; field in CubeWallpaper2.ThreeDPoint
131 mOriginalPoints[i].z = Float.valueOf(coord[2]); in readModel()
260 float z = p.z; in rotateAndProjectPoints() local
261 float newy = (float)(Math.sin(xrot) * z + Math.cos(xrot) * y); in rotateAndProjectPoints()
262 float newz = (float)(Math.cos(xrot) * z - Math.sin(xrot) * y); in rotateAndProjectPoints()
274 mRotatedPoints[i].z = 0; in rotateAndProjectPoints()
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/ui/
DRecyclingImageView.java83 for (int i = 0, z = layerDrawable.getNumberOfLayers(); i < z; i++) { in notifyDrawable()
/development/build/tools/
Dmk_sources_zip.py222 z = None
233 p.zipfile = z = zipfile.ZipFile(p.DST, "w", zipfile.ZIP_DEFLATED)
234 z.write(p.PROPS, TOP_FOLDER + "/source.properties")
248 if z is not None:
249 z.close()
/development/samples/TtsEngine/assets/
Deng-USA.freq26 z:10
Deng-GBR.freq1 z:2
/development/samples/browseable/ElevationDrag/
D_index.jd9 z-translation are used to render the shadows and the views are clipped using different
/development/samples/browseable/ElevationBasic/
D_index.jd8 This sample demonstrates two alternative ways to move a view in the z-axis. The
/development/samples/browseable/ActionBarCompat-ListPopupMenu/src/com.example.android.actionbarcompat.listpopupmenu/
DPopupListFragment.java43 for (int i = 0, z = Cheeses.CHEESES.length ; i < z ; i++) { in onActivityCreated()
/development/tools/otagui/src/components/
DFileSelect.vue63 z-index: 2;
103 z-index: 3;
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DMatrixPaletteRenderer.java150 public void set(int i, int j, float x, float y, float z, in set() argument
170 mVertexBuffer.put(z); in set()
396 float z = radius * (float) Math.sin(angle); in generateWeightedGrid() local
401 grid.set(i, j, x, y, z, u, v, w0, w1, 0, 1); in generateWeightedGrid()

12