Home
last modified time | relevance | path

Searched refs:viewId (Results 1 – 13 of 13) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DPassFailButtons.java95 void setInfoResources(int titleId, int messageId, int viewId); in setInfoResources() argument
169 public void setInfoResources(int titleId, int messageId, int viewId) { in setInfoResources() argument
170 setInfo(this, titleId, messageId, viewId); in setInfoResources()
253 public void setInfoResources(int titleId, int messageId, int viewId) { in setInfoResources() argument
254 setInfo(this, titleId, messageId, viewId); in setInfoResources()
340 public void setInfoResources(int titleId, int messageId, int viewId) { in setInfoResources() argument
341 setInfo(this, titleId, messageId, viewId); in setInfoResources()
455 final int messageId, final int viewId) { in setInfo() argument
462 showInfoDialog(activity, titleId, messageId, viewId); in setInfo()
475 showInfoDialog(activity, titleId, messageId, viewId); in setInfo()
[all …]
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DDragDropTest.java185 private void expectEvent5(int action, int viewId) { in expectEvent5() argument
186 View v = mActivity.findViewById(viewId); in expectEvent5()
192 private void expectEndEvent(int viewId, float x, float y, boolean result) { in expectEndEvent() argument
193 View v = mActivity.findViewById(viewId); in expectEndEvent()
200 private void expectEndEventSuccess(int viewId) { in expectEndEventSuccess() argument
201 expectEndEvent(viewId, 0, 0, true); in expectEndEventSuccess()
206 private void expectEndEventFailure6(int viewId, int releaseViewId) { in expectEndEventFailure6() argument
207 View v = mActivity.findViewById(viewId); in expectEndEventFailure6()
219 private void expectEventWithOffset(int action, int viewId, int locationViewId, int offset) { in expectEventWithOffset() argument
220 View v = mActivity.findViewById(viewId); in expectEventWithOffset()
[all …]
/cts/tests/app/shared/src/android/app/cts/
DNotificationTemplateTestBase.kt83 val viewId = getAndroidRId(idName) in <lambda>() constant
84 return notificationRoot.findViewById<T>(viewId) in <lambda>()
85 ?: throw NullPointerException("No view with id: android.R.id.$idName ($viewId)") in <lambda>()
/cts/tests/tests/transition/src/android/transition/cts/
DPropagationTest.java226 private TransitionValues capturePropagationValues(int viewId) { in capturePropagationValues() argument
227 TransitionValues transitionValues = new TransitionValues(mSceneRoot.findViewById(viewId)); in capturePropagationValues()
232 private long getDelay(int viewId) { in getDelay() argument
233 TransitionValues transitionValues = capturePropagationValues(viewId); in getDelay()
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DActivityTransitionActivity.java294 public VisibilityCheck(int viewId, OptionalVisibility visibility) { in VisibilityCheck() argument
295 mViewId = viewId; in VisibilityCheck()
300 public VisibilityCheck(int viewId, String propertyName) { in VisibilityCheck() argument
301 mViewId = viewId; in VisibilityCheck()
/cts/tests/accessibility/common/src/android/accessibility/cts/common/
DAccessibilityDumper.java193 final String viewId = node.getViewIdResourceName(); in appendNodeText() local
200 if (!TextUtils.isEmpty(viewId)) { in appendNodeText()
201 out.append("(").append(viewId).append(")"); in appendNodeText()
/cts/hostsidetests/appsecurity/test-apps/IsolatedSplitApp/src/com/android/cts/isolatedsplitapp/
DSplitAppTest.java446 final int viewId = activity.getResources().getIdentifier(nameOfIdentifier, null, null); in assertTextViewBGColor() local
447 assertThat(viewId, not(equalTo(0))); in assertTextViewBGColor()
449 final View view = activity.findViewById(viewId); in assertTextViewBGColor()
/cts/tests/tests/view/src/android/view/cts/
DLayoutInflaterTest.java392 private void checkViewTag(View parent, int viewId, int tagId, int valueResId) { in checkViewTag() argument
393 final View target = parent.findViewById(viewId); in checkViewTag()
394 assertNotNull("Found target view for " + viewId, target); in checkViewTag()
DViewTest.java2894 int viewId = R.id.mock_view; in testSaveAndRestoreHierarchyState() local
2895 MockView view = (MockView) mActivity.findViewById(viewId); in testSaveAndRestoreHierarchyState()
2900 assertEquals(viewId, container.keyAt(0)); in testSaveAndRestoreHierarchyState()
2911 assertEquals(viewId, container.keyAt(0)); in testSaveAndRestoreHierarchyState()
2914 container.put(viewId, new android.graphics.Rect()); in testSaveAndRestoreHierarchyState()
/cts/tests/tests/assist/src/android/assist/cts/
DAssistTestBase.java603 int viewId = parentView.getId(); in verifyViewProperties() local
605 if (viewId > 0) { in verifyViewProperties()
608 .isEqualTo(mTestActivity.getResources().getResourceEntryName(viewId)); in verifyViewProperties()
/cts/tests/tests/widget/src/android/widget/cts/
DRemoteViewsRecyclingTest.java424 private RemoteViews createRemoteViews(int layout, int viewId) { in createRemoteViews() argument
425 return new RemoteViews(PACKAGE_NAME, layout, viewId); in createRemoteViews()
DTextViewTest.java8779 private TextView prepareAndRetrieveAutoSizeTestData(final int viewId, in prepareAndRetrieveAutoSizeTestData() argument
8783 TextView targetedTextView = (TextView) mActivity.findViewById(viewId); in prepareAndRetrieveAutoSizeTestData()
8789 final TextView textView = (TextView) mActivity.findViewById(viewId); in prepareAndRetrieveAutoSizeTestData()
/cts/tests/fragment/src/android/fragment/cts/
DFragmentViewTests.java1000 private View findViewById(int viewId) { in findViewById() argument
1001 return mActivityRule.getActivity().findViewById(viewId); in findViewById()