Home
last modified time | relevance | path

Searched refs:diffY (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/tests/TransformTest/src/com/google/android/test/transform/
DTransformTestActivity.java100 float diffY = centerY - mPosY; in onScale() local
102 diffY = diffY*scale - diffY; in onScale()
104 mPosY -= diffY; in onScale()
/frameworks/native/libs/renderengine/skia/filters/
DStretchShaderFactory.cpp212 float diffY = in createSkShader() local
233 mBuilder->uniform("uDistDiffY").set(&diffY, 1); in createSkShader()
/frameworks/base/libs/hwui/effects/
DStretchEffect.cpp205 float diffY = distanceStretchedY - height; in getShader() local
222 mBuilder->uniform("uDistDiffY").set(&diffY, 1); in getShader()
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
DTextViewActions.java589 float diffY = dragPointY - currentCoordinates[1]; in locateHandlePointsTextIndex() local
591 diffY -= mTextView.getLineHeight() * LINE_SLOP_MULTIPLIER; in locateHandlePointsTextIndex()
593 diffY += mTextView.getLineHeight() * LINE_SLOP_MULTIPLIER; in locateHandlePointsTextIndex()
595 return new float[] {targetCoordinates[0] + diffX, targetCoordinates[1] + diffY}; in locateHandlePointsTextIndex()
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/
DStretchShaderActivity.java356 final float diffY = distanceStretchedY - distanceNotStretched; in updateShader() local
365 mRuntimeShader.setFloatUniform("uDistDiffY", diffY); in updateShader()
/frameworks/base/core/java/android/service/wallpaper/
DWallpaperService.java2227 int diffY = ((int) (mScreenshotSize.y * scaleFactor)) - mSurfaceSize.y; in scaleAndCropScreenshot() local
2230 + " diffX=" + diffX + " diffY=" + diffY + " mSurfaceSize=" + mSurfaceSize in scaleAndCropScreenshot()
2242 /* top= */ diffY / 2, in scaleAndCropScreenshot()
2244 /* bottom= */ diffY / 2 + mScreenshotSize.y)) in scaleAndCropScreenshot()
2245 .setPosition(mScreenshotSurfaceControl, -diffX / 2, -diffY / 2) in scaleAndCropScreenshot()
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternView.java1478 float diffY = y - lastY;
1479 float dist = (float) Math.sqrt(diffX*diffX + diffY*diffY);
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/
DSplitLayout.java735 final float diffY = tempEnd.top - tempStart.top; in moveSurface() local
744 final float distY = tempStart.top + scale * diffY; in moveSurface()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
DWindowMagnificationController.java1489 private int selectDirectionForMove(float diffX, float diffY) { in selectDirectionForMove() argument
1491 float result = diffY / diffX; in selectDirectionForMove()