Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DRenderNode.cpp338 usage = UsageHint::Foreground; in handleForceDark()
340 if (usage == UsageHint::Unknown) { in handleForceDark()
342 usage = UsageHint::Background; in handleForceDark()
345 UsageHint::Background) { in handleForceDark()
346 usage = UsageHint::Background; in handleForceDark()
359 child->setUsageHint(UsageHint::Background); in handleForceDark()
365 usage == UsageHint::Background ? ColorTransform::Dark : ColorTransform::Light); in handleForceDark()
DRenderNode.h212 void setUsageHint(UsageHint usageHint) { mUsageHint = usageHint; } in setUsageHint()
214 UsageHint usageHint() const { return mUsageHint; } in usageHint()
282 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/libs/hwui/jni/
Dandroid_graphics_RenderNode.cpp226 renderNode->setUsageHint(static_cast<UsageHint>(usageHint)); in android_view_RenderNode_setUsageHint()