Searched refs:ViewStub (Results 1 - 5 of 5) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | ViewStubTest.java | 26 import android.view.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);
|
/frameworks/base/core/java/android/view/ |
H A D | 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 i 71 public final class ViewStub extends View { class in inherits:View 80 public ViewStub(Context context) { method in class:ViewStub 90 public ViewStub(Context context, int layoutResource) { method in class:ViewStub 95 public ViewStub(Context context, AttributeSet attrs) { method in class:ViewStub 100 public ViewStub(Context context, AttributeSet attrs, int defStyle) { method in class:ViewStub [all...] |
H A D | LayoutInflater.java | 595 if (view instanceof ViewStub) { 596 // always use ourselves when inflating ViewStub later 597 final ViewStub viewStub = (ViewStub) view;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | PhoneStatusBar.java | 73 import android.view.ViewStub; 593 mFlipSettingsView = ((ViewStub)settings_stub).inflate(); 601 mSettingsPanel = (SettingsPanelView) ((ViewStub)settings_stub).inflate();
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
H A D | PhoneWindow.java | 87 import android.view.ViewStub; 2408 ViewStub stub = (ViewStub) findViewById(
|
Completed in 65 milliseconds