Searched refs:mDistance (Results 1 – 7 of 7) sorted by relevance
41 private int mDistance; field in FlingScroller100 mDistance = (int)Math.round( in fling()117 int r = (int) Math.round(mStartX + f * mDistance * mCosAngle); in getX()127 int r = (int) Math.round(mStartY + f * mDistance * mSinAngle); in getY()138 return DECELERATED_FACTOR * mDistance * 1000 * in getV()
413 int mDistance = 900; in initNavigationButton()421 .setContentText("Turn right in " + mDistance + " ft") in initNavigationButton()424 .setSubText(mDistance + " ft") in initNavigationButton()429 mDistance -= 100; in initNavigationButton()430 if (mDistance >= 0) { in initNavigationButton()442 int mDistance = 20; in initNavigationButton()450 .setContentText("Exit in " + mDistance + " miles") in initNavigationButton()453 .setSubText(mDistance + " miles") in initNavigationButton()458 mDistance -= 1; in initNavigationButton()459 if (mDistance >= 0) { in initNavigationButton()
114 mActiveEdge.mDistance = 0; in setActiveEdge()161 private float mDistance; field in SpringRelativeLayout.SpringEdgeEffect181 mDistance += deltaDistance * (mVelocityMultiplier / 3f); in onPull()182 setDampedScrollShift(mDistance * getHeight()); in onPull()187 mDistance = 0; in onRelease()
79 private float mDistance; field in AssistantTouchConsumer184 mDistance = (float) Math.hypot(mLastPos.x - mStartDragPos.x, in onMotionEvent()186 if (mDistance >= 0) { in onMotionEvent()228 mLastProgress = Math.min(mDistance * 1f / mDragDistThreshold, 1) * mTimeFraction; in updateAssistantProgress()230 if (mDistance >= mDragDistThreshold && mTimeFraction >= 1) { in updateAssistantProgress()280 && mDistance >= mFlingDistThreshold in onFling()
97 private int mDistance = DEFAULT_DISTANCE; field in FadeAndShortSlide230 float startX = mSlideCalculator.getGoneX(sceneRoot, view, position, mDistance); in onAppear()259 float endX = mSlideCalculator.getGoneX(sceneRoot, view, position, mDistance); in onDisappear()318 mDistance = distance; in setDistance()
69 private final int mDistance = sFragmentTransitionLongDistance; field in SetupAnimationHelper.TransitionBuilder113 transition.setDistance(mDistance); in build()
55 private TextView mDistance; field in NavStateController77 mDistance = container.findViewById(R.id.distance); in NavStateController()127 mDistance.setText(formatDistance(step != null ? step.getDistance() : null)); in update()