Lines Matching defs:view
17 package android.view;
34 * Therefore, the ViewStub exists in the view hierarchy until {@link #setVisibility(int)} or
120 * Returns the id taken by the inflated view. If the inflated id is
121 * {@link View#NO_ID}, the inflated view keeps its original id.
123 * @return A positive integer used to identify the inflated view or
124 * {@link #NO_ID} if the inflated view should keep its id.
134 * Defines the id taken by the inflated view. If the inflated id is
135 * {@link View#NO_ID}, the inflated view keeps its original id.
137 * @param inflatedId A positive integer used to identify the inflated view or
138 * {@link #NO_ID} if the inflated view should keep its id.
150 * in its parent by another view.
204 View view = mInflatedViewRef.get();
205 if (view != null) {
206 view.setVisibility(visibility);
208 throw new IllegalStateException("setVisibility called on un-referenced view");
232 final View view = factory.inflate(mLayoutResource, parent,
236 view.setId(mInflatedId);
244 parent.addView(view, index, layoutParams);
246 parent.addView(view, index);
249 mInflatedViewRef = new WeakReference<View>(view);
252 mInflateListener.onInflate(this, view);
255 return view;
270 * @see android.view.ViewStub.OnInflateListener
280 * @see android.view.ViewStub#setOnInflateListener(android.view.ViewStub.OnInflateListener)
285 * This method is invoked after the inflated view was added to the