Home
last modified time | relevance | path

Searched refs:cx (Results 1 – 8 of 8) sorted by relevance

/development/samples/GlobalTime/src/com/android/globaltime/
DClock.java71 float radius, float pos, float cx, float cy, float r0, float r1) { in drawLine() argument
75 float p0x = cx + dx * r0; in drawLine()
77 float p1x = cx + dx * r1; in drawLine()
100 float cx, float cy, float width, float height) { in drawVArrow() argument
101 path.moveTo(cx - width / 2.0f, cy); in drawVArrow()
102 path.lineTo(cx, cy + height); in drawVArrow()
103 path.lineTo(cx + width / 2.0f, cy); in drawVArrow()
113 float cx, float cy, float width, float height) { in drawHArrow() argument
114 path.moveTo(cx, cy - height / 2.0f); in drawHArrow()
115 path.lineTo(cx + width, cy); in drawHArrow()
[all …]
DCity.java83 float cx = Float.intBitsToFloat(icx); in loadCities() local
88 latitude, longitude, cx, cy, cz); in loadCities()
DGlobalTime.java1243 float cx = w / 2.0f; in drawClock() local
1252 mClock.drawClock(canvas, cx, cy, radius, in drawClock()
/development/samples/BrowserPlugin/jni/animation/
DAnimationPlugin.cpp125 float cx = W * 0.5f; in drawPlugin() local
128 gPathI.quadTo(path, cx, cy, W, 0); in drawPlugin()
129 gPathI.quadTo(path, cx, cy, W, H); in drawPlugin()
130 gPathI.quadTo(path, cx, cy, 0, H); in drawPlugin()
131 gPathI.quadTo(path, cx, cy, 0, 0); in drawPlugin()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DBitmapMesh.java85 private void warp(float cx, float cy) { in warp() argument
92 float dx = cx - x; in warp()
102 dst[i+0] = cx; in warp()
DCompass.java108 int cx = w / 2; in onDraw() local
111 canvas.translate(cx, cy); in onDraw()
DSensorTest.java190 int cx = w / 2; in onDraw() local
193 canvas.translate(cx, cy); in onDraw()
/development/apps/Term/src/com/android/term/
DTerm.java925 TextRenderer renderer, int cx) { in drawText() argument
945 if (cx == i) { in drawText()
3047 int cx = mEmulator.getCursorCol();
3052 cursorX = cx;
3062 int cx = mEmulator.getCursorCol();
3065 mLeftColumn = cx;
3067 mLeftColumn = (cx - mVisibleColumns) + 1;