Lines Matching defs:view

33 import android.view.ContextMenu;
34 import android.view.ContextMenu.ContextMenuInfo;
35 import android.view.LayoutInflater;
36 import android.view.Menu;
37 import android.view.MenuInflater;
38 import android.view.MenuItem;
39 import android.view.View;
40 import android.view.View.OnCreateContextMenuListener;
41 import android.view.ViewGroup;
206 * <li> {@link #onCreateView} creates and returns the view hierarchy associated
211 * state of its view hierarchy has been restored.
294 * tag in the view hierarchy will not have their content view created
297 * running in a layout with that container and avoid creating its view hierarchy
301 * LayoutParams provided when attaching the fragment's view to the parent
311 * <li>If nothing is explicitly supplied, the view ID of the container will
358 // Non-null if the fragment's view hierarchy is currently animating away,
401 // Set to true when the view has actually been inflated in its layout.
425 // was dynamically added to the view hierarchy, or the ID supplied in
429 // When a fragment is being dynamically added to the view hierarchy, this
668 * the android:id value supplied in a layout or the container view ID
868 * Return true if the layout is included as part of an activity view
888 * it: (1) has been added, (2) has its view attached to the window, and
961 * is useful if you know that a fragment has been placed in your view
1097 * its views, and the view construction can use the dialog's context for
1113 * Called when a fragment is being created as part of a view layout
1114 * inflation, typically from setting the content view of an activity. This
1181 * on things like the activity's content view hierarchy being initialized
1193 * Called to have the fragment instantiate its user interface view.
1199 * {@link #onDestroyView} when the view is being released.
1203 * @param container If non-null, this is the parent view that the fragment's
1204 * UI should be attached to. The fragment should not add the view itself,
1205 * but this can be used to generate the LayoutParams of the view.
1218 * has returned, but before any saved state has been restored in to the view.
1220 * they know their view hierarchy has been completely created. The fragment's
1221 * view hierarchy is not however attached to its parent at this point.
1222 * @param view The View returned by {@link #onCreateView(LayoutInflater, ViewGroup, Bundle)}.
1226 public void onViewCreated(View view, Bundle savedInstanceState) {
1230 * Get the root view for the fragment's layout (the one returned by {@link #onCreateView}),
1233 * @return The fragment's root view, or null if it has no layout.
1241 * fragment's view hierarchy instantiated. It can be used to do final
1257 * Called when all saved state has been restored into the view hierarchy
1259 * state that you are letting the view hierarchy track itself, such as
1354 * Called when the view previously created by {@link #onCreateView} has
1356 * to be displayed, a new view will be created. This is called
1359 * non-null view. Internally it is called after the view's state has
1496 * Called when a context menu for the {@code view} is about to be shown.
1499 * the view (or item inside the view for {@link AdapterView} subclasses,
1502 * Use {@link #onContextItemSelected(android.view.MenuItem)} to know when an
1517 * Registers a context menu to be shown for the given view (multiple views
1519 * {@link OnCreateContextMenuListener} on the view to this fragment, so
1524 * @param view The view that should show a context menu.
1526 public void registerForContextMenu(View view) {
1527 view.setOnCreateContextMenuListener(this);
1531 * Prevents a context menu to be shown for the given view. This method will
1532 * remove the {@link OnCreateContextMenuListener} on the view.
1535 * @param view The view that should stop showing a context menu.
1537 public void unregisterForContextMenu(View view) {
1538 view.setOnCreateContextMenuListener(null);
1661 throw new IllegalStateException("Fragment does not have a view");