/frameworks/base/core/java/android/hardware/input/ |
D | TouchCalibration.java | 42 private final float mXScale, mXYMix, mXOffset; field in TouchCalibration 65 mXOffset = xOffset; in TouchCalibration() 74 mXOffset = in.readFloat(); in TouchCalibration() 84 dest.writeFloat(mXOffset); in writeToParcel() 96 return new float[] { mXScale, mXYMix, mXOffset, mYXMix, mYScale, mYOffset }; in getAffineTransform() 108 (cal.mXOffset == mXOffset) && in equals() 121 Float.floatToIntBits(mXOffset) ^ in hashCode()
|
/frameworks/base/media/java/android/media/ |
D | VolumeShaper.java | 1140 private final float mXOffset; field in VolumeShaper.Operation 1147 + ", mXOffset = " + mXOffset in toString() 1153 return Objects.hash(mFlags, mReplaceId, mXOffset); in hashCode() 1164 && Float.compare(mXOffset, other.mXOffset) == 0; in equals() 1177 dest.writeFloat(mXOffset); in writeToParcel() 1205 mXOffset = xOffset; in Operation() 1217 float mXOffset; field in VolumeShaper.Operation.Builder 1225 mXOffset = Float.NaN; in Builder() 1236 mXOffset = operation.mXOffset; in Builder() 1322 mXOffset = xOffset; in setXOffset() [all …]
|
D | MediaCodec.java | 4704 private final int mXOffset; field in MediaImage 4793 mXOffset = xOffset; in MediaImage() 4880 mXOffset = xOffset; in MediaImage()
|
/frameworks/native/libs/input/ |
D | Input.cpp | 339 mXOffset = xOffset; in initialize() 365 mXOffset = other->mXOffset; in copyFrom() 397 return rawX * mXScale + mXOffset; in getXCursorPosition() 406 mRawXCursorPosition = (x - mXOffset) / mXScale; in setCursorPosition() 422 return value * mXScale + mXOffset; in getAxisValue() 444 return value * mXScale + mXOffset; in getHistoricalAxisValue() 462 mXOffset += xOffset; in offsetLocation() 467 mXOffset *= globalScaleFactor; in scale() 515 float oldXOffset = mXOffset; in transform() 521 mXOffset = newX - scaledRawX; in transform() [all …]
|
/frameworks/av/include/media/ |
D | VolumeShaper.h | 365 : Operation(operation.mFlags, operation.mReplaceId, operation.mXOffset) { in Operation() 375 , mXOffset(xOffset) { in Operation() 387 return mXOffset; in getXOffset() 391 mXOffset = clamp(xOffset, MIN_CURVE_TIME /* lo */, MAX_CURVE_TIME /* hi */); in setXOffset() 427 ?: parcel->writeFloat(mXOffset); in writeToParcel() 434 ?: parcel->readFloat(&mXOffset) in readFromParcel() 442 ss << ", mXOffset=" << mXOffset; in toString() 450 S mXOffset; // position in the curve to set if a valid number (not nan) variable 464 , mXOffset(xOffset) { in State() 479 return mXOffset; in getXOffset() [all …]
|
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/ |
D | MainActivity.java | 58 float mXOffset = 0; field in MainActivity 127 mXOffset = mDownXOffset + 2 * (dx / (sw - scale * iw)); in onCreate() 129 if (Math.abs(mXOffset) > 1) { in onCreate() 130 mXOffset = Math.signum(mXOffset); in onCreate() 141 mDownXOffset = mXOffset; in onCreate() 204 mMatrix.postTranslate((1 + mXOffset) * (sw - iw * scale) / 2, in updateMatrix()
|
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/ |
D | MainActivity.java | 58 float mXOffset = 0; field in MainActivity 127 mXOffset = mDownXOffset + 2 * (dx / (sw - scale * iw)); in onCreate() 129 if (Math.abs(mXOffset) > 1) { in onCreate() 130 mXOffset = Math.signum(mXOffset); in onCreate() 141 mDownXOffset = mXOffset; in onCreate() 204 mMatrix.postTranslate((1 + mXOffset) * (sw - iw * scale) / 2, in updateMatrix()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/ |
D | SimpleMirrorWindowControl.java | 183 private final int mXOffset; field in SimpleMirrorWindowControl.MoveWindowTask 193 mXOffset = xOffset; in MoveWindowTask() 204 mMirrorWindowDelegate.move(mXOffset, mYOffset); in run()
|
/frameworks/av/cmds/screenrecord/ |
D | TextRenderer.cpp | 36 uint32_t TextRenderer::mXOffset[FontBitmap::numGlyphs]; member in TextRenderer 57 mXOffset[i] = offset; in initXOffset() 211 float texLeft = mXOffset[chi] / fullTexWidth; in drawString() 212 float texRight = (mXOffset[chi] + glyphWidth) / fullTexWidth; in drawString()
|
D | TextRenderer.h | 133 static uint32_t mXOffset[]; variable
|
/frameworks/base/tests/MirrorSurfaceTest/src/com/google/android/test/mirrorsurface/ |
D | MirrorSurfaceActivity.java | 375 mMoveMirrorRunnable.mXOffset = point.x; in onLongClick() 434 int mXOffset = 0; field in MirrorSurfaceActivity.MoveMirrorRunnable 440 moveMirrorForArrows(mXOffset, mYOffset); in run()
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | CascadingMenuPopup.java | 187 private int mXOffset; field in CascadingMenuPopup 419 popupWindow.setHorizontalOffset(mXOffset); in showMenu() 717 mXOffset = x; in setHorizontalOffset()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowStateAnimator.java | 224 int mXOffset = 0; field in WindowStateAnimator 1033 int xOffset = mXOffset; in setSurfaceBoundariesLocked() 1176 mXOffset, mYOffset, mWallpaperScale, recoveringMemory); in prepareSurfaceLocked() 1249 if (mXOffset == dx && mYOffset == dy && Float.compare(mWallpaperScale, scale) == 0) { in setWallpaperOffset() 1252 mXOffset = dx; in setWallpaperOffset()
|
/frameworks/native/include/input/ |
D | Input.h | 524 inline float getXOffset() const { return mXOffset; } in getXOffset() 742 float mXOffset; variable
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | DisplayContentTests.java | 1161 mWallpaperWindow.mWinAnimator.mXOffset = mWallpaperWindow.mWinAnimator.mYOffset = -1; in testApplyTopFixedRotationTransform() 1164 assertThat(mWallpaperWindow.mWinAnimator.mXOffset).isGreaterThan(-1); in testApplyTopFixedRotationTransform()
|