Home
last modified time | relevance | path

Searched refs:mX (Results 1 – 15 of 15) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/app/
DEyePosition.java58 private float mX; field in EyePosition
98 mX = mY = 0; in resetPosition()
100 mListener.onEyePositionChanged(mX, mY, mZ); in resetPosition()
133 mX = Utils.clamp((x * USER_ANGEL_COS / glength in onAccelerometerChanged()
140 mUserDistance * mUserDistance - mX * mX - mY * mY); in onAccelerometerChanged()
141 mListener.onEyePositionChanged(mX, mY, mZ); in onAccelerometerChanged()
152 if (mX > limit || mX < -limit || mY > limit || mY < -limit) { in onGyroscopeChanged()
153 mX *= GYROSCOPE_RESTORE_FACTOR; in onGyroscopeChanged()
156 mUserDistance * mUserDistance - mX * mX - mY * mY); in onGyroscopeChanged()
157 mListener.onEyePositionChanged(mX, mY, mZ); in onGyroscopeChanged()
[all …]
DManageCachePage.java78 private float mX; field in ManageCachePage
132 getWidth() / 2 + mX, getHeight() / 2 + mY, mZ);
142 mX = x; in onEyePositionChanged()
DAlbumSetPage.java110 private float mX; field in AlbumSetPage
152 getWidth() / 2 + mX, getHeight() / 2 + mY, mZ);
162 mX = x; in onEyePositionChanged()
/packages/apps/PhoneCommon/src/com/android/phone/common/compat/
DPathInterpolatorCompat.java40 private final float[] mX; field in PathInterpolatorCompat.PathInterpolatorBase
49 mX = new float[numPoints]; in PathInterpolatorBase()
57 mX[i] = position[0]; in PathInterpolatorBase()
81 int endIndex = mX.length - 1; in getInterpolation()
84 if (t < mX[midIndex]) { in getInterpolation()
91 final float xRange = mX[endIndex] - mX[startIndex]; in getInterpolation()
96 final float tInRange = t - mX[startIndex]; in getInterpolation()
/packages/apps/Dialer/java/com/android/dialer/compat/
DPathInterpolatorCompat.java40 private final float[] mX; field in PathInterpolatorCompat.PathInterpolatorBase
49 mX = new float[numPoints]; in PathInterpolatorBase()
57 mX[i] = position[0]; in PathInterpolatorBase()
96 int endIndex = mX.length - 1; in getInterpolation()
99 if (t < mX[midIndex]) { in getInterpolation()
106 final float xRange = mX[endIndex] - mX[startIndex]; in getInterpolation()
111 final float tInRange = t - mX[startIndex]; in getInterpolation()
/packages/apps/Gallery2/src/com/android/photos/views/
DTiledImageRenderer.java313 || !range[level - fromLevel].contains(tile.mX, tile.mY)) { in layoutTiles()
645 if (tile.mX == parent.mX) { in drawTile()
664 public int mX; field in TiledImageRenderer.Tile
672 mX = x; in Tile()
690 mDecodedTile = mModel.getTile(mTileLevel, mX, mY, reuse); in decode()
703 int rightEdge = ((mImageWidth - mX) >> mTileLevel); in onGetBitmap()
728 mX = x; in update()
739 int x = size * (mX / size); in getParentTile()
747 mX / mTileSize, mY / mTileSize, mLevel, mLevelCount); in toString()
/packages/apps/WallpaperPicker/src/com/android/photos/views/
DTiledImageRenderer.java313 || !range[level - fromLevel].contains(tile.mX, tile.mY)) { in layoutTiles()
645 if (tile.mX == parent.mX) { in drawTile()
664 public int mX; field in TiledImageRenderer.Tile
672 mX = x; in Tile()
690 mDecodedTile = mModel.getTile(mTileLevel, mX, mY, reuse); in decode()
703 int rightEdge = ((mImageWidth - mX) >> mTileLevel); in onGetBitmap()
728 mX = x; in update()
739 int x = size * (mX / size); in getParentTile()
747 mX / mTileSize, mY / mTileSize, mLevel, mLevelCount); in toString()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DTileImageView.java257 || !range[level - fromLevel].contains(tile.mX, tile.mY)) { in layoutTiles()
634 if (tile.mX == parent.mX) { in drawTile()
653 public int mX; field in TileImageView.Tile
661 mX = x; in Tile()
676 mTileLevel, mX, mY, sTileSize)); in decode()
689 int rightEdge = ((mImageWidth - mX) >> mTileLevel); in onGetBitmap()
714 mX = x; in update()
723 int x = size * (mX / size); in getParentTile()
731 mX / sTileSize, mY / sTileSize, mLevel, mLevelCount); in toString()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKey.java115 private final int mX; field in Key
236 mX = x + mHorizontalGap / 2; in Key()
270 mX = Math.round(keyXPos + horizontalGapFloat / 2); in Key()
429 mX = key.mX; in Key()
468 key.mX, in computeHashCode()
495 return o.mX == mX in equalsInternal()
868 return mX; in getX()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/event/
DEvent.java100 final public int mX; field in Event
121 mX = x; in Event()
259 source.mX, source.mY, source.mSuggestedWordInfo, source.mFlags | FLAG_CONSUMED, in createConsumedEvent()
/packages/apps/Nfc/src/com/android/nfc/beam/
DFireflyRenderer.java370 float mX; // between -mDisplayHeight and mDisplayHeight field in FireflyRenderer.Firefly
382 mX = (float) (Math.random() * mDisplayWidth) * 4 - 2 * mDisplayWidth; in reset()
409 … gl.glTranslatef(mX, mY, -NEAR_CLIPPING_PLANE-mZ*(FAR_CLIPPING_PLANE-NEAR_CLIPPING_PLANE)); in draw()
/packages/apps/LegacyCamera/src/com/android/camera/
DOnScreenHint.java46 int mX, mY; field in OnScreenHint
154 mParams.x = mX; in handleShow()
/packages/apps/Calendar/src/com/android/calendar/
DEventInfoFragment.java441 private int mX = -1; field in EventInfoFragment
743 if (mX != -1 || mY != -1) { in applyDialogParams()
744 a.x = mX - mDialogWidth / 2; in applyDialogParams()
755 mX = x; in setDialogParams()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DWordComposer.java181 final int keyX = event.mX; in applyProcessedEvent()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/inputlogic/
DInputLogic.java697 event.mKeyCode, event.mX, event.mY, event.isKeyRepeat()); in handleFunctionalEvent()