/external/skia/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/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/pdfium/core/fpdfapi/page/ |
D | cpdf_page.cpp | 125 int yPos, in GetDisplayMatrix() argument 142 y0 = yPos + ySize; in GetDisplayMatrix() 144 y1 = yPos; in GetDisplayMatrix() 146 y2 = yPos + ySize; in GetDisplayMatrix() 150 y0 = yPos; in GetDisplayMatrix() 152 y1 = yPos; in GetDisplayMatrix() 154 y2 = yPos + ySize; in GetDisplayMatrix() 158 y0 = yPos; in GetDisplayMatrix() 160 y1 = yPos + ySize; in GetDisplayMatrix() 162 y2 = yPos; in GetDisplayMatrix() [all …]
|
/external/skia/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/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/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()
|
/external/skia/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/swiftshader/third_party/PowerVR_SDK/Tools/ |
D | PVRTDecompress.cpp | 367 …Values[16][8],PVRTint32 i32ModulationModes[16][8],PVRTuint32 xPos,PVRTuint32 yPos,PVRTuint8 ui8Bpp) in getModulationValues() argument 374 if(i32ModulationModes[xPos][yPos]==0) in getModulationValues() 376 return RepVals0[i32ModulationValues[xPos][yPos]]; in getModulationValues() 381 if(((xPos^yPos)&1)==0) in getModulationValues() 383 return RepVals0[i32ModulationValues[xPos][yPos]]; in getModulationValues() 388 else if(i32ModulationModes[xPos][yPos] == 1) in getModulationValues() 390 return (RepVals0[i32ModulationValues[xPos][yPos-1]] + in getModulationValues() 391 RepVals0[i32ModulationValues[xPos][yPos+1]] + in getModulationValues() 392 RepVals0[i32ModulationValues[xPos-1][yPos]] + in getModulationValues() 393 RepVals0[i32ModulationValues[xPos+1][yPos]] + 2) / 4; in getModulationValues() [all …]
|
/external/pdfium/fpdfsdk/fpdfxfa/ |
D | cpdfxfa_page.cpp | 168 int yPos, in GetDisplayMatrix() argument 180 return m_pPDFPage->GetDisplayMatrix(xPos, yPos, xSize, ySize, iRotate); in GetDisplayMatrix() 184 CFX_Rect(xPos, yPos, xSize, ySize), iRotate); in GetDisplayMatrix()
|
/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 | 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/tensorflow/tensorflow/examples/android/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/swiftshader/third_party/llvm-7.0/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/skia/src/gpu/text/ |
D | GrTextContext.cpp | 260 int yPos = (random->nextU() % 2) * 2 - 1; in GR_DRAW_OP_TEST_DEFINE() local 262 int yInt = (random->nextU() % kMaxTrans) * yPos; in GR_DRAW_OP_TEST_DEFINE()
|