if (parent != null) parent.preferenceChanged(this, width, height);
View p = getParent(); if (p != null) p.preferenceChanged(this, width, height);
  public void preferenceChanged(View child, boolean width, boolean height)  {    if (parent != null)      parent.preferenceChanged(this, width, height);  }