summaryrefslogtreecommitdiff
path: root/libs/hwui/RenderNode.h
diff options
context:
space:
mode:
author John Reck <jreck@google.com> 2018-09-27 17:39:45 -0700
committer John Reck <jreck@google.com> 2018-10-02 11:19:55 -0700
commit3b4510cd774d1a9e48b4758e95b02e7b32853607 (patch)
treef3c1be240a0c4e2dff4b1bcdca675914e22d43ff /libs/hwui/RenderNode.h
parentab5c506b6aeb1ae192eb3555108c2072acf77e3f (diff)
Auto-dark NinePatches & launcher
Support palette for ninepatches (fixes popupwindow) Crude heuristic tweak to treat any RenderNode that fully contains other nodes as background nodes. Test: all apps is now readable, and so is chrome's menu Change-Id: I9926973c0be1dbf0088fa2d61e4ee2a414b19a97
Diffstat (limited to 'libs/hwui/RenderNode.h')
-rw-r--r--libs/hwui/RenderNode.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/hwui/RenderNode.h b/libs/hwui/RenderNode.h
index 211dd2db5cf8..be0b46b1c45f 100644
--- a/libs/hwui/RenderNode.h
+++ b/libs/hwui/RenderNode.h
@@ -220,6 +220,7 @@ private:
void syncProperties();
void syncDisplayList(TreeObserver& observer, TreeInfo* info);
+ void handleForceDark(TreeInfo* info);
void prepareTreeImpl(TreeObserver& observer, TreeInfo& info, bool functorsNeedLayer);
void pushStagingPropertiesChanges(TreeInfo& info);