Home
last modified time | relevance | path

Searched refs:mCustomView (Results 1 – 6 of 6) sorted by relevance

/cts/tests/inputmethod/src/android/view/inputmethod/cts/util/
DWindowFocusStealerService.java38 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/
DCustomViewActivity.java55 CustomView mCustomView; field in CustomViewActivity
73 mCustomView = findViewById(R.id.custom_view); in onCreate()
74 Log.d(TAG, "onCreate(): custom view id is " + mCustomView.getAutofillId()); in onCreate()
76 Log.d(TAG, "Setting delegate on " + mCustomView); in onCreate()
77 mCustomView.setContentCaptureDelegate( in onCreate()
78 (structure) -> sCustomViewDelegate.visit(mCustomView, structure)); in onCreate()
116 final View grandpa1 = (View) mCustomView.getParent(); in assertJustInitialViewsAppeared()
129 assertViewWithUnknownParentAppeared(events, 1, session.id, mCustomView); in assertJustInitialViewsAppeared()
142 getDecorView().getAutofillId(), mCustomView.getAutofillId()); in assertInitialViewsDisappeared()
DCustomViewActivityTest.java147 final View grandpa1 = (View) activity.mCustomView.getParent(); in testVirtualView_wrongWay()
150 final AutofillId customViewId = activity.mCustomView.getAutofillId(); in testVirtualView_wrongWay()
164 final ContentCaptureSession mainSession = activity.mCustomView.getContentCaptureSession(); in testVirtualView_wrongWay()
169 assertViewWithUnknownParentAppeared(events, 3, session.id, activity.mCustomView); in testVirtualView_wrongWay()
230 final AutofillId customViewId = activity.mCustomView.getAutofillId(); in testVirtualView_oneLevel()
231 final ContentCaptureSession mainSession = activity.mCustomView.getContentCaptureSession(); in testVirtualView_oneLevel()
344 final AutofillId customViewId = activity.mCustomView.getAutofillId(); in testVirtualView_multipleLevels()
345 final ContentCaptureSession mainSession = activity.mCustomView.getContentCaptureSession(); in testVirtualView_multipleLevels()
410 final AutofillId customViewId = activity.mCustomView.getAutofillId(); in testVirtualView_batchDisappear()
411 final ContentCaptureSession mainSession = activity.mCustomView.getContentCaptureSession(); in testVirtualView_batchDisappear()
/cts/tests/autofillservice/src/android/autofillservice/cts/
DVirtualContainerActivity.java47 VirtualContainerView mCustomView; field in VirtualContainerActivity
62 mCustomView = findViewById(R.id.virtual_container_view); in onCreate()
65 mUsername = mCustomView.addLine(ID_USERNAME_LABEL, "Username", ID_USERNAME, BLANK_VALUE, in onCreate()
67 mPassword = mCustomView.addLine(ID_PASSWORD_LABEL, "Password", ID_PASSWORD, BLANK_VALUE, in onCreate()
75 getAutofillManager().requestAutofill(mCustomView, line.text.id, line.bounds); in requestAutofill()
DVirtualContainerActivityTest.java125 mActivity.mCustomView.setAutofillManager(mActivity.getApplicationContext()); in testAutofill_appContext()
175 mActivity.mCustomView.setSync(sync); in autofillTest()
296 mActivity.mCustomView.setOverrideDispatchProvideAutofillStructure(true); in testAutofillOverrideDispatchProvideAutofillStructure()
366 mActivity.mCustomView, mActivity.mUsername.text.id, in autofillManuallyTwoDatasets()
396 callback.assertUiShownEvent(mActivity.mCustomView, mActivity.mUsername.text.id); in testAutofillCallbacks()
400 callback.assertUiHiddenEvent(mActivity.mCustomView, mActivity.mUsername.text.id); in testAutofillCallbacks()
401 callback.assertUiShownEvent(mActivity.mCustomView, mActivity.mPassword.text.id); in testAutofillCallbacks()
415 callback.assertUiUnavailableEvent(mActivity.mCustomView, mActivity.mUsername.text.id); in testAutofillCallbackDisabled()
436 callback.assertUiUnavailableEvent(mActivity.mCustomView, mActivity.mUsername.text.id); in testAutofillCallbackNoDatasets()
459 callback.assertUiUnavailableEvent(mActivity.mCustomView, mActivity.mUsername.text.id); in testAutofillCallbackNoDatasetsButSaveInfo()
[all …]
DVirtualContainerActivityCompatModeTest.java81 mActivity.mCustomView.setCompatMode(true); in postActivityLaunched()