Home
last modified time | relevance | path

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

/frameworks/base/tests/RenderScriptTests/ImageProcessing/src/com/android/rs/image/
Dvertical_blur.rs70 int validH = rsClamp((int)y + r, (int)0, (int)(fs->height - 1));
71 const float4 *i = (const float4 *)rsGetElementAt(fs->ain, x, validH);
/frameworks/base/libs/hwui/
DFontRenderer.cpp884 int validH = y + r; in verticalBlur() local
886 if (validH < 0) { in verticalBlur()
887 validH = 0; in verticalBlur()
889 if (validH > height - 1) { in verticalBlur()
890 validH = height - 1; in verticalBlur()
893 const uint8_t *i = input + validH * width; in verticalBlur()