FileDocCategorySizeDatePackage
PathDestructionActivity.javaAPI DocAndroid 5.1 API3638Thu Mar 12 22:22:44 GMT 2015com.android.test.hwui

PathDestructionActivity

public class PathDestructionActivity extends android.app.Activity
The point of this test is to ensure that we can cause many paths to be created, drawn, and destroyed without causing hangs or crashes. This tests the native reference counting scheme in particular, because we should be able to have the Java-level path finalized without destroying the underlying native path object until we are done referencing it in pending DisplayLists.

Fields Summary
private static final int
MIN_SIZE
Constructors Summary
Methods Summary
protected voidonCreate(android.os.Bundle savedInstanceState)

    
        
        super.onCreate(savedInstanceState);

        MyView view = new MyView(this);
        setContentView(view);