summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorCraig Mautner <cmautner@google.com>2012-04-16 15:42:47 -0700
committerCraig Mautner <cmautner@google.com>2012-04-16 15:52:48 -0700
commit3255a28b6a18bb97f0e533dc1673c5e28837b4f2 (patch)
treee3d046bdfb0f16ce95f58d2e326d1a5db3af1947 /graphics/java/android/renderscript/ProgramVertexFixedFunction.java
parenta0e9d0f60eb33e480be7e02b08863be588f4df7d (diff)
Clear orientation variable until rotation is done.
In the old code orientationChangeComplete was set to true on each pass through perfomLayout. If any window was rotating the variable was set to false on the way through the performLayout. Since we can now make passes through performLayout before any animation step occurs we were seeing mOrientationChangeComplete true prior to rotation completing. This change sets mOrientationChangeComplete false at the start of a rotation and sets it to true if we ever get through an animation step without encountering any rotating windows. Change-Id: I37690cf20868dfbaac94a81640bc4d9cb9fb8f00
Diffstat (limited to 'graphics/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions