Home
last modified time | relevance | path

Searched refs:xPos (Results 1 – 25 of 36) sorted by relevance

12

/external/pdfium/core/fpdfapi/page/
Dcpdf_page.cpp124 CFX_Matrix CPDF_Page::GetDisplayMatrix(int xPos, in GetDisplayMatrix() argument
141 x0 = xPos; in GetDisplayMatrix()
143 x1 = xPos; in GetDisplayMatrix()
145 x2 = xPos + xSize; in GetDisplayMatrix()
149 x0 = xPos; in GetDisplayMatrix()
151 x1 = xPos + xSize; in GetDisplayMatrix()
153 x2 = xPos; in GetDisplayMatrix()
157 x0 = xPos + xSize; in GetDisplayMatrix()
159 x1 = xPos + xSize; in GetDisplayMatrix()
161 x2 = xPos; in GetDisplayMatrix()
[all …]
/external/skqp/samplecode/
DSampleShadowReference.cpp127 SkScalar xPos = 230; in onDrawContent() local
135 canvas->translate(xPos, yPos); in onDrawContent()
141 xPos += 320; in onDrawContent()
146 canvas->translate(xPos, yPos); in onDrawContent()
152 xPos += 320; in onDrawContent()
157 canvas->translate(xPos, yPos); in onDrawContent()
163 xPos += 320; in onDrawContent()
168 canvas->translate(xPos, yPos); in onDrawContent()
174 xPos += 320; in onDrawContent()
179 canvas->translate(xPos, yPos); in onDrawContent()
[all …]
DSampleShadowColor.cpp196 SkScalar xPos = 75; in onDrawContent() local
201 canvas->translate(xPos, yPos); in onDrawContent()
207 xPos += 120; in onDrawContent()
/external/skia/samplecode/
DSampleShadowReference.cpp130 SkScalar xPos = 230; in onDrawContent() local
138 canvas->translate(xPos, yPos); in onDrawContent()
144 xPos += 320; in onDrawContent()
149 canvas->translate(xPos, yPos); in onDrawContent()
155 xPos += 320; in onDrawContent()
160 canvas->translate(xPos, yPos); in onDrawContent()
166 xPos += 320; in onDrawContent()
171 canvas->translate(xPos, yPos); in onDrawContent()
177 xPos += 320; in onDrawContent()
182 canvas->translate(xPos, yPos); in onDrawContent()
[all …]
DSampleShadowColor.cpp208 SkScalar xPos = 75; in onDrawContent() local
213 canvas->translate(xPos, yPos); in onDrawContent()
219 xPos += 120; in onDrawContent()
/external/skia/docs/
Dillustrations.bmh20 SkScalar xPos = 15;
28 canvas->drawString(n >= 10 ? num : &num[1], xPos, yPos - 5, p);
32 xPos += 20;
72 SkScalar xPos = 15;
80 canvas->drawString(n >= 10 ? num : &num[1], xPos, yPos - 5, p);
84 xPos += 20;
122 SkScalar xPos = 15;
130 canvas->drawString(n >= 10 ? num : &num[1], xPos, yPos - 5, p);
134 xPos += 20;
174 SkScalar xPos = 15;
[all …]
/external/swiftshader/third_party/PowerVR_SDK/Tools/
DPVRTDecompress.cpp367 …i32ModulationValues[16][8],PVRTint32 i32ModulationModes[16][8],PVRTuint32 xPos,PVRTuint32 yPos,PVR… 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/webrtc/webrtc/modules/audio_processing/aec/
Daec_core_mips.c333 int xPos = (i + x_fft_buf_block_pos) * PART_LEN1; in WebRtcAec_FilterFar_mips() local
337 xPos -= num_partitions * (PART_LEN1); in WebRtcAec_FilterFar_mips()
341 float* aRe = x_fft_buf[0] + xPos; in WebRtcAec_FilterFar_mips()
342 float* aIm = x_fft_buf[1] + xPos; in WebRtcAec_FilterFar_mips()
451 int xPos = (i + x_fft_buf_block_pos)*(PART_LEN1); in WebRtcAec_FilterAdaptation_mips() local
455 xPos -= num_partitions * PART_LEN1; in WebRtcAec_FilterAdaptation_mips()
459 float* aRe = x_fft_buf[0] + xPos; in WebRtcAec_FilterAdaptation_mips()
460 float* aIm = x_fft_buf[1] + xPos; in WebRtcAec_FilterAdaptation_mips()
Daec_core_neon.c46 int xPos = (i + x_fft_buf_block_pos) * PART_LEN1; in FilterFarNEON() local
50 xPos -= num_partitions * PART_LEN1; in FilterFarNEON()
55 const float32x4_t x_fft_buf_re = vld1q_f32(&x_fft_buf[0][xPos + j]); in FilterFarNEON()
56 const float32x4_t x_fft_buf_im = vld1q_f32(&x_fft_buf[1][xPos + j]); in FilterFarNEON()
72 y_fft[0][j] += MulRe(x_fft_buf[0][xPos + j], in FilterFarNEON()
73 x_fft_buf[1][xPos + j], in FilterFarNEON()
76 y_fft[1][j] += MulIm(x_fft_buf[0][xPos + j], in FilterFarNEON()
77 x_fft_buf[1][xPos + j], in FilterFarNEON()
198 int xPos = (i + x_fft_buf_block_pos) * PART_LEN1; in FilterAdaptationNEON() local
203 xPos -= num_partitions * PART_LEN1; in FilterAdaptationNEON()
[all …]
Daec_core_sse2.c42 int xPos = (i + x_fft_buf_block_pos) * PART_LEN1; in FilterFarSSE2() local
46 xPos -= num_partitions * (PART_LEN1); in FilterFarSSE2()
51 const __m128 x_fft_buf_re = _mm_loadu_ps(&x_fft_buf[0][xPos + j]); in FilterFarSSE2()
52 const __m128 x_fft_buf_im = _mm_loadu_ps(&x_fft_buf[1][xPos + j]); in FilterFarSSE2()
70 y_fft[0][j] += MulRe(x_fft_buf[0][xPos + j], in FilterFarSSE2()
71 x_fft_buf[1][xPos + j], in FilterFarSSE2()
74 y_fft[1][j] += MulIm(x_fft_buf[0][xPos + j], in FilterFarSSE2()
75 x_fft_buf[1][xPos + j], in FilterFarSSE2()
160 int xPos = (i + x_fft_buf_block_pos) * (PART_LEN1); in FilterAdaptationSSE2() local
164 xPos -= num_partitions * PART_LEN1; in FilterAdaptationSSE2()
[all …]
Daec_core.c165 int xPos = (i + x_fft_buf_block_pos) * PART_LEN1; in FilterFar() local
169 xPos -= num_partitions * (PART_LEN1); in FilterFar()
173 y_fft[0][j] += MulRe(x_fft_buf[0][xPos + j], in FilterFar()
174 x_fft_buf[1][xPos + j], in FilterFar()
177 y_fft[1][j] += MulIm(x_fft_buf[0][xPos + j], in FilterFar()
178 x_fft_buf[1][xPos + j], in FilterFar()
223 int xPos = (i + x_fft_buf_block_pos) * (PART_LEN1); in FilterAdaptation() local
227 xPos -= num_partitions * PART_LEN1; in FilterAdaptation()
234 fft[2 * j] = MulRe(x_fft_buf[0][xPos + j], in FilterAdaptation()
235 -x_fft_buf[1][xPos + j], in FilterAdaptation()
[all …]
/external/skqp/gm/
Dtonalshadows.cpp55 SkScalar xPos = 75; in draw_content() local
60 canvas->translate(xPos, yPos); in draw_content()
68 xPos += 120; in draw_content()
Dmultipicturedraw.cpp66 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()
Dpathopsinverse.cpp85 int xPos = 150; in onDraw() local
90 canvas->translate(SkIntToScalar(xPos), SkIntToScalar(yPos)); in onDraw()
95 xPos += 150; in onDraw()
/external/skia/gm/
Dtonalshadows.cpp55 SkScalar xPos = 75; in draw_content() local
61 canvas->translate(xPos, yPos); in draw_content()
77 xPos += 120; in draw_content()
Dmultipicturedraw.cpp66 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()
Dpathopsinverse.cpp85 int xPos = 150; in onDraw() local
90 canvas->translate(SkIntToScalar(xPos), SkIntToScalar(yPos)); in onDraw()
95 xPos += 150; in onDraw()
/external/pdfium/fpdfsdk/fpdfxfa/
Dcpdfxfa_page.cpp167 CFX_Matrix CPDFXFA_Page::GetDisplayMatrix(int xPos, 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/skia/tools/sk_app/win/
DWindow_win.cpp262 int xPos = GET_X_LPARAM(lParam); in WndProc() local
276 eventHandled = window->onMouse(xPos, yPos, istate, in WndProc()
281 int xPos = GET_X_LPARAM(lParam); in WndProc() local
292 eventHandled = window->onMouse(xPos, yPos, Window::kMove_InputState, in WndProc()
/external/skqp/tools/sk_app/win/
DWindow_win.cpp262 int xPos = GET_X_LPARAM(lParam); in WndProc() local
276 eventHandled = window->onMouse(xPos, yPos, istate, in WndProc()
281 int xPos = GET_X_LPARAM(lParam); in WndProc() local
292 eventHandled = window->onMouse(xPos, yPos, Window::kMove_InputState, in WndProc()
/external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/
DTensorFlowYoloDetector.java195 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/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/raw/
DNat.java830 public static int squareWordAdd(int[] x, int xPos, int[] z) in squareWordAdd() argument
832 long c = 0, xVal = x[xPos] & M; in squareWordAdd()
836 c += xVal * (x[i] & M) + (z[xPos + i] & M); in squareWordAdd()
837 z[xPos + i] = (int)c; in squareWordAdd()
840 while (++i < xPos); in squareWordAdd()
844 public static int squareWordAdd(int[] x, int xOff, int xPos, int[] z, int zOff) in squareWordAdd() argument
846 long c = 0, xVal = x[xOff + xPos] & M; in squareWordAdd()
850 c += xVal * (x[xOff + i] & M) + (z[xPos + zOff] & M); in squareWordAdd()
851 z[xPos + zOff] = (int)c; in squareWordAdd()
855 while (++i < xPos); in squareWordAdd()
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DGlitchAndCallbackHeatMapView.java353 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);
/external/lzma/CPP/7zip/UI/FileManager/
DProgressDialog2.cpp499 int xPos = xSize - mx; in OnSize() local
500 xPos -= bSizeX; in OnSize()
501 MoveItem(IDCANCEL, xPos, yPos, bSizeX, _buttonSizeY); in OnSize()
502 xPos -= (mx2 + bSizeX); in OnSize()
503 MoveItem(IDB_PAUSE, xPos, yPos, bSizeX, _buttonSizeY); in OnSize()
504 xPos -= (mx2 + bSizeX); in OnSize()
505 MoveItem(IDB_PROGRESS_BACKGROUND, xPos, yPos, bSizeX, _buttonSizeY); in OnSize()
/external/skqp/experimental/GLFWTest/
Dglfw_main.cpp110 float xPos = (x / (kGrid - 1.0)) * kWidth; in main() local
115 xPos, yPos, anchorX, anchorY); in main()

12