HomeSort by relevance Sort by last modified time
    Searched refs:dY (Results 1 - 25 of 46) sorted by null

1 2

  /frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/
ItemTouchUIUtil.java 43 float dX, float dY, int actionState, boolean isCurrentlyActive);
50 float dX, float dY, int actionState, boolean isCurrentlyActive);
ItemTouchUIUtilImpl.java 34 float dX, float dY, int actionState, boolean isCurrentlyActive) {
44 super.onDraw(c, recyclerView, view, dX, dY, actionState, isCurrentlyActive);
89 float dX, float dY, int actionState, boolean isCurrentlyActive) {
91 ViewCompat.setTranslationY(view, dY);
96 View view, float dX, float dY, int actionState, boolean isCurrentlyActive) {
104 float dX, float dY) {
106 c.translate(dX, dY);
123 float dX, float dY, int actionState, boolean isCurrentlyActive) {
125 draw(c, recyclerView, view, dX, dY);
131 View view, float dX, float dY,
    [all...]
ItemTouchHelper.java 172 * Re-use array to calculate dx dy for a ViewHolder
522 float dx = 0, dy = 0; local
526 dy = mTmpPosition[1];
529 mRecoverAnimations, mActionState, dx, dy);
536 float dx = 0, dy = 0; local
540 dy = mTmpPosition[1];
543 mRecoverAnimations, mActionState, dx, dy);
802 final int dy = Math.abs(centerY - (other.getTop() + other.getBottom()) / 2); local
803 final int dist = dx * dx + dy * dy;
927 final float dy = MotionEventCompat.getY(motionEvent, pointerIndex) - mInitialTouchY; local
977 final float dy = y - mInitialTouchY; local
1774 final int dy = curY - selected.itemView.getTop(); local
    [all...]
  /packages/apps/DevCamera/src/com/android/devcamera/
NormalizedFace.java 34 public NormalizedFace(Face face, int dX, int dY, int offX, int offY) {
38 leftEye.y = (float) (face.getLeftEyePosition().y - offY) / dY;
43 rightEye.y = (float) (face.getRightEyePosition().y - offY) / dY;
48 mouth.y = (float) (face.getMouthPosition().y - offY) / dY;
53 bounds.top = (float) (face.getBounds().top - offY) / dY;
55 bounds.bottom = (float) (face.getBounds().bottom - offY) / dY;
PreviewOverlay.java 212 float dY = r1.width() * previewH;
214 float dP = (dX + dY) * 0.045f;
215 RectF newR1 = new RectF(newX - dX * 0.5f, newY - dY * 0.5f, newX + dX * 0.5f, newY + dY * 0.5f);
Api2Camera.java 724 int dY = mCameraInfoCache.activeAreaHeight() - 2 * offY;
734 newFaces[i] = new NormalizedFace(faces[i], dX, dY, offX, offY);
    [all...]
  /frameworks/av/media/libeffects/loudness/dsp/core/
interpolator_linear.h 66 T dY = y_data_[cached_index_ + 1] - y_data_[cached_index_];
68 return y_data_[cached_index_] + (dY * dx) / dX;
  /development/samples/Support7Demos/src/com/example/android/supportv7/widget/touch/
ItemTouchHelperActivity.java 132 float dX, float dY, int actionState, boolean isCurrentlyActive) {
134 dX, dY, actionState, isCurrentlyActive)) {
137 super.onChildDraw(c, recyclerView, viewHolder, dX, dY, actionState,
143 RecyclerView.ViewHolder viewHolder, float dX, float dY, int actionState,
146 dX, dY, actionState, isCurrentlyActive)) {
149 super.onChildDrawOver(c, recyclerView, viewHolder, dX, dY, actionState,
176 float dX, float dY, int actionState, boolean isCurrentlyActive) {
184 RecyclerView.ViewHolder viewHolder, float dX, float dY, int actionState,
SwipeToDismissActivity.java 128 RecyclerView.ViewHolder viewHolder, float dX, float dY, int actionState,
  /cts/tests/tests/renderscript/src/android/renderscript/cts/
AllocationCreateAllocationsTest.java 93 int dX = 64, dY = 64, numAlloc = 5;
94 Type t = Type.createXY(mRS, Element.U8_4(mRS), dX, dY);
103 byte[] dataIn = new byte[dX * dY * 4];
104 byte[] dataOut = new byte[dX * dY * 4];
111 for (int j=0; j<dX*dY*4; j++) {
  /packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
PhotoTouchListener.java 88 public void onFling(View target, float dX, float dY) {
92 log("fling " + dX + ", " + dY);
96 dY /= 60f;
103 final float v = (float) Math.hypot(dX, dY);
116 final float y1 = y0 + s * dY / v;
  /frameworks/base/graphics/java/android/graphics/drawable/
RippleForeground.java 336 final float dY = mStartingY - cY;
338 if (dX * dX + dY * dY > r * r) {
340 final double angle = Math.atan2(dY, dX);
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
CropObject.java 188 public boolean moveCurrentSelection(float dX, float dY) {
198 mBoundedRect.moveInner(dX, dY);
202 float dy = 0; local
208 dy = Math.min(crop.top + dY, crop.bottom - minWidthHeight) - crop.top;
215 dy = Math.max(crop.bottom + dY, crop.top + minWidthHeight)
234 dx, dy
239 dy = sp * bUnit[1];
240 RectF newCrop = fixedCornerResize(crop, movingEdges, dx, dy);
    [all...]
  /platform_testing/tests/functional/appsmoke/src/android/test/appsmoke/
AppSmokeTest.java 253 int dY = h / 4;
254 boolean ret = sDevice.swipe(w / 2, h / 2 + dY, w / 2, h / 2 - dY, 40);
  /external/pdfium/fpdfsdk/include/pdfwindow/
PWL_Utils.h 248 FX_FLOAT dY,
258 FX_FLOAT& dY,
272 FX_FLOAT dY,
278 FX_FLOAT& dY,
  /frameworks/base/services/accessibility/java/com/android/server/accessibility/
AccessibilityGestureDetector.java 269 final float dY = Math.abs(y - mPreviousGestureY);
270 if (dX >= TOUCH_TOLERANCE || dY >= TOUCH_TOLERANCE) {
  /packages/apps/Settings/src/com/android/settings/localepicker/
LocaleDragAndDropAdapter.java 113 RecyclerView.ViewHolder viewHolder, float dX, float dY,
116 super.onChildDraw(c, recyclerView, viewHolder, dX, dY,
  /frameworks/base/core/java/android/widget/
RadialTimePickerView.java     [all...]
TimePickerClockDelegate.java 877 final int dY = y - (child.getTop() + child.getHeight() / 2);
878 final int dist = dX * dX + dY * dY;
  /external/opencv3/3rdparty/openexr/IlmImf/
ImfTiledOutputFile.cpp 131 int dy; member in struct:Imf::__anon21118::TileCoord
139 dx (xTile), dy (yTile),
152 ((dy < other.dy) || (dy == other.dy && dx < other.dx)));
162 dy == other.dy;
339 b.dy++;
341 if (b.dy >= numYTiles[b.ly]
1408 int dy = _data->nextTileToWrite.dy; local
    [all...]
ImfTiledInputFile.cpp 140 int dy; member in struct:Imf::__anon21115::TileBuffer
164 dy (-1),
279 int dx, int dy,
296 Int64 tileOffset = ifd->tileOffsets (dx, dy, lx, ly);
300 THROW (Iex::InputExc, "Tile (" << dx << ", " << dy << ", " <<
324 if (tileYCoord != dy)
357 int &dx, int &dy,
371 Xdr::read <StreamIO> (*ifd->is, dy);
455 _tileBuffer->dy,
584 int dx, int dy,
    [all...]
  /development/cmds/monkey/src/com/android/commands/monkey/
MonkeySourceRandom.java 362 int dY = random.nextInt(10) - 5;
365 .addPointer(0, dX, dY)
  /external/opencv/cv/src/
cvmotempl.cpp 216 /* calc Dx and Dy */
236 float dY = dY_max_row.data.fl[x];
239 if( fabs(dX) < gradient_epsilon && fabs(dY) < gradient_epsilon )
  /frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
RadialPickerLayout.java 631 float dY = Math.abs(eventY - mDownY);
634 if (!mDoingMove && dX <= TOUCH_SLOP && dY <= TOUCH_SLOP) {
    [all...]
  /external/pdfium/fpdfsdk/src/pdfwindow/
PWL_Utils.cpp     [all...]

Completed in 951 milliseconds

1 2