Home
last modified time | relevance | path

Searched refs:paddedWidth (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/libs/hwui/
DFontRenderer.cpp617 uint32_t paddedWidth = (uint32_t) (bounds.right - bounds.left) + 2 * intRadius; in renderDropShadow() local
621 if (paddedWidth > maxSize || paddedHeight > maxSize) { in renderDropShadow()
627 if (paddedWidth & (RS_CPU_ALLOCATION_ALIGNMENT - 1)) { in renderDropShadow()
628 paddedWidth += RS_CPU_ALLOCATION_ALIGNMENT - paddedWidth % RS_CPU_ALLOCATION_ALIGNMENT; in renderDropShadow()
630 int size = paddedWidth * paddedHeight; in renderDropShadow()
633 int size = paddedWidth * paddedHeight; in renderDropShadow()
647 Font::BITMAP, dataBuffer, paddedWidth, paddedHeight, NULL, positions); in renderDropShadow()
652 blurImage(&dataBuffer, paddedWidth, paddedHeight, radius); in renderDropShadow()
655 image.width = paddedWidth; in renderDropShadow()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DMultiPaneChallengeLayout.java383 final int paddedWidth = width - padding.left - padding.right; in layoutWithGravity() local
384 adjustedWidth = (int) (paddedWidth * lp.centerWithinArea + 0.5f); in layoutWithGravity()
450 final int paddedWidth = width - padding.left - padding.right; in layoutWithGravity() local
451 left = (paddedWidth - childWidth) / 2; in layoutWithGravity()