Home
last modified time | relevance | path

Searched refs:mXOffset (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/core/java/android/hardware/input/
DTouchCalibration.java42 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()
130 mXScale, mXYMix, mXOffset, mYXMix, mYScale, mYOffset); in toString()
/frameworks/base/media/java/android/media/
DVolumeShaper.java1127 private final float mXOffset; field in VolumeShaper.Operation
1134 + ", mXOffset = " + mXOffset in toString()
1140 return Objects.hash(mFlags, mReplaceId, mXOffset); in hashCode()
1151 && Float.compare(mXOffset, other.mXOffset) == 0; in equals()
1164 dest.writeFloat(mXOffset); in writeToParcel()
1191 mXOffset = xOffset; in Operation()
1203 float mXOffset; field in VolumeShaper.Operation.Builder
1211 mXOffset = Float.NaN; in Builder()
1222 mXOffset = operation.mXOffset; in Builder()
1308 mXOffset = xOffset; in setXOffset()
[all …]
DMediaCodec.java3498 private final int mXOffset; field in MediaImage
3567 mXOffset = xOffset; in MediaImage()
/frameworks/native/libs/input/
DInput.cpp240 mXOffset = xOffset; in initialize()
260 mXOffset = other->mXOffset; in copyFrom()
300 return value + mXOffset; in getAxisValue()
322 return value + mXOffset; in getHistoricalAxisValue()
340 mXOffset += xOffset; in offsetLocation()
345 mXOffset *= scaleFactor; in scale()
393 float oldXOffset = mXOffset; in transform()
399 mXOffset = newX - rawX; in transform()
414 c.setAxisValue(AMOTION_EVENT_AXIS_X, x - mXOffset); in transform()
440 mXOffset = parcel->readFloat(); in readFromParcel()
[all …]
/frameworks/av/include/media/
DVolumeShaper.h366 : Operation(operation.mFlags, operation.mReplaceId, operation.mXOffset) { in Operation()
376 , mXOffset(xOffset) { in Operation()
388 return mXOffset; in getXOffset()
392 mXOffset = clamp(xOffset, MIN_CURVE_TIME /* lo */, MAX_CURVE_TIME /* hi */); in setXOffset()
428 ?: parcel->writeFloat(mXOffset); in writeToParcel()
435 ?: parcel.readFloat(&mXOffset) in readFromParcel()
443 ss << ", mXOffset=" << mXOffset; in toString()
451 S mXOffset; // position in the curve to set if a valid number (not nan) variable
465 , mXOffset(xOffset) { in State()
480 return mXOffset; in getXOffset()
[all …]
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/
DMainActivity.java58 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/
DMainActivity.java58 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/av/cmds/screenrecord/
DTextRenderer.cpp36 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()
DTextRenderer.h133 static uint32_t mXOffset[]; variable
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DImageWallpaper.java108 float mXOffset = 0.5f; field in ImageWallpaper.DrawableEngine
253 if (mXOffset != xOffset || mYOffset != yOffset) { in onOffsetsChanged()
257 mXOffset = xOffset; in onOffsetsChanged()
379 xPixels += (int) (availwUnscaled * (mXOffset - .5f) + .5f); in drawFrame()
546 out.print(prefix); out.print(" mXOffset="); out.print(mXOffset); in dump()
/frameworks/base/core/java/com/android/internal/view/menu/
DCascadingMenuPopup.java186 private int mXOffset; field in CascadingMenuPopup
418 popupWindow.setHorizontalOffset(mXOffset); in showMenu()
716 mXOffset = x; in setHorizontalOffset()
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
DCascadingMenuPopup.java202 private int mXOffset; field in CascadingMenuPopup
462 popupWindow.setHorizontalOffset(mXOffset); in showMenu()
761 mXOffset = x; in setHorizontalOffset()
/frameworks/native/include/input/
DInput.h407 inline float getXOffset() const { return mXOffset; } in getXOffset()
618 float mXOffset; variable
/frameworks/base/services/core/java/com/android/server/wm/
DWindowStateAnimator.java650 mTmpSize.set(w.mFrame.left + w.mXOffset, w.mFrame.top + w.mYOffset, 0, 0); in createSurfaceLocked()
968 tmpMatrix.postTranslate(frame.left + mWin.mXOffset, frame.top + mWin.mYOffset); in computeShownFrameLocked()
1068 tmpMatrix.postTranslate(frame.left + mWin.mXOffset, frame.top + mWin.mYOffset); in computeShownFrameLocked()
1086 if (mWin.mXOffset != 0 || mWin.mYOffset != 0) { in computeShownFrameLocked()
1087 mWin.mShownPosition.offset(mWin.mXOffset, mWin.mYOffset); in computeShownFrameLocked()
1312 w.mFrame.left + mWin.mXOffset - surfaceInsets.left; in adjustCropToStackBounds()
DWallpaperController.java271 boolean changed = wallpaperWin.mXOffset != offset; in updateWallpaperOffset()
274 wallpaperWin.mXOffset = offset; in updateWallpaperOffset()
DWindowState.java404 int mXOffset; field in WindowState
665 mXOffset = 0; in WindowState()
3347 if (mXOffset != 0 || mYOffset != 0) { in dump()
3348 pw.print(prefix); pw.print("Offsets x="); pw.print(mXOffset); in dump()
4281 final int left = mXOffset + mFrame.left; in calculateSystemDecorRect()