Home
last modified time | relevance | path

Searched refs:UsageHint (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/libs/hwui/
DRenderNode.cpp319 usage = UsageHint::Foreground; in handleForceDark()
321 if (usage == UsageHint::Unknown) { in handleForceDark()
323 usage = UsageHint::Background; in handleForceDark()
326 UsageHint::Background) { in handleForceDark()
327 usage = UsageHint::Background; in handleForceDark()
340 child->setUsageHint(UsageHint::Background); in handleForceDark()
346 usage == UsageHint::Background ? ColorTransform::Dark : ColorTransform::Light); in handleForceDark()
DRenderNode.h210 void setUsageHint(UsageHint usageHint) { mUsageHint = usageHint; } in setUsageHint()
212 UsageHint usageHint() const { return mUsageHint; } in usageHint()
280 UsageHint mUsageHint = UsageHint::Unknown;
DCanvasTransform.h28 enum class UsageHint { enum
/frameworks/base/graphics/java/android/graphics/
DRenderNode.java879 public @interface UsageHint { annotation in RenderNode
902 public void setUsageHint(@UsageHint int usageHint) { in setUsageHint()
/frameworks/base/core/jni/
Dandroid_view_RenderNode.cpp228 renderNode->setUsageHint(static_cast<UsageHint>(usageHint)); in android_view_RenderNode_setUsageHint()