Searched refs:parentView (Results 1 – 2 of 2) sorted by relevance
295 private void traverseViewAndStructure(View parentView, ViewNode parentNode, in traverseViewAndStructure() argument299 if (parentView == null && parentNode == null) { in traverseViewAndStructure()302 } else if (parentNode == null || parentView == null) { in traverseViewAndStructure()303 fail(String.format("Views don't match. View: %s, Node: %s", parentView, parentNode)); in traverseViewAndStructure()307 Log.i(TAG, "parentView is of type: " + parentView.getClass().getName()); in traverseViewAndStructure()308 if (parentView instanceof ViewGroup) { in traverseViewAndStructure()309 for (int childInt = 0; childInt < ((ViewGroup) parentView).getChildCount(); in traverseViewAndStructure()313 + ((ViewGroup) parentView).getChildAt(childInt).getClass().getName()); in traverseViewAndStructure()317 if (parentView.getId() > 0) { in traverseViewAndStructure()318 parentViewId = mTestActivity.getResources().getResourceEntryName(parentView.getId()); in traverseViewAndStructure()[all …]
130 ViewGroup parentView = (ViewGroup) findViewById(R.id.permission_lockdown_activity); in addFinishOrPassFailButtons() local132 parentView.addView( in addFinishOrPassFailButtons()133 getLayoutInflater().inflate(R.layout.pass_fail_buttons, parentView, false)); in addFinishOrPassFailButtons()146 parentView.addView(finishButton); in addFinishOrPassFailButtons()