Home | History | Annotate | Download | only in view

Lines Matching defs:LayoutInflater

36  * {@link Context#getSystemService} to retrieve a standard LayoutInflater instance
40 * <pre>LayoutInflater inflater = (LayoutInflater)context.getSystemService
44 * To create a new LayoutInflater with an additional {@link Factory} for your
52 * to use LayoutInflater with an XmlPullParser over a plain XML file at runtime;
58 public abstract class LayoutInflater {
87 * Hook to allow clients of the LayoutInflater to restrict the set of Views that are allowed
93 * Hook to allow clients of the LayoutInflater to restrict the set of Views
105 * Hook you can supply that is called when inflating from a LayoutInflater.
140 * Create a new LayoutInflater instance associated with a particular Context.
145 * @param context The Context in which this LayoutInflater will create its
149 protected LayoutInflater(Context context) {
154 * Create a new LayoutInflater instance that is a copy of an existing
155 * LayoutInflater, optionally with its Context changed. For use in
158 * @param original The original LayoutInflater to copy.
161 protected LayoutInflater(LayoutInflater original, Context newContext) {
168 * Obtains the LayoutInflater from the given context.
170 public static LayoutInflater from(Context context) {
171 LayoutInflater LayoutInflater =
172 (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
173 if (LayoutInflater == null) {
174 throw new AssertionError("LayoutInflater not found.");
176 return LayoutInflater;
180 * Create a copy of the existing LayoutInflater object, with the copy
182 * {@link ContextThemeWrapper} to create a new LayoutInflater to go along
185 * @param newContext The new Context to associate with the new LayoutInflater.
188 * @return Returns a brand spanking new LayoutInflater object associated with
191 public abstract LayoutInflater cloneInContext(Context newContext);
212 * this LayoutInflater. This must not be null, and can only be set once;
219 * LayoutInflater and want to add your own factory to it, use
227 throw new IllegalStateException("A factory has already been set on this LayoutInflater");
241 * @return The {@link Filter} currently used by this LayoutInflater to restrict the set of Views
249 * Sets the {@link Filter} to by this LayoutInflater. If a view is attempted to be inflated
252 * LayoutInflater.
255 * This filter will replace any previous filter set on this LayoutInflater.
286 * use LayoutInflater with an XmlPullParser over a plain XML file at runtime.
333 * use LayoutInflater with an XmlPullParser over a plain XML file at runtime.
449 * LayoutInflater's ClassLoader.