OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:intRadius
(Results
1 - 2
of
2
) sorted by null
/frameworks/base/libs/hwui/utils/
Blur.cpp
62
int32_t
intRadius
= convertRadiusToInt(radius);
81
for (int32_t r = -
intRadius
; r <=
intRadius
; r ++) {
83
weights[r +
intRadius
] = coeff1 * pow(e, floatR * floatR * coeff2);
84
normalizeFactor += weights[r +
intRadius
];
89
for (int32_t r = -
intRadius
; r <=
intRadius
; r ++) {
90
weights[r +
intRadius
] *= normalizeFactor;
/frameworks/base/libs/hwui/
FontRenderer.cpp
582
uint32_t
intRadius
= Blur::convertRadiusToInt(radius);
583
uint32_t paddedWidth = (uint32_t) (bounds.right - bounds.left) + 2 *
intRadius
;
584
uint32_t paddedHeight = (uint32_t) (bounds.top - bounds.bottom) + 2 *
intRadius
;
605
int penX =
intRadius
- bounds.left;
606
int penY =
intRadius
- bounds.bottom;
690
uint32_t
intRadius
= Blur::convertRadiusToInt(radius);
692
if (width * height *
intRadius
>= RS_MIN_INPUT_CUTOFF && radius <= 25.0f) {
731
std::unique_ptr<float[]> gaussian(new float[2 *
intRadius
+ 1]);
735
Blur::horizontal(gaussian.get(),
intRadius
, *image, scratch.get(), width, height);
736
Blur::vertical(gaussian.get(),
intRadius
, scratch.get(), *image, width, height)
[
all
...]
Completed in 716 milliseconds