diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/HwAccelerationTest/src/com/android/test/hwui/ProjectionActivity.java | 4 | ||||
-rw-r--r-- | tests/RenderThreadTest/src/com/example/renderthread/MainActivity.java | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/ProjectionActivity.java b/tests/HwAccelerationTest/src/com/android/test/hwui/ProjectionActivity.java index 208c387..5ba3ad9 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/ProjectionActivity.java +++ b/tests/HwAccelerationTest/src/com/android/test/hwui/ProjectionActivity.java @@ -8,7 +8,7 @@ import android.os.Bundle; import android.app.Activity; import android.util.AttributeSet; -import android.view.DisplayList; +import android.view.RenderNode; import android.view.View; import android.widget.LinearLayout; @@ -46,7 +46,7 @@ public class ProjectionActivity extends Activity { } private void setProject(boolean value) { - DisplayList displayList = getDisplayList(); + RenderNode displayList = getDisplayList(); if (displayList != null) { displayList.setProjectBackwards(value); } diff --git a/tests/RenderThreadTest/src/com/example/renderthread/MainActivity.java b/tests/RenderThreadTest/src/com/example/renderthread/MainActivity.java index a39aba8..09531fd 100644 --- a/tests/RenderThreadTest/src/com/example/renderthread/MainActivity.java +++ b/tests/RenderThreadTest/src/com/example/renderthread/MainActivity.java @@ -7,7 +7,7 @@ import android.content.Intent; import android.os.Bundle; import android.os.Handler; import android.os.SystemClock; -import android.view.DisplayList; +import android.view.RenderNode; import android.view.HardwareRenderer; import android.view.ThreadedRenderer; import android.view.View; @@ -70,7 +70,7 @@ public class MainActivity extends Activity implements OnItemClickListener { private static final TimeInterpolator sDefaultInterpolator = new AccelerateDecelerateInterpolator(); - DisplayList mDisplayList; + RenderNode mDisplayList; float mFromValue; float mDelta; long mDuration = DURATION * 2; |