Searched refs:mMaxX (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/core/java/android/widget/ |
D | Scroller.java | 73 private int mMaxX; field in Scroller 331 mCurrX = Math.min(mCurrX, mMaxX); in computeScrollOffset() 459 mMaxX = maxX; in fling() 465 mFinalX = Math.min(mFinalX, mMaxX); in fling()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/ |
D | UsageGraph.java | 61 private float mMaxX = 100; field in UsageGraph 104 mMaxX = maxX; in setMax() 184 return (int) (x / mMaxX * getWidth()); in getX()
|
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/ |
D | AnimatedRecyclerView.java | 270 final float mMaxX; field in ItemChangeAnimator 274 mMaxX = mViewHolder.itemView.getWidth(); in ItemChangeAnimator() 275 mStartRatio = mViewHolder.textView.getTranslationX() / mMaxX; in ItemChangeAnimator() 287 mViewHolder.textView.setTranslationX(fraction * mMaxX); in setFraction() 290 mViewHolder.textView.setTranslationX((1f - fraction) * mMaxX); in setFraction()
|
/frameworks/native/services/inputflinger/tests/ |
D | InputReader_test.cpp | 54 float mMinX, mMinY, mMaxX, mMaxY; member in android::FakePointerController 63 mHaveBounds(false), mMinX(0), mMinY(0), mMaxX(0), mMaxY(0), mX(0), mY(0), in FakePointerController() 71 mMaxX = maxX; in setBounds() 97 *outMaxX = mMaxX; in getBounds() 105 if (mX > mMaxX) mX = mMaxX; in move()
|