summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorAdrian Roos <roosa@google.com>2017-11-22 14:21:01 +0100
committerAdrian Roos <roosa@google.com>2018-05-18 20:58:38 +0000
commitf7b7426d81c5365473d00362cf158aa5ae35cee3 (patch)
treef4aac2d79f7e3cff23ecba7d384e7475ee572d36 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent6d0842154bb063632f937ef360557af281b6c2cb (diff)
Display Cutout: Fix ActionBarOverlayLayout to properly dispatch cutout
ActionBarOverlayLayout used to drop WindowInsets, extract the content insets as a rect, and then dispatch a modified rect to the content view; this because there was no way to retarget the WindowInsets to the content view, and the WindowInsets were not truly immutable. That means however, that other kinds of insets than the content insets do not get dispatched, such as the display cutout. To fix this, we add APIs to inset WindowInsets, make them immutable. Note that a similar change is needed for the support lib. Bug: 79733300 Test: atest ActionBarOverlayLayoutTest Change-Id: I6a69d8462163ca5e66fdb53f83def6bc4063f8aa
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions