Home
last modified time | relevance | path

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

/cts/tests/tests/assist/src/android/assist/cts/
DAssistTestBase.java389 private void traverseViewAndStructure(View parentView, ViewNode parentNode, in traverseViewAndStructure() argument
393 if (parentView == null && parentNode == null) { in traverseViewAndStructure()
396 } else if (parentNode == null || parentView == null) { in traverseViewAndStructure()
397 fail(String.format("Views don't match. View: %s, Node: %s", parentView, parentNode)); in traverseViewAndStructure()
401 Log.i(TAG, "parentView is of type: " + parentView.getClass().getName()); in traverseViewAndStructure()
402 if (parentView instanceof ViewGroup) { in traverseViewAndStructure()
403 for (int childInt = 0; childInt < ((ViewGroup) parentView).getChildCount(); in traverseViewAndStructure()
407 + ((ViewGroup) parentView).getChildAt(childInt).getClass().getName()); in traverseViewAndStructure()
411 if (parentView.getId() > 0) { in traverseViewAndStructure()
412 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()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DViewFadingEdgeTests.java75 private FadingView attachFadingView(View parentView) { in attachFadingView() argument
76 final FadingView child = new FadingView(parentView.getContext()); in attachFadingView()
81 FrameLayout root = (FrameLayout) parentView.findViewById(R.id.frame_layout); in attachFadingView()