Lines Matching defs:view

33 import android.view.ActionMode;
34 import android.view.ContextMenu;
35 import android.view.ContextMenu.ContextMenuInfo;
36 import android.view.ContextThemeWrapper;
37 import android.view.Gravity;
38 import android.view.KeyEvent;
39 import android.view.LayoutInflater;
40 import android.view.Menu;
41 import android.view.MenuItem;
42 import android.view.MotionEvent;
43 import android.view.View;
44 import android.view.View.OnCreateContextMenuListener;
45 import android.view.ViewGroup;
46 import android.view.ViewGroup.LayoutParams;
47 import android.view.Window;
48 import android.view.WindowManager;
49 import android.view.accessibility.AccessibilityEvent;
389 * The default implementation saves the state of its view hierarchy, so you'll
406 * The default implementation restores the state of the dialog's view
439 * Call {@link android.view.Window#getCurrentFocus} on the
440 * Window if this Activity to return the currently focused view.
445 * @see android.view.Window#getCurrentFocus
452 * Finds a view that was identified by the id attribute from the XML that
455 * @param id the identifier of the view to find
456 * @return The view if found or null otherwise.
473 * Set the screen content to an explicit view. This view is placed
474 * directly into the screen's view hierarchy. It can itself be a complex
475 * view hierarhcy.
477 * @param view The desired content to display.
479 public void setContentView(View view) {
480 mWindow.setContentView(view);
484 * Set the screen content to an explicit view. This view is placed
485 * directly into the screen's view hierarchy. It can itself be a complex
486 * view hierarhcy.
488 * @param view The desired content to display.
489 * @param params Layout parameters for the view.
491 public void setContentView(View view, ViewGroup.LayoutParams params) {
492 mWindow.setContentView(view, params);
496 * Add an additional content view to the screen. Added after any existing
499 * @param view The desired content to display.
500 * @param params Layout parameters for the view.
502 public void addContentView(View view, ViewGroup.LayoutParams params) {
503 mWindow.addContentView(view, params);
529 * <p>If the focused view didn't want this event, this method is called.
535 * @see android.view.KeyEvent
610 * of your window bounds, where there is no view to receive it.
632 * DPAD key events, which then get sent back to the view hierarchy, and
656 * {@link android.view.InputDevice#SOURCE_CLASS_POINTER}
657 * are delivered to the view under the pointer. All other generic motion events are
658 * delivered to the focused view.
811 public boolean onPreparePanel(int featureId, View view, Menu menu) {
912 public void registerForContextMenu(View view) {
913 view.setOnCreateContextMenuListener(this);
919 public void unregisterForContextMenu(View view) {
920 view.setOnCreateContextMenuListener(null);
926 public void openContextMenu(View view) {
927 view.showContextMenu();
1015 * @see android.view.Window#takeKeyEvents
1023 * {@link android.view.Window#requestFeature getWindow().requestFeature()}.
1026 * {@link android.view.Window}.
1030 * @see android.view.Window#requestFeature
1038 * {@link android.view.Window#setFeatureDrawableResource}.
1046 * {@link android.view.Window#setFeatureDrawableUri}.
1054 * {@link android.view.Window#setFeatureDrawable(int, Drawable)}.
1062 * {@link android.view.Window#setFeatureDrawableAlpha}.