Home
last modified time | relevance | path

Searched refs:bY (Results 1 – 3 of 3) sorted by relevance

/frameworks/rs/
DrsFont.cpp126 int32_t bX = 0, bY = 0; in drawCachedGlyph() local
128 for (cacheY = glyph->mBitmapMinY, bY = nPenY; cacheY < endY; cacheY++, bY++) { in drawCachedGlyph()
129 if (bX < 0 || bY < 0 || bX >= (int32_t) bitmapW || bY >= (int32_t) bitmapH) { in drawCachedGlyph()
134 bitmap[bY * bitmapW + bX] = tempCol; in drawCachedGlyph()
465 uint32_t cacheX = 0, bX = 0, cacheY = 0, bY = 0; in cacheBitmap() local
467 for (cacheY = startY, bY = 0; cacheY < endY; cacheY ++, bY ++) { in cacheBitmap()
468 uint8_t tempCol = bitmapBuffer[bY * bitmap->width + bX]; in cacheBitmap()
/frameworks/base/libs/hwui/
DFontRenderer.cpp291 uint32_t cacheX = 0, bX = 0, cacheY = 0, bY = 0; in cacheBitmap() local
298 for (cacheY = startY, bY = 0; cacheY < endY; cacheY++, bY += srcStride) { in cacheBitmap()
302 uint8_t tempCol = bitmapBuffer[bY + bX]; in cacheBitmap()
308 for (cacheY = startY, bY = 0; cacheY < endY; cacheY++, bY += srcStride) { in cacheBitmap()
310 memcpy(&cacheBuffer[row + startX], &bitmapBuffer[bY], glyph.fWidth); in cacheBitmap()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardAffordanceHelper.java481 float bY = lastY - mInitialTouchY; in getCurrentVelocity() local
482 float bLen = (float) Math.hypot(bX, bY); in getCurrentVelocity()
484 float projectedVelocity = (aX * bX + aY * bY) / bLen; in getCurrentVelocity()