Home
last modified time | relevance | path

Searched refs:contentView (Results 1 – 25 of 40) 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/com/android/internal/view/
DScrollViewCaptureHelper.java59 final View contentView = view.getChildAt(0); // returns null, does not throw IOOBE in onScrollRequested() local
60 if (contentView == null) { in onScrollRequested()
117 view.getScrollX() - contentView.getLeft(), in onScrollRequested()
118 view.getScrollY() - contentView.getTop()); in onScrollRequested()
125 contentView.requestRectangleOnScreen(new Rect(requestedContentBounds), true); in onScrollRequested()
135 if (!view.getChildVisibleRect(contentView, capturedRect, offset)) { in onScrollRequested()
144 contentView.getLeft() - view.getScrollX(), in onScrollRequested()
145 contentView.getTop() - view.getScrollY()); in onScrollRequested()
/frameworks/base/core/java/android/app/
DNotification.java355 public RemoteViews contentView; field in Notification
2277 contentView = RemoteViews.CREATOR.createFromParcel(parcel); in readFromParcelImpl()
2388 if (heavy && this.contentView != null) { in cloneInto()
2389 that.contentView = this.contentView.clone(); in cloneInto()
2490 if (contentView != null) contentView.visitUris(visitor); in visitUris()
2559 contentView = null; in lightenPayload()
2719 if (contentView != null) { in writeToParcelImpl()
2721 contentView.writeToParcel(parcel, 0); in writeToParcelImpl()
2927 if (areRemoteViewsChanged(first.mN.contentView, second.mN.contentView)) { in areRemoteViewsChanged()
3077 if (contentView != null) { in toString()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DHybridGroupManager.java59 View contentView, ViewGroup parent) { in inflateHybridViewWithStyle() argument
62 int layout = contentView instanceof ConversationLayout in inflateHybridViewWithStyle()
92 View contentView, StatusBarNotification notification, in bindFromNotification() argument
94 return bindFromNotificationWithStyle(reusableView, contentView, notification, in bindFromNotification()
99 HybridNotificationView reusableView, View contentView, in bindFromNotificationWithStyle() argument
103 reusableView = inflateHybridViewWithStyle(style, contentView, parent); in bindFromNotificationWithStyle()
107 reusableView.bind(titleText, contentText, contentView); in bindFromNotificationWithStyle()
DHybridConversationNotificationView.java80 @Nullable View contentView) { in bind() argument
81 if (!(contentView instanceof ConversationLayout)) { in bind()
82 super.bind(title, text, contentView); in bind()
86 ConversationLayout conversationLayout = (ConversationLayout) contentView; in bind()
DNotificationGuts.java442 final View contentView = mGutsContent.getContentView(); in setExposed() local
443 contentView.sendAccessibilityEvent(AccessibilityEvent.TYPE_WINDOW_STATE_CHANGED); in setExposed()
445 contentView.requestAccessibilityFocus(); in setExposed()
DActivatableNotificationView.java826 View contentView = getContentView(); in setContentAlpha() local
827 if (contentView.hasOverlappingRendering()) { in setContentAlpha()
830 int currentLayerType = contentView.getLayerType(); in setContentAlpha()
832 contentView.setLayerType(layerType, null); in setContentAlpha()
835 contentView.setAlpha(contentAlpha); in setContentAlpha()
DHybridNotificationView.java108 @Nullable View contentView) { in bind() argument
DExpandableNotificationRow.java2078 View contentView;
2080 contentView = mChildrenContainer;
2082 contentView = getShowingLayout();
2085 contentView = mGuts;
2088 contentView.animate()
2102 if (contentView != null) {
2103 contentView.setAlpha(1.0f);
3083 NotificationContentView contentView = (NotificationContentView) child;
3087 && contentView.shouldClipToRounding(getCurrentTopRoundness() != 0.0f,
DNotificationContentInflater.java653 RemoteViews contentView = builder.createContentView(); in createExpandedView() local
654 Notification.Builder.makeHeaderExpanded(contentView); in createExpandedView()
655 return contentView; in createExpandedView()
/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/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DMediaHeaderView.java47 public void setContentView(ViewGroup contentView) { in setContentView() argument
48 addView(contentView); in setContentView()
49 ViewGroup.LayoutParams layoutParams = contentView.getLayoutParams(); in setContentView()
/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/java/android/widget/
DPopupWindow.java372 public PopupWindow(View contentView) { in PopupWindow() argument
373 this(contentView, 0, 0); in PopupWindow()
402 public PopupWindow(View contentView, int width, int height) { in PopupWindow() argument
403 this(contentView, width, height, false); in PopupWindow()
418 public PopupWindow(View contentView, int width, int height, boolean focusable) { in PopupWindow() argument
419 if (contentView != null) { in PopupWindow()
420 mContext = contentView.getContext(); in PopupWindow()
424 setContentView(contentView); in PopupWindow()
672 public void setContentView(View contentView) { in setContentView() argument
677 mContentView = contentView; in setContentView()
[all …]
/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/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DAppCompatActionBar.java70 View contentView = getDecorContent().findViewById(contentRootId); in AppCompatActionBar() local
83 if (contentView != null) { in AppCompatActionBar()
84 assert contentView instanceof FrameLayout; in AppCompatActionBar()
85 contentView.setId(id.content); in AppCompatActionBar()
86 setContentRoot((FrameLayout) contentView); in AppCompatActionBar()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/
DZenDurationDialog.java91 View contentView = getContentView(); in setupDialog() local
93 builder.setView(contentView); in setupDialog()
137 View contentView = mLayoutInflater.inflate(R.layout.zen_mode_duration_dialog, in getContentView() local
139 ScrollView container = (ScrollView) contentView.findViewById(R.id.zen_duration_container); in getContentView()
156 return contentView; in getContentView()
DEnableZenModeDialog.java143 View contentView = getContentView(); in createDialog() local
145 builder.setView(contentView); in createDialog()
162 View contentView = mLayoutInflater.inflate(R.layout.zen_mode_turn_on_dialog_container, in getContentView() local
164 ScrollView container = (ScrollView) contentView.findViewById(R.id.container); in getContentView()
183 return contentView; in getContentView()
/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/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/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/base/packages/SystemUI/tests/src/com/android/systemui/
DForegroundServiceControllerTest.java506 sbn.getNotification().contentView = null; in makeMockSBN()
510 sbn.getNotification().contentView = mock(RemoteViews.class); in makeMockSBN()
520 sbn.getNotification().contentView = null; in makeMockFgSBN()
524 sbn.getNotification().contentView = mock(RemoteViews.class); in makeMockFgSBN()
/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.java355 public void setContentView(View contentView) { in setContentView() argument
356 if (contentView != null) { in setContentView()

12