Home
last modified time | relevance | path

Searched refs:parentView (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/assist/src/android/assist/cts/
DAssistTestBase.java295 private void traverseViewAndStructure(View parentView, ViewNode parentNode, in traverseViewAndStructure() argument
299 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 …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DPermissionLockdownTestActivity.java130 ViewGroup parentView = (ViewGroup) findViewById(R.id.permission_lockdown_activity); in addFinishOrPassFailButtons() local
132 parentView.addView( in addFinishOrPassFailButtons()
133 getLayoutInflater().inflate(R.layout.pass_fail_buttons, parentView, false)); in addFinishOrPassFailButtons()
146 parentView.addView(finishButton); in addFinishOrPassFailButtons()