Home
last modified time | relevance | path

Searched refs:contentView (Results 1 – 15 of 15) sorted by relevance

/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/utils/
DTestFocusActivity.java40 final LinearLayout contentView = new LinearLayout(this); in onCreate() local
41 contentView.setOrientation(LinearLayout.HORIZONTAL); in onCreate()
60 contentView.addView(button); in onCreate()
62 setContentView(contentView); in onCreate()
65 contentView.getViewTreeObserver().addOnTouchModeChangeListener(isInTouchMode -> Log.d( in onCreate()
/cts/tests/tests/view/src/android/view/cts/
DActionModeCtsActivity.java26 public View contentView; field in ActionModeCtsActivity
32 contentView = new FrameLayout(this); in onCreate()
33 setContentView(contentView); in onCreate()
DSystemGestureExclusionRectsTest.java220 final View contentView = activity.findViewById(R.id.abslistview_root); in ignoreHiddenViewRects() local
251 contentView.setVisibility(View.INVISIBLE); in ignoreHiddenViewRects()
262 contentView.setVisibility(View.VISIBLE); in ignoreHiddenViewRects()
DActionModeTest.java100 final View view = mActivity.contentView; in testInvalidateContentRectOnFloatingCallsCallback()
/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/
DHandleConfigurationActivity.java28 public View contentView; field in HandleConfigurationActivity
33 contentView = new FrameLayout(this); in onCreate()
34 setContentView(contentView); in onCreate()
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/
DCloseOnOutsideTestActivity.java42 View contentView = getWindow().getDecorView().findViewById(android.R.id.content); in setupWindowSize() local
43 int width = contentView.getWidth(); in setupWindowSize()
44 int height = contentView.getHeight(); in setupWindowSize()
/cts/tests/framework/base/windowmanager/src/android/server/wm/backnavigation/
DBackGestureInvokedTest.java194 FrameLayout contentView = new FrameLayout(this); in addPopupWindow() local
195 contentView.setBackgroundColor(Color.RED); in addPopupWindow()
196 PopupWindow popup = new PopupWindow(contentView, ViewGroup.LayoutParams.MATCH_PARENT, in addPopupWindow()
201 contentView.setFocusable(true); in addPopupWindow()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DNavigationBarColorTest.java141 final View contentView; in launchTestActivity()
153 contentView = layout; in launchTestActivity()
161 contentView = view; in launchTestActivity()
168 updateSystemUiVisibility(contentView, in launchTestActivity()
171 return contentView; in launchTestActivity()
/cts/tests/framework/base/biometrics/src/android/server/biometrics/
DBiometricPromptContentViewTest.java178 final PromptContentViewWithMoreOptionsButton contentView = in testMoreOptionsButton_clickButton() local
185 "description", contentView, "negative button"); in testMoreOptionsButton_clickButton() local
222 final PromptContentViewWithMoreOptionsButton contentView = in testMoreOptionsButton_withoutPermissionException() local
229 "title", "subtitle", "description", contentView, in testMoreOptionsButton_withoutPermissionException()
301 final PromptContentViewWithMoreOptionsButton contentView = in testMoreOptionsButton_onlyCredential_clickButton() local
318 contentView); in testMoreOptionsButton_onlyCredential_clickButton()
DBiometricTestBase.java372 @NonNull String description, @Nullable PromptContentView contentView) throws Exception { in showCredentialOnlyBiometricPromptWithContents() argument
379 .setContentView(contentView) in showCredentialOnlyBiometricPromptWithContents()
386 waitForCredentialIdle(shouldShow, contentView instanceof PromptVerticalListContentView); in showCredentialOnlyBiometricPromptWithContents()
458 @Nullable PromptContentView contentView, @NonNull String negativeButtonText) in showDefaultBiometricPromptWithContents() argument
466 .setContentView(contentView) in showDefaultBiometricPromptWithContents()
/cts/tests/tests/security/src/android/security/cts/
DMotionEventTest.java144 final View contentView = decorView.findViewById(android.R.id.content); in testActionOutsideDoesNotContainedObscuredInformation()
145 contentView.getLocationOnScreen(contentViewLocation); in testActionOutsideDoesNotContainedObscuredInformation()
147 … return new Point(contentViewLocation[0], contentViewLocation[1] + contentView.getHeight() / 2); in testActionOutsideDoesNotContainedObscuredInformation()
/cts/tests/framework/base/windowmanager/src/android/server/wm/insets/
DWindowInsetsPolicyTest.java183 View contentView = decorView.findViewById(android.R.id.content); in testNonAutomotiveFullScreenNotBlockedBySystemComponents() local
184 boolean hasFullWidth = decorView.getMeasuredWidth() == contentView.getMeasuredWidth(); in testNonAutomotiveFullScreenNotBlockedBySystemComponents()
185 boolean hasFullHeight = decorView.getMeasuredHeight() == contentView.getMeasuredHeight(); in testNonAutomotiveFullScreenNotBlockedBySystemComponents()
/cts/tests/tests/widget/src/android/widget/cts/
DPopupWindowTest.java171 TextView contentView = new TextView(mActivity); in testSize() local
172 mPopupWindow = new PopupWindow(contentView); in testSize()
173 assertSame(contentView, mPopupWindow.getContentView()); in testSize()
175 mPopupWindow = new PopupWindow(contentView, 0, 0); in testSize()
178 assertSame(contentView, mPopupWindow.getContentView()); in testSize()
180 mPopupWindow = new PopupWindow(contentView, 50, 50); in testSize()
183 assertSame(contentView, mPopupWindow.getContentView()); in testSize()
185 mPopupWindow = new PopupWindow(contentView, -1, -1); in testSize()
188 assertSame(contentView, mPopupWindow.getContentView()); in testSize()
190 mPopupWindow = new PopupWindow(contentView, 0, 0, true); in testSize()
[all …]
/cts/tests/tests/notification/src/android/app/notification/current/cts/
DNotificationTest.java181 final RemoteViews contentView = new RemoteViews(mContext.getPackageName(),
183 mNotification.contentView = contentView;
207 assertNotNull(result.contentView);
250 mNotification.contentView = null;
255 assertNull(result.contentView);
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt6519 field @Deprecated public android.widget.RemoteViews contentView;