Home
last modified time | relevance | path

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

12

/frameworks/base/core/tests/coretests/src/android/view/
DViewStubTest.java49 final ViewStub stub = (ViewStub) activity.findViewById(R.id.viewStub); in testInflated()
60 final ViewStub stub = (ViewStub) activity.findViewById(R.id.viewStubWithId); in testInflatedId()
73 final ViewStub stub = (ViewStub) activity.findViewById(R.id.viewStubWithId); in testInflatedLayoutParams()
/frameworks/base/core/java/android/view/
DViewStub.java73 public final class ViewStub extends View { class
82 public ViewStub(Context context) { in ViewStub() method in ViewStub
92 public ViewStub(Context context, @LayoutRes int layoutResource) { in ViewStub() method in ViewStub
98 public ViewStub(Context context, AttributeSet attrs) { in ViewStub() method in ViewStub
102 public ViewStub(Context context, AttributeSet attrs, int defStyleAttr) { in ViewStub() method in ViewStub
106 public ViewStub(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { in ViewStub() method in ViewStub
110 R.styleable.ViewStub, defStyleAttr, defStyleRes); in ViewStub()
111 saveAttributeDataForStyleable(context, R.styleable.ViewStub, attrs, a, defStyleAttr, in ViewStub()
349 void onInflate(ViewStub stub, View inflated); in onInflate()
DLayoutInflater.java853 if (view instanceof ViewStub) { in createView()
855 final ViewStub viewStub = (ViewStub) view; in createView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationsQuickSettingsContainer.java25 import android.view.ViewStub;
26 import android.view.ViewStub.OnInflateListener;
75 ViewStub userSwitcher = (ViewStub) findViewById(R.id.keyguard_user_switcher); in onFinishInflate()
160 public void onInflate(ViewStub stub, View inflated) { in onInflate()
DCollapsedStatusBarFragment.java29 import android.view.ViewStub;
361 ((ViewStub) emergencyViewStub).inflate(); in initEmergencyCryptkeeperText()
372 ViewStub stub = mStatusBar.findViewById(R.id.operator_name); in initOperatorName()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/
DProgressBarMixin.java24 import android.view.ViewStub;
77 final ViewStub progressBarStub = in getProgressBar()
78 (ViewStub) templateLayout.findManagedViewById(R.id.suw_layout_progress_stub); in getProgressBar()
DButtonFooterMixin.java28 import android.view.ViewStub;
44 @Nullable private final ViewStub footerStub;
55 footerStub = (ViewStub) layout.findManagedViewById(R.id.suw_layout_footer); in ButtonFooterMixin()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/car/window/
DOverlayViewController.java21 import android.view.ViewStub;
61 ViewStub viewStub = baseLayout.findViewById(mStubId); in inflate()
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/template/
DButtonFooterMixinTest.java31 import android.view.ViewStub;
53 private ViewStub mFooterStub;
61 mFooterStub = new ViewStub(mContext, R.layout.suw_glif_footer_button_bar); in setUp()
/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/
DCarSetupWizardLayout.java36 import android.view.ViewStub;
193 ViewStub primaryToolbarButtonStub = in init()
194 (ViewStub) findViewById(R.id.primary_toolbar_button_stub); in init()
221 ViewStub secondaryToolbarButtonStub = in init()
222 (ViewStub) findViewById(R.id.secondary_toolbar_button_stub); in init()
544 ViewStub secondaryToolbarButtonStub = findViewById(R.id.secondary_toolbar_button_stub); in maybeInflateSecondaryToolbarButton()
DCarSetupWizardBaseLayout.java37 import android.view.ViewStub;
194 ViewStub primaryToolbarButtonStub = in init()
195 (ViewStub) findViewById(R.id.primary_toolbar_button_stub); in init()
546 ViewStub secondaryToolbarButtonStub = findViewById(R.id.secondary_toolbar_button_stub); in inflateSecondaryToolbarButtonIfNecessary()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/
DGlifLayout.java34 import android.view.ViewStub;
178 ViewStub footerStub = findManagedViewById(R.id.suw_layout_footer); in inflateFooter()
192 ViewStub stickyHeaderStub = findManagedViewById(R.id.suw_layout_sticky_header); in inflateStickyHeader()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/
DControlsProviderSelectorActivity.kt26 import android.view.ViewStub
84 requireViewById<ViewStub>(R.id.stub).apply { in onCreate()
DControlsEditingActivity.kt24 import android.view.ViewStub
128 requireViewById<ViewStub>(R.id.stub).apply { in bindViews()
DControlsFavoritingActivity.kt30 import android.view.ViewStub in <lambda>()
245 requireViewById<ViewStub>(R.id.stub).apply { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/
DNotificationMediaTemplateViewWrapper.java36 import android.view.ViewStub;
224 ViewStub stub = mView.findViewById(R.id.notification_media_seekbar_container); in resolveViews()
225 if (stub instanceof ViewStub) { in resolveViews()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyguardUserSwitcher.java34 import android.view.ViewStub;
65 public KeyguardUserSwitcher(Context context, ViewStub userSwitcher, in KeyguardUserSwitcher()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSDetail.java31 import android.view.ViewStub;
64 private ViewStub mQsDetailHeaderSwitchStub;
/frameworks/base/core/java/com/android/internal/app/
DAlertController.java43 import android.view.ViewStub;
506 if (defaultPanel instanceof ViewStub) { in resolvePanel()
507 defaultPanel = ((ViewStub) defaultPanel).inflate(); in resolvePanel()
522 if (customPanel instanceof ViewStub) { in resolvePanel()
523 customPanel = ((ViewStub) customPanel).inflate(); in resolvePanel()
/frameworks/base/packages/CarSystemUI/tests/src/com/android/systemui/car/window/
DOverlayViewGlobalStateControllerTest.java30 import android.view.ViewStub;
603 ViewStub viewStub = mBaseLayout.findViewById(stubId); in setupOverlayViewController()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DExpandableNotificationRow.java57 import android.view.ViewStub;
222 private ViewStub mChildrenContainerStub;
228 private ViewStub mGutsStub;
1754 mGutsStub = (ViewStub) findViewById(R.id.notification_guts_stub);
1755 mGutsStub.setOnInflateListener(new ViewStub.OnInflateListener() {
1757 public void onInflate(ViewStub stub, View inflated) {
1764 mChildrenContainerStub = (ViewStub) findViewById(R.id.child_container_stub);
1765 mChildrenContainerStub.setOnInflateListener(new ViewStub.OnInflateListener() {
1768 public void onInflate(ViewStub stub, View inflated) {
/frameworks/base/config/
Ddirty-image-objects229 android.view.ViewStub
230 android.view.ViewStub$OnInflateListener
/frameworks/layoutlib/bridge/src/android/view/
DBridgeInflater.java494 else if (view instanceof ViewStub) { in setupViewInContext()
/frameworks/base/core/java/android/widget/
DRemoteViews.java71 import android.view.ViewStub;
1480 if (endAction instanceof ViewStub.ViewReplaceRunnable) { in initActionAsync()
1484 ((ViewStub.ViewReplaceRunnable) endAction).view); in initActionAsync()
/frameworks/base/core/java/com/android/internal/policy/
DDecorView.java93 import android.view.ViewStub;
1910 ViewStub stub = findViewById(R.id.action_mode_bar_stub); in createStandaloneActionMode()

12