Home
last modified time | relevance | path

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

12

/frameworks/base/core/tests/coretests/src/android/view/accessibility/
DFindViewByIdTest.java52 LinearLayout contentView = new LinearLayout(getContext()); in testFindViewById() local
53 getActivity().setContentView(contentView); in testFindViewById()
59 contentView.addView(child1); in testFindViewById()
60 contentView.addView(child2); in testFindViewById()
69 LinearLayout contentView = new LinearLayout(getContext()); in testFindViewByIdReturnNullIfRemovedFromHierarchy() local
70 getActivity().setContentView(contentView); in testFindViewByIdReturnNullIfRemovedFromHierarchy()
73 contentView.addView(child1); in testFindViewByIdReturnNullIfRemovedFromHierarchy()
74 contentView.addView(child2); in testFindViewByIdReturnNullIfRemovedFromHierarchy()
78 contentView.removeView(child1); in testFindViewByIdReturnNullIfRemovedFromHierarchy()
87 LinearLayout contentView = new LinearLayout(getContext()); in testFindViewByIdReturnNullIfNotImportant() local
[all …]
/frameworks/base/core/java/android/app/
DNotification.java353 public RemoteViews contentView; field in Notification
2235 contentView = RemoteViews.CREATOR.createFromParcel(parcel); in readFromParcelImpl()
2346 if (heavy && this.contentView != null) { in cloneInto()
2347 that.contentView = this.contentView.clone(); in cloneInto()
2448 if (contentView != null) contentView.visitUris(visitor); in visitUris()
2485 contentView = null; in lightenPayload()
2641 if (contentView != null) { in writeToParcelImpl()
2643 contentView.writeToParcel(parcel, 0); in writeToParcelImpl()
2849 if (areRemoteViewsChanged(first.mN.contentView, second.mN.contentView)) { in areRemoteViewsChanged()
2999 if (contentView != null) { in toString()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
DMediaNotificationProcessorTest.java114 notification.contentView = remoteViews; in testRemoteViewsReset()
119 RemoteViews contentView = builder.createContentView(); in testRemoteViewsReset() local
120 assertNotSame(contentView, remoteViews); in testRemoteViewsReset()
121 contentView = builder.createBigContentView(); in testRemoteViewsReset()
122 assertNotSame(contentView, remoteViews); in testRemoteViewsReset()
123 contentView = builder.createHeadsUpContentView(); in testRemoteViewsReset()
124 assertNotSame(contentView, remoteViews); in testRemoteViewsReset()
/frameworks/base/tests/BrowserPowerTest/src/com/android/browserpowertest/
DPowerTestActivity.java69 LinearLayout contentView = new LinearLayout(this); in onCreate() local
70 contentView.setOrientation(LinearLayout.VERTICAL); in onCreate()
71 setContentView(contentView); in onCreate()
84 contentView.addView(webView, new LayoutParams( in onCreate()
/frameworks/base/core/tests/coretests/src/android/view/
DViewAttachTest.java85 View contentView = activity.findViewById(R.id.view_attach_view); in testRoundScrollbars() local
86 boolean shouldDrawRoundScrollbars = contentView.shouldDrawRoundScrollbar(); in testRoundScrollbars()
/frameworks/base/core/java/android/widget/
DPopupWindow.java373 public PopupWindow(View contentView) { in PopupWindow() argument
374 this(contentView, 0, 0); in PopupWindow()
403 public PopupWindow(View contentView, int width, int height) { in PopupWindow() argument
404 this(contentView, width, height, false); in PopupWindow()
419 public PopupWindow(View contentView, int width, int height, boolean focusable) { in PopupWindow() argument
420 if (contentView != null) { in PopupWindow()
421 mContext = contentView.getContext(); in PopupWindow()
425 setContentView(contentView); in PopupWindow()
673 public void setContentView(View contentView) { in setContentView() argument
678 mContentView = contentView; in setContentView()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/
DZenDurationDialog.java90 View contentView = getContentView(); in setupDialog() local
92 builder.setView(contentView); in setupDialog()
136 View contentView = mLayoutInflater.inflate(R.layout.zen_mode_duration_dialog, in getContentView() local
138 ScrollView container = (ScrollView) contentView.findViewById(R.id.zen_duration_container); in getContentView()
155 return contentView; in getContentView()
DEnableZenModeDialog.java142 View contentView = getContentView(); in createDialog() local
144 builder.setView(contentView); in createDialog()
161 View contentView = mLayoutInflater.inflate(R.layout.zen_mode_turn_on_dialog_container, in getContentView() local
163 ScrollView container = (ScrollView) contentView.findViewById(R.id.container); in getContentView()
182 return contentView; in getContentView()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DAppCompatActionBar.java68 View contentView = getDecorContent().findViewById(contentRootId); in AppCompatActionBar() local
70 if (contentView != null) { in AppCompatActionBar()
71 assert contentView instanceof FrameLayout; in AppCompatActionBar()
72 setContentRoot((FrameLayout) contentView); in AppCompatActionBar()
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/
DTemplateLayoutTest.java81 View contentView = layout.findViewById(R.id.test_view_id); in testTemplate() local
82 assertSame("The view added should be the same text view", tv, contentView); in testTemplate()
/frameworks/base/core/java/android/preference/
DDialogPreference.java323 View contentView = onCreateDialogView(); in showDialog() local
324 if (contentView != null) { in showDialog()
325 onBindDialogView(contentView); in showDialog()
326 mBuilder.setView(contentView); in showDialog()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationGuts.java386 final View contentView = mGutsContent.getContentView(); in setExposed() local
387 contentView.sendAccessibilityEvent(AccessibilityEvent.TYPE_WINDOW_STATE_CHANGED); in setExposed()
389 contentView.requestAccessibilityFocus(); in setExposed()
DActivatableNotificationView.java920 View contentView = getContentView(); in setContentAlpha() local
921 if (contentView.hasOverlappingRendering()) { in setContentAlpha()
924 int currentLayerType = contentView.getLayerType(); in setContentAlpha()
926 contentView.setLayerType(layerType, null); in setContentAlpha()
929 contentView.setAlpha(contentAlpha); in setContentAlpha()
DExpandableNotificationRow.java2115 View contentView;
2117 contentView = mChildrenContainer;
2119 contentView = getShowingLayout();
2122 contentView = mGuts;
2125 contentView.animate()
2139 if (contentView != null) {
2140 contentView.setAlpha(1.0f);
3086 NotificationContentView contentView = (NotificationContentView) child;
3090 && contentView.shouldClipToRounding(getCurrentTopRoundness() != 0.0f,
DNotificationContentInflater.java768 RemoteViews contentView = builder.createContentView(); in createExpandedView() local
769 Notification.Builder.makeHeaderExpanded(contentView); in createExpandedView()
770 return contentView; in createExpandedView()
/frameworks/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/
DBaseCompatActivityTest.java95 View contentView = mBaseCompatActivity.findViewById(R.id.car_setup_wizard_layout); in testContentViewIsCarSetupWizardLayout() local
96 assertThat(contentView).isNotNull(); in testContentViewIsCarSetupWizardLayout()
97 assertThat(contentView instanceof CarSetupWizardCompatLayout).isTrue(); in testContentViewIsCarSetupWizardLayout()
/frameworks/base/core/tests/coretests/src/android/app/
DNotificationTest.java211 RemoteViews contentView = new RemoteViews(mContext.getPackageName(), 0 /* layoutId */); in allPendingIntents_containsCustomRemoteViews() local
212 contentView.setOnClickPendingIntent(1 /* id */, intent); in allPendingIntents_containsCustomRemoteViews()
215 builder.setCustomContentView(contentView); in allPendingIntents_containsCustomRemoteViews()
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
DSetupWizardLayoutTest.java111 View contentView = layout.findViewById(R.id.test_view_id); in testCustomTemplate() local
112 assertSame("The view added should be the same text view", tv, contentView); in testCustomTemplate()
/frameworks/base/core/java/android/view/autofill/
DAutofillPopupWindow.java353 public void setContentView(View contentView) { in setContentView() argument
354 if (contentView != null) { in setContentView()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DForegroundServiceControllerTest.java367 sbn.getNotification().contentView = null; in makeMockFgSBN()
371 sbn.getNotification().contentView = mock(RemoteViews.class); in makeMockFgSBN()
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/
DFillUi.java644 AnchoredWindow(View contentView, @NonNull OverlayControl overlayControl) { in AnchoredWindow() argument
645 mWm = contentView.getContext().getSystemService(WindowManager.class); in AnchoredWindow()
646 mContentView = contentView; in AnchoredWindow()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationRemoteInputManager.java539 newNotification.contentView = sbn.getNotification().contentView; in rebuildNotificationWithRemoteInput()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DNotificationContentInflaterTest.java145 mRow.getStatusBarNotification().getNotification().contentView in testInflationThrowsErrorDoesntCallUpdated()
/frameworks/base/packages/EasterEgg/src/com/android/egg/paint/
DPaintActivity.java139 ((FrameLayout) findViewById(R.id.contentView)).addView(painting, in setupViews()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationTest.java145 assertNotNull(before.contentView); in testStripsRemoteViewsInLowRamMode()
148 assertNull(after.contentView); in testStripsRemoteViewsInLowRamMode()

12