// Removes a child from this GLView.
 public boolean removeComponent(GLView component) {
   if (mComponents == null) return false;
   if (mComponents.remove(component)) {
     removeOneComponent(component);
     return true;
   }
   return false;
 }
 // Removes all children of this GLView.
 public void removeAllComponents() {
   for (int i = 0, n = mComponents.size(); i < n; ++i) {
     removeOneComponent(mComponents.get(i));
   }
   mComponents.clear();
 }