Exemplo n.º 1
0
 private void recycle() {
   stopDecodingThisNode();
   setBitmap(null);
   if (treeNodes != null) {
     for (PageTreeNode child : treeNodes) {
       child.recycle();
     }
   }
 }
Exemplo n.º 2
0
 private void recycleChildren() {
   if (treeNodes == null) {
     return;
   }
   for (PageTreeNode child : treeNodes) {
     child.recycle();
   }
   if (!childrenContainBitmaps()) {
     treeNodes = null;
   }
 }