/external/skia/gm/ |
pathopsinverse.cpp | 85 int xPos = 150; 90 canvas->translate(SkIntToScalar(xPos), SkIntToScalar(yPos)); 95 xPos += 150;
|
lightingshader2.cpp | 160 SkScalar xPos = (gridNum % GRID_COLUMN_NUM) * GRID_CELL_WIDTH; 165 canvas->translate(xPos, yPos); 206 SkScalar xPos = (gridNum % GRID_COLUMN_NUM) * GRID_CELL_WIDTH; 210 canvas->translate(xPos, yPos); 219 SkScalar xPos = (gridNum % GRID_COLUMN_NUM) * GRID_CELL_WIDTH; 223 canvas->translate(xPos, yPos); 232 SkScalar xPos = (gridNum % GRID_COLUMN_NUM) * GRID_CELL_WIDTH; 236 canvas->translate(xPos, yPos); 245 SkScalar xPos = (gridNum % GRID_COLUMN_NUM) * GRID_CELL_WIDTH; 249 canvas->translate(xPos, yPos) [all...] |
multipicturedraw.cpp | 66 SkScalar xPos, yPos = 0; 69 xPos = 0; 73 canvas->translate(xPos, yPos + ((x % 2) ? kRoot3Over2 * kHexSide : 0)); 78 xPos += 1.5f * kHexSide; 116 SkScalar xPos = 0.0f, yPos = 0.0f; 119 xPos = 0; 121 for (int x = 0; xPos < kBig; ++x) { 123 canvas->translate(xPos, yPos + ((x % 2) ? kRoot3Over2 * kHexSide : 0)); 131 xPos += 1.5f * kHexSide;
|
/external/skia/samplecode/ |
SampleShadowReference.cpp | 128 SkScalar xPos = 230; 136 canvas->translate(xPos, yPos); 142 xPos += 320; 147 canvas->translate(xPos, yPos); 153 xPos += 320; 158 canvas->translate(xPos, yPos); 164 xPos += 320; 169 canvas->translate(xPos, yPos); 175 xPos += 320; 180 canvas->translate(xPos, yPos) [all...] |
SampleShadowColor.cpp | 197 SkScalar xPos = 75; 202 canvas->translate(xPos, yPos); 208 xPos += 120;
|
SampleShip.cpp | 67 float xPos = (x / (kGrid - 1.0f)) * kWidth; 74 xPos, yPos, anchorX, anchorY);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/setup/ |
SetupStepIndicatorView.java | 53 final int xPos = (int)(getWidth() * mXRatio); 56 mIndicatorPath.moveTo(xPos, 0); 57 mIndicatorPath.lineTo(xPos + height, height); 58 mIndicatorPath.lineTo(xPos - height, height);
|
/external/skia/experimental/GLFWTest/ |
glfw_main.cpp | 102 float xPos = (x / (kGrid - 1.0)) * kWidth; 107 xPos, yPos, anchorX, anchorY);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
KeyboardShortcutKeysLayout.java | 50 int xPos = getPaddingLeft(); 70 if (xPos + childWidth > width) { 71 xPos = getPaddingLeft(); 74 xPos += childWidth + layoutParams.mHorizontalSpacing; 110 int xPos = isRTL() 126 ? xPos - getPaddingLeft() - currentChildWidth < 0 127 : xPos + currentChildWidth > fullRowWidth; 131 layoutChildrenOnRow(rowStartIdx, i, fullRowWidth, xPos, yPos, 134 xPos = isRTL() 141 xPos = isRTL( [all...] |
/external/skia/src/gpu/text/ |
GrAtlasTextContext.cpp | 374 int xPos = (random->nextU() % 2) * 2 - 1; 376 int xInt = (random->nextU() % kMaxTrans) * xPos;
|
/external/skia/tools/viewer/sk_app/win/ |
Window_win.cpp | 262 int xPos = GET_X_LPARAM(lParam); 269 // xPos -= rc.left; 276 eventHandled = window->onMouse(xPos, yPos, istate, 281 int xPos = GET_X_LPARAM(lParam); 288 // xPos -= rc.left; 292 eventHandled = window->onMouse(xPos, yPos, Window::kMove_InputState,
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
FocusLogic.java | 332 int xPos = -1; 338 xPos = i; 345 xPos, yPos, iconIdx)); 349 for (int x = xPos + increment; 0 <= x && x < cntX; x += increment) { 366 x = xPos + increment * coeff; 415 int xPos = -1; 421 xPos = i; 429 xPos, yPos, iconIndex)); 434 if ((newIconIndex = inspectMatrix(xPos, y, cntX, cntY, matrix)) != NOOP 440 // Rule2: check (xPos + increment, y_(1-n)), (xPos - increment, y_(1-n) [all...] |
/external/dng_sdk/source/ |
dng_resample.cpp | 403 real64 xPos = xInt - xFract; 410 real64 dx2 = xPos * xPos; 420 w32 [index] = (real32) kernel.Evaluate (xPos) *
|
/external/webrtc/webrtc/modules/audio_processing/aec/ |
aec_core_mips.c | 333 int xPos = (i + x_fft_buf_block_pos) * PART_LEN1; 337 xPos -= num_partitions * (PART_LEN1); 341 float* aRe = x_fft_buf[0] + xPos; 342 float* aIm = x_fft_buf[1] + xPos; 451 int xPos = (i + x_fft_buf_block_pos)*(PART_LEN1); 455 xPos -= num_partitions * PART_LEN1; 459 float* aRe = x_fft_buf[0] + xPos; 460 float* aIm = x_fft_buf[1] + xPos; [all...] |
aec_core.c | 165 int xPos = (i + x_fft_buf_block_pos) * PART_LEN1; 169 xPos -= num_partitions * (PART_LEN1); 173 y_fft[0][j] += MulRe(x_fft_buf[0][xPos + j], 174 x_fft_buf[1][xPos + j], 177 y_fft[1][j] += MulIm(x_fft_buf[0][xPos + j], 178 x_fft_buf[1][xPos + j], 223 int xPos = (i + x_fft_buf_block_pos) * (PART_LEN1); 227 xPos -= num_partitions * PART_LEN1; 234 fft[2 * j] = MulRe(x_fft_buf[0][xPos + j], 235 -x_fft_buf[1][xPos + j] [all...] |
aec_core_neon.c | 46 int xPos = (i + x_fft_buf_block_pos) * PART_LEN1; 50 xPos -= num_partitions * PART_LEN1; 55 const float32x4_t x_fft_buf_re = vld1q_f32(&x_fft_buf[0][xPos + j]); 56 const float32x4_t x_fft_buf_im = vld1q_f32(&x_fft_buf[1][xPos + j]); 72 y_fft[0][j] += MulRe(x_fft_buf[0][xPos + j], 73 x_fft_buf[1][xPos + j], 76 y_fft[1][j] += MulIm(x_fft_buf[0][xPos + j], 77 x_fft_buf[1][xPos + j], 198 int xPos = (i + x_fft_buf_block_pos) * PART_LEN1; 203 xPos -= num_partitions * PART_LEN1 [all...] |
aec_core_sse2.c | 42 int xPos = (i + x_fft_buf_block_pos) * PART_LEN1; 46 xPos -= num_partitions * (PART_LEN1); 51 const __m128 x_fft_buf_re = _mm_loadu_ps(&x_fft_buf[0][xPos + j]); 52 const __m128 x_fft_buf_im = _mm_loadu_ps(&x_fft_buf[1][xPos + j]); 70 y_fft[0][j] += MulRe(x_fft_buf[0][xPos + j], 71 x_fft_buf[1][xPos + j], 74 y_fft[1][j] += MulIm(x_fft_buf[0][xPos + j], 75 x_fft_buf[1][xPos + j], 160 int xPos = (i + x_fft_buf_block_pos) * (PART_LEN1); 164 xPos -= num_partitions * PART_LEN1 [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
DimLayer.java | 215 final float xPos, yPos; 223 xPos = -1 * dw / 6; 225 outBounds.set((int) xPos, (int) yPos, (int) xPos + dw, (int) yPos + dh);
|
/frameworks/native/services/surfaceflinger/tests/hwc2/ |
Hwc2TestBuffer.cpp | 541 float xPos = x; 555 xPos = xPos - dfL - dfW / 2.0; 560 xPos = -xPos; 572 float tmp = xPos; 573 xPos = -yPos * dfW / dfH; 579 xPos = xPos + dfL + dfW / 2.0; 643 if (xPos < ((bWDiv3) - scL) * (dfWDivScW) + dfL) [all...] |
/packages/apps/Gallery/src/com/android/camera/ |
GalleryPicker.java | 627 int xPos = (col * (imageWidth + widthPadding)) - offsetX; 630 c.drawBitmap(image, xPos, yPos, paint);
|
GridViewSpecial.java | 68 Bitmap b, int xPos, int yPos, int w, int h); 70 int xPos, int yPos, int w, int h); 672 int xPos = mSpec.mLeftEdgePadding; 678 mDrawAdapter.drawDecoration(canvas, image, xPos, yPos, 684 xPos = mSpec.mLeftEdgePadding; 688 xPos += mSpec.mCellWidth + mSpec.mCellSpacing; 701 int xPos = leftSpacing + (col * (mSpec.mCellWidth + spacing)); 708 canvas.drawBitmap(mOutline[type], xPos, yTop, null); 933 private void drawEmptyBlock(Canvas canvas, int xPos, int yPos, int row) { 935 canvas.drawRect(xPos, yPos, xPos + mBlockWidth, yPos + mBlockHeight [all...] |
/external/lzma/CPP/7zip/UI/FileManager/ |
ProgressDialog2.cpp | 499 int xPos = xSize - mx;
500 xPos -= bSizeX;
501 MoveItem(IDCANCEL, xPos, yPos, bSizeX, _buttonSizeY);
502 xPos -= (mx2 + bSizeX);
503 MoveItem(IDB_PAUSE, xPos, yPos, bSizeX, _buttonSizeY);
504 xPos -= (mx2 + bSizeX);
505 MoveItem(IDB_PROGRESS_BACKGROUND, xPos, yPos, bSizeX, _buttonSizeY);
|
/hardware/qcom/display/msm8084/libhwcomposer/ |
hwc_utils.cpp | 471 int xPos = 0; 500 xPos = rect.left; 511 outPos.x = uint32_t((xRatio * width) + (float)xPos); 527 xRatio = (float)(outPos.x - xPos)/width; 532 xPos = r.left; [all...] |
/hardware/qcom/display/msm8226/libhwcomposer/ |
hwc_utils.cpp | 458 int xPos = 0; 487 xPos = rect.left; 498 outPos.x = uint32_t((xRatio * width) + (float)xPos); 514 xRatio = (float)(outPos.x - xPos)/width; 519 xPos = r.left; [all...] |
/hardware/qcom/display/msm8909/libhwcomposer/ |
hwc_utils.cpp | 686 int xPos = 0; 715 xPos = rect.left; 726 outPos.x = uint32_t((xRatio * width) + (float)xPos); 742 xRatio = (float)(outPos.x - xPos)/width; 747 xPos = r.left; [all...] |