Lines Matching defs:viewGroup
29 import android.view.ViewGroup;
49 import static android.view.ViewGroup.LayoutParams.MATCH_PARENT;
197 addAll(buttonDispatcher, (ViewGroup) mRot0.findViewById(R.id.ends_group));
198 addAll(buttonDispatcher, (ViewGroup) mRot0.findViewById(R.id.center_group));
199 addAll(buttonDispatcher, (ViewGroup) mRot90.findViewById(R.id.ends_group));
200 addAll(buttonDispatcher, (ViewGroup) mRot90.findViewById(R.id.center_group));
203 private void addAll(ButtonDispatcher buttonDispatcher, ViewGroup parent) {
210 } else if (parent.getChildAt(i) instanceof ViewGroup) {
211 addAll(buttonDispatcher, (ViewGroup) parent.getChildAt(i));
243 private void inflateButtons(String[] buttons, ViewGroup parent, boolean landscape,
250 private ViewGroup.LayoutParams copy(ViewGroup.LayoutParams layoutParams) {
259 protected View inflateButton(String buttonSpec, ViewGroup parent, boolean landscape,
305 ViewGroup.LayoutParams params = v.getLayoutParams();
310 private View createView(String buttonSpec, ViewGroup parent, LayoutInflater inflater) {
394 } else if (v instanceof ViewGroup) {
395 final ViewGroup viewGroup = (ViewGroup)v;
396 final int N = viewGroup.getChildCount();
398 addToDispatchers(viewGroup.getChildAt(i));
416 private void clearAllChildren(ViewGroup group) {
418 ((ViewGroup) group.getChildAt(i)).removeAllViews();