/external/skia/gm/ |
D | stlouisarch.cpp | 37 SkScalar yPos = kHeight / 2 + 10; in onOnceBeforeDraw() local 38 degenBigQuad->moveTo(0, yPos); in onOnceBeforeDraw() 39 degenBigQuad->quadTo(0, yPos, kWidth, yPos); in onOnceBeforeDraw() 53 SkScalar yPos = kHeight / 2; in onOnceBeforeDraw() local 54 degenBigCubic->moveTo(0, yPos); in onOnceBeforeDraw() 55 degenBigCubic->cubicTo(0, yPos, in onOnceBeforeDraw() 56 0, yPos, in onOnceBeforeDraw() 57 kWidth, yPos); in onOnceBeforeDraw() 68 SkScalar yPos = kHeight / 2 - 10; in onOnceBeforeDraw() local 69 degenBigConic->moveTo(0, yPos); in onOnceBeforeDraw() [all …]
|
D | pathopsinverse.cpp | 70 int yPos = 0; in onDraw() local 84 canvas->translate(0, SkIntToScalar(yPos)); in onDraw() 96 canvas->translate(SkIntToScalar(xPos), SkIntToScalar(yPos)); in onDraw() 103 yPos += 150; in onDraw()
|
/external/skqp/gm/ |
D | stlouisarch.cpp | 33 SkScalar yPos = kHeight / 2 + 10; in onOnceBeforeDraw() local 34 degenBigQuad->moveTo(0, yPos); in onOnceBeforeDraw() 35 degenBigQuad->quadTo(0, yPos, kWidth, yPos); in onOnceBeforeDraw() 49 SkScalar yPos = kHeight / 2; in onOnceBeforeDraw() local 50 degenBigCubic->moveTo(0, yPos); in onOnceBeforeDraw() 51 degenBigCubic->cubicTo(0, yPos, in onOnceBeforeDraw() 52 0, yPos, in onOnceBeforeDraw() 53 kWidth, yPos); in onOnceBeforeDraw() 64 SkScalar yPos = kHeight / 2 - 10; in onOnceBeforeDraw() local 65 degenBigConic->moveTo(0, yPos); in onOnceBeforeDraw() [all …]
|
D | lightingshader2.cpp | 159 SkScalar yPos = (gridNum / kGridColumnNum) * kGridCellWidth; in onDraw() local 163 canvas->translate(xPos, yPos); in onDraw() 205 SkScalar yPos = (gridNum / kGridColumnNum) * kGridCellWidth; in onDraw() local 208 canvas->translate(xPos, yPos); in onDraw() 218 SkScalar yPos = (gridNum / kGridColumnNum) * kGridCellWidth; in onDraw() local 221 canvas->translate(xPos, yPos); in onDraw() 231 SkScalar yPos = (gridNum / kGridColumnNum) * kGridCellWidth; in onDraw() local 234 canvas->translate(xPos, yPos); in onDraw() 244 SkScalar yPos = (gridNum / kGridColumnNum) * kGridCellWidth; in onDraw() local 247 canvas->translate(xPos, yPos); in onDraw()
|
D | pathopsinverse.cpp | 64 int yPos = 0; in onDraw() local 78 canvas->translate(0, SkIntToScalar(yPos)); in onDraw() 90 canvas->translate(SkIntToScalar(xPos), SkIntToScalar(yPos)); in onDraw() 97 yPos += 150; in onDraw()
|
D | multipicturedraw.cpp | 66 SkScalar xPos, yPos = 0; in make_hex_plane_picture() local 73 canvas->translate(xPos, yPos + ((x % 2) ? kRoot3Over2 * kHexSide : 0)); in make_hex_plane_picture() 81 yPos += 2 * kHexSide * kRoot3Over2; in make_hex_plane_picture() 116 SkScalar xPos = 0.0f, yPos = 0.0f; in make_single_layer_hex_plane_picture() local 118 for (int y = 0; yPos < kBig; ++y) { in make_single_layer_hex_plane_picture() 123 canvas->translate(xPos, yPos + ((x % 2) ? kRoot3Over2 * kHexSide : 0)); in make_single_layer_hex_plane_picture() 134 yPos += 2 * kHexSide * kRoot3Over2; in make_single_layer_hex_plane_picture()
|
/external/skqp/docs/ |
D | illustrations.bmh | 22 auto drawBoxText = [=](SkScalar e[], const char* s[], int count, int n, SkScalar yPos) -> void { 33 …SkTextUtils::DrawString(canvas, n >= 10 ? num : &num[1], xPos, yPos - 5, font, p, SkTextUtils::kCe… 41 …SkTextUtils::DrawString(canvas, s[i], 5 + (e[i] + e[i + 1]) * 10, yPos + 10, font, p, SkTextUtils:… 45 canvas->drawLine(5 + e[i] * 20, yPos, 5 + e[i] * 20, yPos + 15, p); 48 canvas->drawLine(5 + e[0] * 20, yPos + i * 15, 5 + e[count] * 20, yPos + i * 15, p); 79 auto drawBoxText = [=](SkScalar e[], const char* s[], int count, int n, SkScalar yPos) -> void { 90 …SkTextUtils::DrawString(canvas, n >= 10 ? num : &num[1], xPos, yPos - 5, font, p, SkTextUtils::kCe… 98 …SkTextUtils::DrawString(canvas, s[i], 5 + (e[i] + e[i + 1]) * 10, yPos + 10, font, p, SkTextUtils:… 102 canvas->drawLine(5 + e[i] * 20, yPos, 5 + e[i] * 20, yPos + 15, p); 105 canvas->drawLine(5 + e[0] * 20, yPos + i * 15, 5 + e[count] * 20, yPos + i * 15, p); [all …]
|
/external/skia/samplecode/ |
D | SampleShadowReference.cpp | 124 SkScalar yPos = 254.25f; in onDrawContent() local 131 canvas->translate(xPos, yPos); in onDrawContent() 142 canvas->translate(xPos, yPos); in onDrawContent() 153 canvas->translate(xPos, yPos); in onDrawContent() 164 canvas->translate(xPos, yPos); in onDrawContent() 175 canvas->translate(xPos, yPos); in onDrawContent() 186 canvas->translate(xPos, yPos); in onDrawContent()
|
D | SampleShadowColor.cpp | 200 SkScalar yPos = 75; in onDrawContent() local 209 canvas->translate(xPos, yPos); in onDrawContent() 219 yPos += 200; in onDrawContent()
|
D | SampleShip.cpp | 69 float yPos = (y / (kGrid - 1.0f)) * kWidth; in DrawShipView() local 75 xPos, yPos, anchorX, anchorY); in DrawShipView()
|
/external/skqp/samplecode/ |
D | SampleShadowReference.cpp | 130 SkScalar yPos = 254.25f; in onDrawContent() local 137 canvas->translate(xPos, yPos); in onDrawContent() 148 canvas->translate(xPos, yPos); in onDrawContent() 159 canvas->translate(xPos, yPos); in onDrawContent() 170 canvas->translate(xPos, yPos); in onDrawContent() 181 canvas->translate(xPos, yPos); in onDrawContent() 192 canvas->translate(xPos, yPos); in onDrawContent()
|
D | SampleShadowColor.cpp | 205 SkScalar yPos = 75; in onDrawContent() local 214 canvas->translate(xPos, yPos); in onDrawContent() 224 yPos += 200; in onDrawContent()
|
D | SampleShip.cpp | 68 float yPos = (y / (kGrid - 1.0f)) * kWidth; in DrawShipView() local 74 xPos, yPos, anchorX, anchorY); in DrawShipView()
|
/external/skia/docs/examples/ |
D | Canvas_drawText.cpp | 16 float yPos = 20; in draw() local 22 canvas->drawString("Aa", 10 / scale, yPos / scale, font, paint); in draw() 23 yPos += size * 2; in draw()
|
D | pathops.cpp | 41 int yPos = 0; in draw() local 60 canvas->translate(0, SkIntToScalar(yPos)); in draw() 72 canvas->translate(SkIntToScalar(xPos), SkIntToScalar(yPos)); in draw() 79 yPos += 150; in draw()
|
/external/webrtc/sdk/android/api/org/webrtc/ |
D | YuvConverter.java | 209 final int yPos = 0; in convert() local 210 final int uPos = yPos + stride * frameHeight; in convert() 214 i420ByteBuffer.position(yPos); in convert() 215 i420ByteBuffer.limit(yPos + stride * frameHeight); in convert()
|
D | JavaI420Buffer.java | 82 int yPos = 0; in allocate() local 83 int uPos = yPos + width * height; in allocate() 89 buffer.position(yPos); in allocate()
|
/external/lzma/CPP/7zip/UI/FileManager/ |
D | ProgressDialog2.cpp | 462 int yPos = ySize - my - _buttonSizeY; in OnSize() local 488 int ySize2 = yPos - my - y; in OnSize() 504 MoveItem(IDCANCEL, xPos, yPos, bSizeX, _buttonSizeY); in OnSize() 506 MoveItem(IDB_PAUSE, xPos, yPos, bSizeX, _buttonSizeY); in OnSize() 508 MoveItem(IDB_PROGRESS_BACKGROUND, xPos, yPos, bSizeX, _buttonSizeY); in OnSize() 538 yPos = my; in OnSize() 546 yPos = my; in OnSize() 549 MoveItem(kIDs[i], x, yPos, labelSize, sY); in OnSize() 550 MoveItem(kIDs[i + 1], x + labelSize, yPos, valueSize, sY); in OnSize() 551 yPos += sStep; in OnSize()
|
/external/skqp/tools/sk_app/win/ |
D | Window_win.cpp | 265 int yPos = GET_Y_LPARAM(lParam); in WndProc() local 278 eventHandled = window->onMouse(xPos, yPos, istate, in WndProc() 284 int yPos = GET_Y_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 | 267 int yPos = GET_Y_LPARAM(lParam); in WndProc() local 280 eventHandled = window->onMouse(xPos, yPos, istate, in WndProc() 286 int yPos = GET_Y_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 | 196 final float yPos = (y + expit(output[offset + 1])) * blockSize; in recognizeImage() local 204 Math.max(0, yPos - h / 2), in recognizeImage() 206 Math.min(bitmap.getHeight() - 1, yPos + h / 2)); in recognizeImage()
|
/external/skqp/src/gpu/text/ |
D | GrTextContext.cpp | 243 int yPos = (random->nextU() % 2) * 2 - 1; in GR_DRAW_OP_TEST_DEFINE() local 245 int yInt = (random->nextU() % kMaxTrans) * yPos; in GR_DRAW_OP_TEST_DEFINE()
|
/external/llvm-project/llvm/test/CodeGen/AMDGPU/ |
D | sgprcopies.ll | 6 …mBranch(i32 addrspace(1)* nocapture %out, i32 %width, float %xPos, float %yPos, float %xStep, floa… 14 %y = tail call float @llvm.fmuladd.f32(float %yStep, float %conv2, float %yPos)
|
/external/webrtc/sdk/android/src/java/org/webrtc/ |
D | AndroidVideoDecoder.java | 537 final int yPos = 0; 538 final int yEnd = yPos + stride * height; 539 final int uPos = yPos + stride * sliceHeight; 547 buffer.position(yPos);
|
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/ |
D | GlitchAndCallbackHeatMapView.java | 325 float yPos = legendArea.bottom - (((float) i / maxValue) * legendArea.height()); 327 yPos + LABEL_SIZE / 2, textPaint); 328 canvas.drawLine(legendArea.right, yPos, legendArea.right - TICK_SIZE, yPos,
|