Searched refs:mCustomView (Results 1 – 6 of 6) sorted by relevance
/cts/tests/inputmethod/src/android/view/inputmethod/cts/util/ |
D | WindowFocusStealerService.java | 38 private TextView mCustomView; field in WindowFocusStealerService 66 mCustomView = new TextView(this) { in handleStealWindowFocus() 79 mCustomView.setText("Popup"); in handleStealWindowFocus() 80 mCustomView.setBackground(new ColorDrawable(Color.CYAN)); in handleStealWindowFocus() 81 mCustomView.setElevation(0.5f); in handleStealWindowFocus() 93 mWm.addView(mCustomView, params); in handleStealWindowFocus() 98 if (mCustomView != null) { in handleReset() 99 getSystemService(WindowManager.class).removeView(mCustomView); in handleReset() 100 mCustomView = null; in handleReset()
|
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/ |
D | CustomViewActivity.java | 59 CustomView mCustomView; field in CustomViewActivity 77 mCustomView = findViewById(R.id.custom_view); in onCreate() 78 Log.d(TAG, "onCreate(): custom view id is " + mCustomView.getAutofillId()); in onCreate() 80 Log.d(TAG, "Setting delegate on " + mCustomView); in onCreate() 81 mCustomView.setContentCaptureDelegate( in onCreate() 82 (structure) -> sCustomViewDelegate.visit(mCustomView, structure)); in onCreate() 120 final View grandpa1 = (View) mCustomView.getParent(); in assertJustInitialViewsAppeared() 137 assertViewWithUnknownParentAppeared(events, 5, session.id, mCustomView); in assertJustInitialViewsAppeared() 151 getDecorView().getAutofillId(), mCustomView.getAutofillId()); in assertInitialViewsDisappeared()
|
D | CustomViewActivityTest.java | 132 final View grandpa1 = (View) activity.mCustomView.getParent(); in testSessionLifecycleEvents() 135 final AutofillId customViewId = activity.mCustomView.getAutofillId(); in testSessionLifecycleEvents() 197 final View grandpa1 = (View) activity.mCustomView.getParent(); in testVirtualView_wrongWay() 200 final AutofillId customViewId = activity.mCustomView.getAutofillId(); in testVirtualView_wrongWay() 208 final ContentCaptureSession mainSession = activity.mCustomView.getContentCaptureSession(); in testVirtualView_wrongWay() 219 .assertViewAppeared(session.id, activity.mCustomView) in testVirtualView_wrongWay() 278 final AutofillId customViewId = activity.mCustomView.getAutofillId(); in testVirtualView_oneLevel() 279 final ContentCaptureSession mainSession = activity.mCustomView.getContentCaptureSession(); in testVirtualView_oneLevel() 392 final AutofillId customViewId = activity.mCustomView.getAutofillId(); in testVirtualView_multipleLevels() 393 final ContentCaptureSession mainSession = activity.mCustomView.getContentCaptureSession(); in testVirtualView_multipleLevels() [all …]
|
/cts/tests/autofillservice/src/android/autofillservice/cts/activities/ |
D | VirtualContainerActivity.java | 48 public VirtualContainerView mCustomView; field in VirtualContainerActivity 63 mCustomView = findViewById(R.id.virtual_container_view); in onCreate() 66 mUsername = mCustomView.addLine(ID_USERNAME_LABEL, "Username", ID_USERNAME, BLANK_VALUE, in onCreate() 68 mPassword = mCustomView.addLine(ID_PASSWORD_LABEL, "Password", ID_PASSWORD, BLANK_VALUE, in onCreate() 76 getAutofillManager().requestAutofill(mCustomView, line.text.id, line.bounds); in requestAutofill()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/dropdown/ |
D | VirtualContainerActivityTest.java | 135 mActivity.mCustomView.setAutofillManager(mActivity.getApplicationContext()); in testAutofill_appContext() 185 mActivity.mCustomView.setSync(sync); in autofillTest() 307 mActivity.mCustomView.setOverrideDispatchProvideAutofillStructure(true); in testAutofillOverrideDispatchProvideAutofillStructure() 378 mActivity.mCustomView, mActivity.mUsername.text.id, in autofillManuallyTwoDatasets() 409 callback.assertUiShownEvent(mActivity.mCustomView, mActivity.mUsername.text.id); in testAutofillCallbacks() 413 callback.assertUiHiddenEvent(mActivity.mCustomView, mActivity.mUsername.text.id); in testAutofillCallbacks() 414 callback.assertUiShownEvent(mActivity.mCustomView, mActivity.mPassword.text.id); in testAutofillCallbacks() 428 callback.assertUiUnavailableEvent(mActivity.mCustomView, mActivity.mUsername.text.id); in testAutofillCallbackDisabled() 449 callback.assertUiUnavailableEvent(mActivity.mCustomView, mActivity.mUsername.text.id); in testAutofillCallbackNoDatasets() 472 callback.assertUiUnavailableEvent(mActivity.mCustomView, mActivity.mUsername.text.id); in testAutofillCallbackNoDatasetsButSaveInfo() [all …]
|
D | VirtualContainerActivityCompatModeTest.java | 86 mActivity.mCustomView.setCompatMode(true); in postActivityLaunched()
|