Home
last modified time | relevance | path

Searched refs:endX (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/view/
DVelocityTest.java234 private void drag(VelocityTracker vt, int startX, int endX, int startY, int endY, int steps, in drag() argument
236 drag(vt, startX, endX, startY, endY, steps, startime, duration, new LinearInterpolator()); in drag()
243 private void drag(VelocityTracker vt, int startX, int endX, int startY, int endY, int steps, in drag() argument
247 int distX = endX - startX; in drag()
256 addMotionEvent(vt, endX, endY, startime + duration, MotionEvent.ACTION_UP); in drag()
/frameworks/base/core/java/com/android/internal/widget/
DRotarySelector.java606 private void startAnimation(int startX, int endX, int duration) { in startAnimation() argument
611 mAnimatingDeltaXEnd = endX; in startAnimation()
617 private void startAnimationWithVelocity(int startX, int endX, int pixelsPerSecond) { in startAnimationWithVelocity() argument
620 mAnimationDuration = 1000 * (endX - startX) / pixelsPerSecond; in startAnimationWithVelocity()
622 mAnimatingDeltaXEnd = endX; in startAnimationWithVelocity()
/frameworks/base/libs/rs/
DrsFont.cpp115 uint32_t endX = glyph->mBitmapMinX + glyph->mBitmapWidth; in drawCachedGlyph() local
124 for (cacheX = glyph->mBitmapMinX, bX = nPenX; cacheX < endX; cacheX++, bX++) { in drawCachedGlyph()
263 uint32_t endX = startX + bitmap->width; in updateGlyphCache() local
276 glyph->mBitmapMaxU = (float)endX / (float)cacheWidth; in updateGlyphCache()
450 uint32_t endX = startX + bitmap->width; in cacheBitmap() local
459 for (cacheX = startX, bX = 0; cacheX < endX; cacheX ++, bX ++) { in cacheBitmap()
/frameworks/base/libs/hwui/
DFontRenderer.cpp118 uint32_t endX = glyph->mStartX + glyph->mBitmapWidth; in drawCachedGlyph() local
126 for (cacheX = glyph->mStartX, bX = nPenX; cacheX < endX; cacheX++, bX++) { in drawCachedGlyph()
255 uint32_t endX = startX + skiaGlyph.fWidth; in updateGlyphCache() local
268 glyph->mBitmapMaxU = (float) endX / (float) cacheWidth; in updateGlyphCache()
446 uint32_t endX = startX + glyph.fWidth; in cacheBitmap() local
456 for (cacheX = startX, bX = 0; cacheX < endX; cacheX++, bX++) { in cacheBitmap()