Home | History | Annotate | Download | only in view

Lines Matching defs:LayoutInflater

41  * {@link Context#getSystemService} to retrieve a standard LayoutInflater instance
45 * <pre>LayoutInflater inflater = (LayoutInflater)context.getSystemService
49 * To create a new LayoutInflater with an additional {@link Factory} for your
57 * to use LayoutInflater with an XmlPullParser over a plain XML file at runtime;
63 public abstract class LayoutInflater {
95 * Hook to allow clients of the LayoutInflater to restrict the set of Views that are allowed
101 * Hook to allow clients of the LayoutInflater to restrict the set of Views
114 * Hook you can supply that is called when inflating from a LayoutInflater.
178 * Create a new LayoutInflater instance associated with a particular Context.
183 * @param context The Context in which this LayoutInflater will create its
187 protected LayoutInflater(Context context) {
192 * Create a new LayoutInflater instance that is a copy of an existing
193 * LayoutInflater, optionally with its Context changed. For use in
196 * @param original The original LayoutInflater to copy.
199 protected LayoutInflater(LayoutInflater original, Context newContext) {
208 * Obtains the LayoutInflater from the given context.
210 public static LayoutInflater from(Context context) {
211 LayoutInflater LayoutInflater =
212 (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
213 if (LayoutInflater == null) {
214 throw new AssertionError("LayoutInflater not found.");
216 return LayoutInflater;
220 * Create a copy of the existing LayoutInflater object, with the copy
222 * {@link ContextThemeWrapper} to create a new LayoutInflater to go along
225 * @param newContext The new Context to associate with the new LayoutInflater.
228 * @return Returns a brand spanking new LayoutInflater object associated with
231 public abstract LayoutInflater cloneInContext(Context newContext);
263 * this LayoutInflater. This must not be null, and can only be set once;
270 * LayoutInflater and want to add your own factory to it, use
278 throw new IllegalStateException("A factory has already been set on this LayoutInflater");
297 throw new IllegalStateException("A factory has already been set on this LayoutInflater");
318 * @return The {@link Filter} currently used by this LayoutInflater to restrict the set of Views
326 * Sets the {@link Filter} to by this LayoutInflater. If a view is attempted to be inflated
329 * LayoutInflater.
332 * This filter will replace any previous filter set on this LayoutInflater.
363 * use LayoutInflater with an XmlPullParser over a plain XML file at runtime.
410 * use LayoutInflater with an XmlPullParser over a plain XML file at runtime.
535 * LayoutInflater's ClassLoader.