Home
last modified time | relevance | path

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

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