Home
last modified time | relevance | path

Searched refs:customView (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/smartspace/
DDreamSmartspaceControllerTest.kt216 val customView = Mockito.mock(TestView::class.java) in testConnectOnWeatherViewCreate() constant
217 val weatherView = controller.buildAndConnectWeatherView(fakeParent, customView) in testConnectOnWeatherViewCreate()
224 eq(customView)) in testConnectOnWeatherViewCreate()
239 val customView = Mockito.mock(TestView::class.java) in testAddListenerInController_registersListenerForWeatherPlugin() constant
244 checkNotNull(controller.buildAndConnectWeatherView(fakeParent, customView)) in testAddListenerInController_registersListenerForWeatherPlugin()
265 val customView = Mockito.mock(TestView::class.java) in testDisconnect_emitsEmptyListAndRemovesNotifier() constant
267 checkNotNull(controller.buildAndConnectWeatherView(fakeParent, customView)) in testDisconnect_emitsEmptyListAndRemovesNotifier()
/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/smartspace/
DDreamSmartspaceController.kt134 fun buildAndConnectWeatherView(parent: ViewGroup, customView: View?): View? { in <lambda>()
135 return buildAndConnectViewWithPlugin(parent, weatherPlugin, customView) in <lambda>()
148 customView: View? in <lambda>()
156 val view = buildView(parent, smartspaceDataPlugin, customView) in <lambda>()
166 customView: View? in <lambda>()
170 stateChangeListener, customView) in <lambda>()
/frameworks/base/core/java/com/android/internal/app/
DMediaRouteControllerDialog.java155 View customView = getLayoutInflater().inflate(R.layout.media_route_controller_dialog, null); in onCreate() local
156 setView(customView, 0, 0, 0, 0); in onCreate()
163 mVolumeLayout = (LinearLayout) customView.findViewById(R.id.media_route_volume_layout); in onCreate()
164 mVolumeSlider = (SeekBar) customView.findViewById(R.id.media_route_volume_slider); in onCreate()
206 (FrameLayout) customView.findViewById(R.id.media_route_control_frame); in onCreate()
DAlertController.java657 final View customView; in setupCustomContent() local
659 customView = mView; in setupCustomContent()
662 customView = inflater.inflate(mViewLayoutResId, customPanel, false); in setupCustomContent()
664 customView = null; in setupCustomContent()
667 final boolean hasCustomView = customView != null; in setupCustomContent()
668 if (!hasCustomView || !canTextInput(customView)) { in setupCustomContent()
675 custom.addView(customView, new LayoutParams(MATCH_PARENT, MATCH_PARENT)); in setupCustomContent()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DAlertController.java464 final View customView; in setupCustomContent() local
466 customView = mView; in setupCustomContent()
469 customView = inflater.inflate(mViewLayoutResId, customPanel, false); in setupCustomContent()
471 customView = null; in setupCustomContent()
474 final boolean hasCustomView = customView != null; in setupCustomContent()
475 if (!hasCustomView || !canTextInput(customView)) { in setupCustomContent()
482 custom.addView(customView, new LayoutParams(MATCH_PARENT, MATCH_PARENT)); in setupCustomContent()
/frameworks/base/core/java/com/android/internal/widget/
DActionBarView.java1006 View customView = null; in onMeasure() local
1008 customView = mExpandedActionView; in onMeasure()
1011 customView = mCustomNavView; in onMeasure()
1014 if (customView != null) { in onMeasure()
1015 final ViewGroup.LayoutParams lp = generateLayoutParams(customView.getLayoutParams()); in onMeasure()
1052 customView.measure( in onMeasure()
1055 availableWidth -= horizontalMargin + customView.getMeasuredWidth(); in onMeasure()
1161 View customView = null; in onLayout() local
1163 customView = mExpandedActionView; in onLayout()
1166 customView = mCustomNavView; in onLayout()
[all …]
/frameworks/layoutlib/bridge/src/android/view/
DBridgeInflater.java427 Object customView = silent ? in loadCustomView() local
431 if (customView instanceof View) { in loadCustomView()
432 return (View)customView; in loadCustomView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DExpandableNotificationRow.java715 boolean customView = contractedView != null in updateLimitsForView()
725 if (customView && beforeS && !mIsSummaryWithChildren) { in updateLimitsForView()