/cts/tests/tests/view/src/android/view/cts/ |
ViewStubTest.java | 33 import android.view.ViewStub; 34 import android.view.ViewStub.OnInflateListener; 38 * Test {@link ViewStub}. 60 new ViewStub(mContext); 62 new ViewStub(mContext, 10); 64 new ViewStub(mContext, attrs); 66 new ViewStub(mContext, attrs, 30); 70 ViewStub viewStub = new ViewStub(mContext) [all...] |
/frameworks/base/core/tests/coretests/src/android/view/ |
ViewStubTest.java | 26 import android.view.ViewStub; 42 final View stub = activity.findViewById(R.id.viewStub); 43 assertNotNull("The ViewStub does not exist", stub); 51 final ViewStub stub = (ViewStub) activity.findViewById(R.id.viewStub); 62 final ViewStub stub = (ViewStub) activity.findViewById(R.id.viewStubWithId); 75 final ViewStub stub = (ViewStub) activity.findViewById(R.id.viewStubWithId) [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
ViewStubTest.java | 5 import android.view.ViewStub; 27 ViewStub viewStub = new ViewStub(ctxt); 31 viewStub.setId(stubId); 32 viewStub.setInflatedId(inflatedId); 33 viewStub.setLayoutResource(R.layout.media); 37 root.addView(viewStub); 40 View inflatedView = viewStub.inflate(); 52 ViewStub viewStub = new ViewStub(ctxt [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
NotificationsQuickSettingsContainer.java | 24 import android.view.ViewStub; 34 implements ViewStub.OnInflateListener { 52 ViewStub userSwitcher = (ViewStub) findViewById(R.id.keyguard_user_switcher); 95 public void onInflate(ViewStub stub, View inflated) {
|
PhoneStatusBar.java | 95 import android.view.ViewStub; [all...] |
/frameworks/base/core/java/android/view/ |
ViewStub.java | 30 * A ViewStub is an invisible, zero-sized View that can be used to lazily inflate 33 * When a ViewStub is made visible, or when {@link #inflate()} is invoked, the layout resource 34 * is inflated. The ViewStub then replaces itself in its parent with the inflated View or Views. 35 * Therefore, the ViewStub exists in the view hierarchy until {@link #setVisibility(int)} or 38 * The inflated View is added to the ViewStub's parent with the ViewStub's layout 40 * ViewStub's inflatedId property. For instance: 43 * <ViewStub android:id="@+id/stub" 50 * The ViewStub thus defined can be found using the id "stub." After inflation of 51 * the layout resource "mySubTree," the ViewStub is removed from its parent. Th [all...] |
LayoutInflater.java | 608 if (view instanceof ViewStub) { 609 // Use the same context when inflating ViewStub later. 610 final ViewStub viewStub = (ViewStub) view; 611 viewStub.setLayoutInflater(cloneInContext((Context) args[0])); [all...] |
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/editor/ |
BooleanEditor.java | 20 import android.view.ViewStub; 32 final ViewStub booleanEditorStub = (ViewStub) v.findViewById(R.id.boolean_editor_stub);
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowViewStub.java | 7 import android.view.ViewStub; 17 @Implements(ViewStub.class) 19 @RealObject ViewStub viewStub; 24 private ViewStub.OnInflateListener mInflateListener; 67 ViewParent viewParent = viewStub.getParent(); 72 LayoutInflater factory = LayoutInflater.from(viewStub.getContext()); 79 int index = parent.indexOfChild(viewStub); 81 // parent.removeViewInLayout(viewStub); 93 mInflateListener.onInflate(viewStub, view) [all...] |
/packages/apps/Camera/src/com/android/camera/ |
PreviewFrameLayout.java | 23 import android.view.ViewStub; 57 ViewStub faceViewStub = (ViewStub) findViewById(R.id.face_view_stub);
|
/packages/apps/Mms/tests/src/com/android/mms/ui/ |
MultiPartSmsTests.java | 33 import android.view.ViewStub;
|
ComposeMessageActivityTests.java | 35 import android.view.ViewStub; 67 ViewStub stub = (ViewStub)mActivity.findViewById(R.id.recipients_editor_stub);
|
SmsTest.java | 31 import android.view.ViewStub; 81 ViewStub stub = (ViewStub)mActivity.findViewById(R.id.recipients_editor_stub);
|
LongThreadTest.java | 29 import android.view.ViewStub; 73 ViewStub stub = (ViewStub)mActivity.findViewById(R.id.recipients_editor_stub);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
ExpandableNotificationRow.java | 27 import android.view.ViewStub; 170 ViewStub gutsStub = (ViewStub) findViewById(R.id.notification_guts_stub); 171 gutsStub.setOnInflateListener(new ViewStub.OnInflateListener() { 173 public void onInflate(ViewStub stub, View inflated) {
|
BaseStatusBar.java | 72 import android.view.ViewStub; [all...] |
/packages/apps/Mms/src/com/android/mms/ui/ |
AttachmentEditor.java | 26 import android.view.ViewStub; 124 ViewStub stub = (ViewStub) findViewById(stubId);
|
/packages/apps/Browser/src/com/android/browser/ |
TitleBar.java | 28 import android.view.ViewStub; 88 ViewStub stub = (ViewStub) findViewById(R.id.autologin_stub);
|
BrowserHistoryPage.java | 51 import android.view.ViewStub; 210 ViewStub stub = (ViewStub) mRoot.findViewById(R.id.pref_stub); 231 private void inflateTwoPane(ViewStub stub) {
|
Tab.java | 48 import android.view.ViewStub; [all...] |
/packages/apps/InCallUI/src/com/android/incallui/ |
VideoCallFragment.java | 29 import android.view.ViewStub; 60 * {@link ViewStub} holding the video call surfaces. This is the parent for the 64 private ViewStub mVideoViewsStub; 67 * Inflated view containing the video call surfaces represented by the {@link ViewStub}. 403 mVideoViewsStub = (ViewStub) view.findViewById(R.id.videoCallViewsStub); 492 * {@code Null} until the video views {@link android.view.ViewStub} is inflated. 501 * displayed. {@code Null} until the video views {@link android.view.ViewStub} is inflated. 534 * Inflates the {@link ViewStub} containing the incoming and outgoing surfaces, if necessary,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
KeyguardUserSwitcher.java | 28 import android.view.ViewStub; 57 public KeyguardUserSwitcher(Context context, ViewStub userSwitcher,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/ |
RecentsActivity.java | 35 import android.view.ViewStub; 69 ViewStub mEmptyViewStub; 70 ViewStub mDebugOverlayStub; 380 mEmptyViewStub = (ViewStub) findViewById(R.id.empty_view_stub); 381 mDebugOverlayStub = (ViewStub) findViewById(R.id.debug_overlay_stub);
|
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
CallLogAdapter.java | 36 import android.view.ViewStub; 666 // Store some values used when the actions ViewStub is inflated on expansion of the actions 701 // when the user expands the actions ViewStub. 767 // Restore expansion state of the row on rebind. Inflate the actions ViewStub if required, [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
PhoneWindow.java | 96 import android.view.ViewStub; [all...] |