/frameworks/base/core/java/com/android/internal/widget/helper/ |
ItemTouchUIUtil.java | 44 float dX, float dY, int actionState, boolean isCurrentlyActive); 51 float dX, float dY, int actionState, boolean isCurrentlyActive);
|
ItemTouchUIUtilImpl.java | 32 float dX, float dY, int actionState, boolean isCurrentlyActive) { 44 view.setTranslationX(dX); 82 View view, float dX, float dY, int actionState, boolean isCurrentlyActive) {
|
ItemTouchHelper.java | 167 * Re-use array to calculate dx dy for a ViewHolder 515 float dx = 0, dy = 0; local 518 dx = mTmpPosition[0]; 522 mRecoverAnimations, mActionState, dx, dy); 529 float dx = 0, dy = 0; local 532 dx = mTmpPosition[0]; 536 mRecoverAnimations, mActionState, dx, dy); 794 final int dx = Math.abs(centerX - (other.getLeft() + other.getRight()) / 2); local 796 final int dist = dx * dx + dy * dy 919 final float dx = motionEvent.getX(pointerIndex) - mInitialTouchX; local 969 final float dx = x - mInitialTouchX; local 1754 final int dx = curX - selected.itemView.getLeft(); local [all...] |
/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 | 33 float dX, float dY, int actionState, boolean isCurrentlyActive) { 43 super.onDraw(c, recyclerView, view, dX, dY, actionState, isCurrentlyActive); 88 float dX, float dY, int actionState, boolean isCurrentlyActive) { 89 view.setTranslationX(dX); 95 View view, float dX, float dY, int actionState, boolean isCurrentlyActive) {
|
ItemTouchHelper.java | 165 * Re-use array to calculate dx dy for a ViewHolder 513 float dx = 0, dy = 0; local 516 dx = mTmpPosition[0]; 520 mRecoverAnimations, mActionState, dx, dy); 527 float dx = 0, dy = 0; local 530 dx = mTmpPosition[0]; 534 mRecoverAnimations, mActionState, dx, dy); 792 final int dx = Math.abs(centerX - (other.getLeft() + other.getRight()) / 2); local 794 final int dist = dx * dx + dy * dy 917 final float dx = motionEvent.getX(pointerIndex) - mInitialTouchX; local 967 final float dx = x - mInitialTouchX; local 1760 final int dx = curX - selected.itemView.getLeft(); local [all...] |
/packages/apps/DevCamera/src/com/android/devcamera/ |
NormalizedFace.java | 34 public NormalizedFace(Face face, int dX, int dY, int offX, int offY) { 37 leftEye.x = (float) (face.getLeftEyePosition().x - offX) / dX; 42 rightEye.x = (float) (face.getRightEyePosition().x - offX) / dX; 47 mouth.x = (float) (face.getMouthPosition().x - offX) / dX; 52 bounds.left = (float) (face.getBounds().left - offX) / dX; 54 bounds.right = (float) (face.getBounds().right - offX) / dX;
|
PreviewOverlay.java | 213 float dX = r1.height() * previewW; 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 | [all...] |
/frameworks/av/media/libeffects/loudness/dsp/core/ |
interpolator_linear.h | 65 T dX = x_data_[cached_index_ + 1] - x_data_[cached_index_]; 67 T dx = x - x_data_[cached_index_]; local 68 return y_data_[cached_index_] + (dY * dx) / dX;
|
/frameworks/support/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 | 130 RecyclerView.ViewHolder viewHolder, float dX, float dY, int actionState, 136 final float dir = Math.signum(dX); 140 final float overlayOffset = dX - dir * viewHolder.itemView.getWidth(); 143 float alpha = (float) (.2 + .8 * Math.abs(dX) / viewHolder.itemView.getWidth());
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
AccessibilityGestureDetector.java | 318 final float dX = Math.abs(x - mPreviousGestureX); 320 if (dX >= mMinPixelsBetweenSamplesX || dY >= mMinPixelsBetweenSamplesY) { 333 final float dX = Math.abs(x - mPreviousGestureX); 335 if (dX >= mMinPixelsBetweenSamplesX || dY >= mMinPixelsBetweenSamplesY) { 477 float dX = 0; // Sum of unit vectors from last delimiter to each following point 487 float currentDX = dX / count; 513 dX = 0; 526 dX = dX + currentDX / length; 554 float dX = end.x - start.x [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
AllocationCreateAllocationsTest.java | 102 int dX = 64, dY = 64, numAlloc = 5; 103 Type t = Type.createXY(mRS, Element.U8_4(mRS), dX, dY); 112 byte[] dataIn = new byte[dX * dY * 4]; 113 byte[] dataOut = new byte[dX * dY * 4]; 120 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); 95 dX /= 60f; 103 final float v = (float) Math.hypot(dX, dY); 115 final float x1 = x0 + s * dX / v;
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/general/ |
GaussNewtonOptimizer.java | 112 final double[] dX = solver.solve(b); 116 point[i] += dX[i];
|
/prebuilts/go/darwin-x86/src/fmt/ |
scan_test.go | 311 {"%dX", "27X", &intVal, 27}, 312 {"%dX", "27 X", &intVal, nil}, // input does not match format 313 {"%dX", " 27X", &intVal, 27}, 314 {"%dX", " 27 X", &intVal, nil}, // input does not match format 341 {"X%dX", "X27X", &intVal, 27}, 342 {"X%dX", "X27 X", &intVal, nil}, // input does not match format 343 {"X%dX", "X 27X", &intVal, 27}, 344 {"X%dX", "X 27 X", &intVal, nil}, // input does not match format 346 {"X%dX", "X27X", &intVal, 27}, 347 {"X%dX", "X27X ", &intVal, 27} [all...] |
/prebuilts/go/linux-x86/src/fmt/ |
scan_test.go | 311 {"%dX", "27X", &intVal, 27}, 312 {"%dX", "27 X", &intVal, nil}, // input does not match format 313 {"%dX", " 27X", &intVal, 27}, 314 {"%dX", " 27 X", &intVal, nil}, // input does not match format 341 {"X%dX", "X27X", &intVal, 27}, 342 {"X%dX", "X27 X", &intVal, nil}, // input does not match format 343 {"X%dX", "X 27X", &intVal, 27}, 344 {"X%dX", "X 27 X", &intVal, nil}, // input does not match format 346 {"X%dX", "X27X", &intVal, 27}, 347 {"X%dX", "X27X ", &intVal, 27} [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/estimation/ |
GaussNewtonEstimator.java | 210 RealVector dX = new LUDecompositionImpl(a).getSolver().solve(b); 214 parameters[i].setEstimate(parameters[i].getEstimate() + dX.getEntry(i));
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
RippleForeground.java | 335 final float dX = mStartingX - cX; 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); 201 float dx = 0; local 205 dx = Math.min(crop.left + dX, crop.right - minWidthHeight) - crop.left; 211 dx = Math.max(crop.right + dX, crop.left + minWidthHeight) 234 dx, dy 238 dx = sp * bUnit[0]; 240 RectF newCrop = fixedCornerResize(crop, movingEdges, dx, dy) [all...] |
/packages/apps/Settings/src/com/android/settings/localepicker/ |
LocaleDragAndDropAdapter.java | 114 RecyclerView.ViewHolder viewHolder, float dX, float dY, 117 super.onChildDraw(c, recyclerView, viewHolder, dX, dY,
|
/frameworks/base/core/java/android/widget/ |
RadialTimePickerView.java | [all...] |
/development/cmds/monkey/src/com/android/commands/monkey/ |
MonkeySourceRandom.java | 361 int dX = random.nextInt(10) - 5; 365 .addPointer(0, dX, dY)
|
/external/opencv/cv/src/ |
cvmotempl.cpp | 216 /* calc Dx and Dy */ 237 float dX = dX_min_row.data.fl[x]; 239 if( fabs(dX) < gradient_epsilon && fabs(dY) < gradient_epsilon )
|