Searched refs:fractionRendered (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/core/java/com/android/server/wm/ |
D | TrustedPresentationListenerController.java | 274 float fractionRendered = computeFractionRendered(region, new RectF(tmpRect), in computeTpl() local 278 checkIfInThreshold(listeners, listenerUpdates, fractionRendered, windowHandle.alpha, in computeTpl() 317 float fractionRendered, float alpha, long currTimeMs) { in checkIfInThreshold() argument 319 fractionRendered, alpha, currTimeMs); in checkIfInThreshold() 326 && (fractionRendered >= trustedPresentationInfo.mThresholds in checkIfInThreshold() 334 fractionRendered, trustedPresentationInfo.mThresholds in checkIfInThreshold() 388 float fractionRendered = Math.min(sx * sy, 1.0f); in computeFractionRendered() local 389 ProtoLog.v(WM_DEBUG_TPL, "fractionRendered scale=%f", fractionRendered); in computeFractionRendered() 393 fractionRendered *= boundsOverSourceW * boundsOverSourceH; in computeFractionRendered() 394 ProtoLog.v(WM_DEBUG_TPL, "fractionRendered boundsOverSource=%f", fractionRendered); in computeFractionRendered() [all …]
|
/frameworks/native/services/surfaceflinger/ |
D | Layer.cpp | 470 float fractionRendered = std::min(sx * sy, 1.0f); in computeTrustedPresentationState() local 474 fractionRendered *= boundsOverSourceW * boundsOverSourceH; in computeTrustedPresentationState() 484 fractionRendered *= (1 - (coveredSize / (screenBounds.getWidth() * screenBounds.getHeight()))); in computeTrustedPresentationState() 486 if (fractionRendered < thresholds.minFractionRendered) { in computeTrustedPresentationState()
|