/frameworks/base/core/tests/coretests/src/android/view/accessibility/ |
D | FindViewByIdTest.java | 52 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/ |
D | ScrollViewCaptureHelper.java | 59 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/ |
D | Notification.java | 355 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/ |
D | HybridGroupManager.java | 59 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()
|
D | HybridConversationNotificationView.java | 80 @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()
|
D | NotificationGuts.java | 442 final View contentView = mGutsContent.getContentView(); in setExposed() local 443 contentView.sendAccessibilityEvent(AccessibilityEvent.TYPE_WINDOW_STATE_CHANGED); in setExposed() 445 contentView.requestAccessibilityFocus(); in setExposed()
|
D | ActivatableNotificationView.java | 826 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()
|
D | HybridNotificationView.java | 108 @Nullable View contentView) { in bind() argument
|
D | ExpandableNotificationRow.java | 2078 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,
|
D | NotificationContentInflater.java | 653 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/ |
D | MediaNotificationProcessorTest.java | 114 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/ |
D | MediaHeaderView.java | 47 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/ |
D | PowerTestActivity.java | 69 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/ |
D | PopupWindow.java | 372 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/ |
D | ViewAttachTest.java | 85 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/ |
D | AppCompatActionBar.java | 70 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/ |
D | ZenDurationDialog.java | 91 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()
|
D | EnableZenModeDialog.java | 143 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/ |
D | DialogPreference.java | 323 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/ |
D | TemplateLayoutTest.java | 81 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/ |
D | BaseCompatActivityTest.java | 95 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/ |
D | NotificationTest.java | 211 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/ |
D | ForegroundServiceControllerTest.java | 506 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/ |
D | SetupWizardLayoutTest.java | 111 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/ |
D | AutofillPopupWindow.java | 355 public void setContentView(View contentView) { in setContentView() argument 356 if (contentView != null) { in setContentView()
|