/external/skia/samplecode/ |
D | SampleShadowReference.cpp | 123 SkScalar xPos = 230; in onDrawContent() local 131 canvas->translate(xPos, yPos); in onDrawContent() 137 xPos += 320; in onDrawContent() 142 canvas->translate(xPos, yPos); in onDrawContent() 148 xPos += 320; in onDrawContent() 153 canvas->translate(xPos, yPos); in onDrawContent() 159 xPos += 320; in onDrawContent() 164 canvas->translate(xPos, yPos); in onDrawContent() 170 xPos += 320; in onDrawContent() 175 canvas->translate(xPos, yPos); in onDrawContent() [all …]
|
D | SampleShadowColor.cpp | 204 SkScalar xPos = 75; in onDrawContent() local 209 canvas->translate(xPos, yPos); in onDrawContent() 215 xPos += 120; in onDrawContent()
|
D | SampleShip.cpp | 68 float xPos = (x / (kGrid - 1.0f)) * kWidth; in DrawShipView() local 75 xPos, yPos, anchorX, anchorY); in DrawShipView()
|
/external/skqp/samplecode/ |
D | SampleShadowReference.cpp | 129 SkScalar xPos = 230; in onDrawContent() local 137 canvas->translate(xPos, yPos); in onDrawContent() 143 xPos += 320; in onDrawContent() 148 canvas->translate(xPos, yPos); in onDrawContent() 154 xPos += 320; in onDrawContent() 159 canvas->translate(xPos, yPos); in onDrawContent() 165 xPos += 320; in onDrawContent() 170 canvas->translate(xPos, yPos); in onDrawContent() 176 xPos += 320; in onDrawContent() 181 canvas->translate(xPos, yPos); in onDrawContent() [all …]
|
D | SampleShadowColor.cpp | 209 SkScalar xPos = 75; in onDrawContent() local 214 canvas->translate(xPos, yPos); in onDrawContent() 220 xPos += 120; in onDrawContent()
|
/external/perfetto/ui/src/frontend/ |
D | track.ts | 101 ctx: CanvasRenderingContext2D, xPos: number, text: string, 117 if (xPos + rectWidth > endPx) { 118 xPos -= (xPos + rectWidth - endPx); 124 xPos, rectMargin, rectWidth, this.getHeight() - rectMargin * 2); 128 ctx.fillText(text, xPos + 8, textYPos); 131 ctx.fillText(text2, xPos + 8, this.getHeight() / 2 + 6);
|
D | vertical_line_helper.ts | 24 const xPos = TRACK_SHELL_WIDTH + Math.floor(timeScale.timeToPx(time)); constant 25 drawVerticalLine(ctx, xPos, height, color, lineWidth); 29 xPos: number, 37 ctx.moveTo(xPos, 0); 38 ctx.lineTo(xPos, height);
|
D | gridline_helper.ts | 81 let xPos = TRACK_SHELL_WIDTH; 83 xPos += Math.floor(timescale.timeToPx(timestamp)); 84 if (xPos < TRACK_SHELL_WIDTH) continue; 85 if (xPos > width) break; 88 lines.push([xPos, timestamp]);
|
D | time_selection_panel.ts | 89 ctx: CanvasRenderingContext2D, xPos: number, bounds: BBox, label: string) { 90 if (xPos < bounds.x) return; 93 ctx.fillRect(xPos, 0, 1, bounds.width); 100 if (xPos + padding + labelWidth > bounds.width) { 101 xPosLabel = xPos - padding; 104 xPosLabel = xPos + padding; 165 const xPos = TRACK_SHELL_WIDTH + Math.floor(timeScale.timeToPx(ts)); constant 169 drawIBar(ctx, xPos, this.bounds(size), label);
|
D | overview_timeline_panel.ts | 84 const xPos = constant 86 const t = this.timeScale.pxToTime(xPos); 87 if (xPos <= 0) continue; 88 if (xPos > this.width) break; 90 ctx.fillRect(xPos - 1, 0, 1, headerHeight - 5); 91 ctx.fillText(timeToString(t - this.totTime.start), xPos + 5, 18); 93 ctx.fillRect(xPos - 1, 0, 1, 5);
|
/external/skqp/gm/ |
D | lightingshader2.cpp | 158 SkScalar xPos = (gridNum % kGridColumnNum) * kGridCellWidth; in onDraw() local 163 canvas->translate(xPos, yPos); in onDraw() 204 SkScalar xPos = (gridNum % kGridColumnNum) * kGridCellWidth; in onDraw() local 208 canvas->translate(xPos, yPos); in onDraw() 217 SkScalar xPos = (gridNum % kGridColumnNum) * kGridCellWidth; in onDraw() local 221 canvas->translate(xPos, yPos); in onDraw() 230 SkScalar xPos = (gridNum % kGridColumnNum) * kGridCellWidth; in onDraw() local 234 canvas->translate(xPos, yPos); in onDraw() 243 SkScalar xPos = (gridNum % kGridColumnNum) * kGridCellWidth; in onDraw() local 247 canvas->translate(xPos, yPos); in onDraw()
|
D | multipicturedraw.cpp | 66 SkScalar xPos, yPos = 0; in make_hex_plane_picture() local 69 xPos = 0; in make_hex_plane_picture() 73 canvas->translate(xPos, yPos + ((x % 2) ? kRoot3Over2 * kHexSide : 0)); in make_hex_plane_picture() 78 xPos += 1.5f * kHexSide; in make_hex_plane_picture() 116 SkScalar xPos = 0.0f, yPos = 0.0f; in make_single_layer_hex_plane_picture() local 119 xPos = 0; in make_single_layer_hex_plane_picture() 121 for (int x = 0; xPos < kBig; ++x) { in make_single_layer_hex_plane_picture() 123 canvas->translate(xPos, yPos + ((x % 2) ? kRoot3Over2 * kHexSide : 0)); in make_single_layer_hex_plane_picture() 131 xPos += 1.5f * kHexSide; in make_single_layer_hex_plane_picture()
|
D | pathopsinverse.cpp | 85 int xPos = 150; in onDraw() local 90 canvas->translate(SkIntToScalar(xPos), SkIntToScalar(yPos)); in onDraw() 95 xPos += 150; in onDraw()
|
/external/skqp/docs/ |
D | illustrations.bmh | 25 SkScalar xPos = 15; 33 …SkTextUtils::DrawString(canvas, n >= 10 ? num : &num[1], xPos, yPos - 5, font, p, SkTextUtils::kCe… 37 xPos += 20; 82 SkScalar xPos = 15; 90 …SkTextUtils::DrawString(canvas, n >= 10 ? num : &num[1], xPos, yPos - 5, font, p, SkTextUtils::kCe… 94 xPos += 20; 137 SkScalar xPos = 15; 145 …SkTextUtils::DrawString(canvas, n >= 10 ? num : &num[1], xPos, yPos - 5, font, p, SkTextUtils::kCe… 149 xPos += 20; 194 SkScalar xPos = 15; [all …]
|
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/math/raw/ |
D | Nat.java | 1135 public static int squareWordAdd(int[] x, int xPos, int[] z) in squareWordAdd() argument 1137 long c = 0, xVal = x[xPos] & M; in squareWordAdd() 1141 c += xVal * (x[i] & M) + (z[xPos + i] & M); in squareWordAdd() 1142 z[xPos + i] = (int)c; in squareWordAdd() 1145 while (++i < xPos); in squareWordAdd() 1152 public static int squareWordAdd(int[] x, int xOff, int xPos, int[] z, int zOff) in squareWordAdd() argument 1154 long c = 0, xVal = x[xOff + xPos] & M; in squareWordAdd() 1158 c += xVal * (x[xOff + i] & M) + (z[xPos + zOff] & M); in squareWordAdd() 1159 z[xPos + zOff] = (int)c; in squareWordAdd() 1163 while (++i < xPos); in squareWordAdd() [all …]
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/math/raw/ |
D | Nat.java | 1135 public static int squareWordAdd(int[] x, int xPos, int[] z) in squareWordAdd() argument 1137 long c = 0, xVal = x[xPos] & M; in squareWordAdd() 1141 c += xVal * (x[i] & M) + (z[xPos + i] & M); in squareWordAdd() 1142 z[xPos + i] = (int)c; in squareWordAdd() 1145 while (++i < xPos); in squareWordAdd() 1152 public static int squareWordAdd(int[] x, int xOff, int xPos, int[] z, int zOff) in squareWordAdd() argument 1154 long c = 0, xVal = x[xOff + xPos] & M; in squareWordAdd() 1158 c += xVal * (x[xOff + i] & M) + (z[xPos + zOff] & M); in squareWordAdd() 1159 z[xPos + zOff] = (int)c; in squareWordAdd() 1163 while (++i < xPos); in squareWordAdd() [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/raw/ |
D | Nat.java | 1131 public static int squareWordAdd(int[] x, int xPos, int[] z) in squareWordAdd() argument 1133 long c = 0, xVal = x[xPos] & M; in squareWordAdd() 1137 c += xVal * (x[i] & M) + (z[xPos + i] & M); in squareWordAdd() 1138 z[xPos + i] = (int)c; in squareWordAdd() 1141 while (++i < xPos); in squareWordAdd() 1148 public static int squareWordAdd(int[] x, int xOff, int xPos, int[] z, int zOff) in squareWordAdd() argument 1150 long c = 0, xVal = x[xOff + xPos] & M; in squareWordAdd() 1154 c += xVal * (x[xOff + i] & M) + (z[xPos + zOff] & M); in squareWordAdd() 1155 z[xPos + zOff] = (int)c; in squareWordAdd() 1159 while (++i < xPos); in squareWordAdd() [all …]
|
/external/skia/docs/examples/ |
D | pathops.cpp | 67 int xPos = 150; in draw() local 72 canvas->translate(SkIntToScalar(xPos), SkIntToScalar(yPos)); in draw() 77 xPos += 150; in draw()
|
/external/skia/gm/ |
D | pathopsinverse.cpp | 91 int xPos = 150; in onDraw() local 96 canvas->translate(SkIntToScalar(xPos), SkIntToScalar(yPos)); in onDraw() 101 xPos += 150; in onDraw()
|
/external/skqp/tools/sk_app/win/ |
D | Window_win.cpp | 264 int xPos = GET_X_LPARAM(lParam); in WndProc() local 278 eventHandled = window->onMouse(xPos, yPos, istate, in WndProc() 283 int xPos = GET_X_LPARAM(lParam); in WndProc() local 294 eventHandled = window->onMouse(xPos, yPos, Window::kMove_InputState, in WndProc()
|
/external/skia/tools/sk_app/win/ |
D | Window_win.cpp | 266 int xPos = GET_X_LPARAM(lParam); in WndProc() local 280 eventHandled = window->onMouse(xPos, yPos, istate, in WndProc() 285 int xPos = GET_X_LPARAM(lParam); in WndProc() local 296 eventHandled = window->onMouse(xPos, yPos, skui::InputState::kMove, in WndProc()
|
/external/tensorflow/tensorflow/tools/android/test/src/org/tensorflow/demo/ |
D | TensorFlowYoloDetector.java | 195 final float xPos = (x + expit(output[offset + 0])) * blockSize; in recognizeImage() local 203 Math.max(0, xPos - w / 2), in recognizeImage() 205 Math.min(bitmap.getWidth() - 1, xPos + w / 2), in recognizeImage()
|
/external/skqp/src/core/ |
D | SkStrike.cpp | 260 SkScalar xPos, SkScalar* array, int* count) { in OffsetResults() argument 264 *array++ = intercept->fInterval[index] * scale + xPos; in OffsetResults() 336 void SkStrike::findIntercepts(const SkScalar bounds[2], SkScalar scale, SkScalar xPos, in findIntercepts() argument 342 OffsetResults(match, scale, xPos, array, count); in findIntercepts() 402 OffsetResults(intercept, scale, xPos, array, count); in findIntercepts()
|
D | SkStrike.h | 89 void findIntercepts(const SkScalar bounds[2], SkScalar scale, SkScalar xPos, 190 SkScalar xPos, SkScalar* array, int* count);
|
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/ |
D | GlitchAndCallbackHeatMapView.java | 353 float xPos = startXPos + (((float) seconds / testDurationSeconds) * width); 358 xPos, textYPos, textPaint); 362 xPos, textYPos, textPaint); 365 canvas.drawLine(xPos, tickYPos, xPos, tickYPos - TICK_SIZE, linePaint);
|