Home
last modified time | relevance | path

Searched refs:diffX (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/tests/TransformTest/src/com/google/android/test/transform/
DTransformTestActivity.java99 float diffX = centerX - mPosX; in onScale() local
101 diffX = diffX*scale - diffX; in onScale()
103 mPosX -= diffX; in onScale()
/frameworks/native/libs/renderengine/skia/filters/
DStretchShaderFactory.cpp210 float diffX = in createSkShader() local
232 mBuilder->uniform("uDistDiffX").set(&diffX, 1); in createSkShader()
/frameworks/base/libs/hwui/effects/
DStretchEffect.cpp204 float diffX = distanceStretchedX - width; in getShader() local
221 mBuilder->uniform("uDistDiffX").set(&diffX, 1); in getShader()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DStretchShaderActivity.java355 final float diffX = distanceStretchedX - distanceNotStretched; in updateShader() local
364 mRuntimeShader.setFloatUniform("uDistDiffX", diffX); in updateShader()
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
DTextViewActions.java585 final float diffX = dragPointX - currentCoordinates[0]; in locateHandlePointsTextIndex() local
595 return new float[] {targetCoordinates[0] + diffX, targetCoordinates[1] + diffY}; in locateHandlePointsTextIndex()
/frameworks/base/core/java/android/service/wallpaper/
DWallpaperService.java2063 int diffX = ((int) (mScreenshotSize.x * scaleFactor)) - mSurfaceSize.x; in scaleAndCropScreenshot() local
2067 + " diffX=" + diffX + " diffY=" + diffY + " mSurfaceSize=" + mSurfaceSize in scaleAndCropScreenshot()
2078 /* left= */ diffX / 2, in scaleAndCropScreenshot()
2080 /* right= */ diffX / 2 + mScreenshotSize.x, in scaleAndCropScreenshot()
2082 .setPosition(mScreenshotSurfaceControl, -diffX / 2, -diffY / 2) in scaleAndCropScreenshot()
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternView.java1337 float diffX = x - lastX;
1339 float dist = (float) Math.sqrt(diffX*diffX + diffY*diffY);
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/
DSplitLayout.java665 final float diffX = tempEnd.left - tempStart.left; in moveSurface() local
674 final float distX = tempStart.left + scale * diffX; in moveSurface()