Rename & package shuffle
Rename DisplayListCanvas -> RecordingCanvas Move RecordingCanvas to android.graphics Move RenderNode to android.graphics Bug: 112709971 Test: make & boot Change-Id: Iddeb6a89f8923ea81a1f37bbee4e9b1db8ede238
This commit is contained in:
@@ -30,8 +30,6 @@ import android.os.StrictMode;
|
||||
import android.os.Trace;
|
||||
import android.util.DisplayMetrics;
|
||||
import android.util.Log;
|
||||
import android.view.DisplayListCanvas;
|
||||
import android.view.RenderNode;
|
||||
import android.view.ThreadedRenderer;
|
||||
|
||||
import dalvik.annotation.optimization.CriticalNative;
|
||||
@@ -1254,7 +1252,7 @@ public final class Bitmap implements Parcelable {
|
||||
node.setLeftTopRightBottom(0, 0, width, height);
|
||||
node.setClipToBounds(false);
|
||||
node.setAllowForceDark(false);
|
||||
final DisplayListCanvas canvas = node.start(width, height);
|
||||
final RecordingCanvas canvas = node.start(width, height);
|
||||
if (source.getWidth() != width || source.getHeight() != height) {
|
||||
canvas.scale(width / (float) source.getWidth(),
|
||||
height / (float) source.getHeight());
|
||||
|
||||
Reference in New Issue
Block a user