Lines Matching refs:from

151  * either from code or by specifying a tree of views in one or more XML layout
203 * is created from code and a form that is called when the view is
204 * inflated from a layout file. The second form should parse and apply
211 * from XML.</td>
284 * <td>Called when the view is detached from its window.
371 * after layout. These values may, but do not have to, be different from the
440 * MeasureSpecs are used to push requirements down the tree from parent to
504 * from that thread, you should use a {@link Handler}.
595 * Tags may also be specified with arbitrary objects from code using
605 * XML or by passing a {@link ContextThemeWrapper} to the constructor from
1058 * <p>Indicates that this view gets its drawable states from its direct parent
1955 * Horizontal layout direction of this view is from Left to Right.
1961 * Horizontal layout direction of this view is from Right to Left.
1967 * Horizontal layout direction of this view is inherited from its parent.
1973 * Horizontal layout direction of this view is from deduced from the default language
2063 * Text direction is coming from the system Locale.
2162 * Default text alignment. The text alignment of this View is inherited from its parent.
2672 * Flag indicating that the view is temporarily detached from the parent view.
2860 * if the user swipes from the top of the screen.
2862 * system gestures, such as swiping from the top of the screen. These transient system bars
3282 * load the value from the View's RenderNode.
3291 * which will load the value from the View's RenderNode.
3296 * The opacity of the View. This is a value from 0 to 1, where 0 means
3320 * The distance in pixels from the left edge of this view's parent
3327 * The distance in pixels from the left edge of this view's parent
3334 * The distance in pixels from the top edge of this view's parent
3341 * The distance in pixels from the top edge of this view's parent
3551 * This field should be made private, so it is hidden from the SDK.
3570 * This field should be made private, so it is hidden from the SDK.
3577 * This field should be made private, so it is hidden from the SDK.
3584 * is hidden from the SDK.
3591 * This field should be made private, so it is hidden from the SDK.
3613 // Temporary values used to hold (x,y) coordinates when delegating from the
3620 * This field should be made private, so it is hidden from the SDK.
3730 * Cache the touch slop from the context that created the view.
3885 @ViewDebug.IntToString(from = LAYER_TYPE_NONE, to = "NONE"),
3886 @ViewDebug.IntToString(from = LAYER_TYPE_SOFTWARE, to = "SOFTWARE"),
3887 @ViewDebug.IntToString(from = LAYER_TYPE_HARDWARE, to = "HARDWARE")
3923 * and add/remove objects to/from the overlay directly through the Overlay methods.
3983 * Simple constructor to use when creating a view from code.
4025 // Old versions of the platform would give different results from
4044 * Constructor that is called when inflating a view from XML. This is called
4045 * when a view is being constructed from an XML file, supplying attributes
4064 * Perform inflation from XML and apply a class-specific base style from a
4085 * Perform inflation from XML and apply a class-specific base style from a
4594 // Padding from the background drawable is stored at this point in mUserPaddingLeftInitial
4608 // Padding from the background drawable is stored at this point in mUserPaddingLeftInitial
4671 * named click handling method from a parent or ancestor context.
4879 * Initializes the fading edges from a given set of styled attributes. This
4882 * being inflated from XML. This method is automatically called when the XML
4886 * @param a the styled attributes set to initialize the fading edges from
4906 * Initializes the fading edges from a given set of styled attributes. This
4909 * being inflated from XML. This method is automatically called when the XML
4913 * @param a the styled attributes set to initialize the fading edges from
4914 * @hide This is the real method; the public one is shimmed to be safe to call from apps.
5021 * Initializes the scrollbars from a given set of styled attributes. This
5024 * being inflated from XML. This method is automatically called when the XML
5028 * @param a the styled attributes set to initialize the scrollbars from
5033 // It's not safe to use this method from apps. The parameter 'a' must have been obtained
5047 * Initializes the scrollbars from a given set of styled attributes. This
5050 * being inflated from XML. This method is automatically called when the XML
5054 * @param a the styled attributes set to initialize the scrollbars from
5354 * <b>Note:</b> Some views handle scrolling independently from View and may
5410 * from a window. Remove the listener using
5825 * result came from.
5844 * Receive the result from a previous call to {@link #startActivityForResult(Intent, int)}.
5848 * result came from.
6015 // move it from child's content coordinate space to parent's content coordinate space
6030 * to give focus to the first focusable View from the top. Hence, if this
6031 * View is the first from the top that can take focus, then all callbacks
6045 * Clears focus from the view, optionally propagating the change up through
6136 * and previouslyFocusedRect provide insight into where the focus is coming from.
6149 * from (in addition to direction). Will be <code>null</code> otherwise.
6204 * @param eventType The type of the event to send, as defined by several types from
6245 * Note: Called from the default {@link AccessibilityDelegate}.
6281 * Note: Called from the default {@link AccessibilityDelegate}.
6334 * Note: Called from the default {@link AccessibilityDelegate}.
6344 * Called from {@link #dispatchPopulateAccessibilityEvent(AccessibilityEvent)}
6386 * Note: Called from the default {@link AccessibilityDelegate}.
6431 * Note: Called from the default {@link AccessibilityDelegate}.
6465 * Returns an {@link AccessibilityNodeInfo} representing this view from the
6467 * This method is responsible for obtaining an accessibility node info from a
6612 * unrelated to the class it is deriving from. This is used to fill in
6620 * Called when assist structure is being retrieved from a view as part of
6623 * fills in all data that can be inferred from the view itself.
6684 * Called when assist structure is being retrieved from a view as part of
6687 * uses {@link #getAccessibilityNodeProvider()} to try to generate this from the
6776 * Note: Called from the default {@link AccessibilityDelegate}.
6880 // views can be selected. Maybe from accessibility perspective
7090 * host methods. This prevents certain properties such as class name from
7691 // apply insets path and take things from there.
7699 // We're being called from the newer apply insets path.
7727 * <p>This method should be overridden by views that wish to apply a policy different from or
7733 * call this method from its own implementation if it wishes to apply the view's default
7737 * or a new {@link WindowInsets} cloned from the supplied insets with any insets consumed
7751 // We weren't called from within a direct call to fitSystemWindows,
7758 // We were called from within a direct call to fitSystemWindows.
7836 * @return WindowInsets from the top of the view hierarchy or null if View is detached
7983 @ViewDebug.IntToString(from = VISIBLE, to = "VISIBLE"),
7984 @ViewDebug.IntToString(from = INVISIBLE, to = "INVISIBLE"),
7985 @ViewDebug.IntToString(from = GONE, to = "GONE")
8152 @ViewDebug.IntToString(from = LAYOUT_DIRECTION_LTR, to = "LTR"),
8153 @ViewDebug.IntToString(from = LAYOUT_DIRECTION_RTL, to = "RTL"),
8154 @ViewDebug.IntToString(from = LAYOUT_DIRECTION_INHERIT, to = "INHERIT"),
8155 @ViewDebug.IntToString(from = LAYOUT_DIRECTION_LOCALE, to = "LOCALE")
8207 @ViewDebug.IntToString(from = LAYOUT_DIRECTION_LTR, to = "RESOLVED_DIRECTION_LTR"),
8208 @ViewDebug.IntToString(from = LAYOUT_DIRECTION_RTL, to = "RESOLVED_DIRECTION_RTL")
8222 * Indicates whether or not this view's layout is right-to-left. This is resolved from
8223 * layout attribute and/or the inherited value from the parent
8239 * <p>A view with transient state cannot be trivially rebound from an external
8257 * <p>A view with transient state cannot be trivially rebound from an external
8273 // update flag if we've just incremented up from 0 or decremented down to 0
8296 * was last attached to or detached from a window.
8430 * or false to reverts the View's internal state from a
8450 * the View's internal state from a previously set "pressed" state.
8510 * Controls whether assist data collection from this view and its children is enabled
8596 * state when a state saving traversal occurs from its parent. The default
8600 * @return Returns true if the view state saving from parent is enabled, else false.
8610 * state when a state saving traversal occurs from its parent. The default
8906 // an event or update internal state if focus is cleared from a
8918 // Since we are not delivering to a client accessibility events from not
8920 // event from the deepest view exposed to the client. As a consequence if
8945 * is used separately from that one for clearing accessibility focus when
9013 * is coming from. The rectangle can help give larger views a finer grained hint
9014 * about where focus is coming from, and therefore, where to show selection, or
9035 * to give a finer grained hint about where focus is coming from. May be null
9119 @ViewDebug.IntToString(from = IMPORTANT_FOR_ACCESSIBILITY_AUTO, to = "auto"),
9120 @ViewDebug.IntToString(from = IMPORTANT_FOR_ACCESSIBILITY_YES, to = "yes"),
9121 @ViewDebug.IntToString(from = IMPORTANT_FOR_ACCESSIBILITY_NO, to = "no"),
9122 @ViewDebug.IntToString(from = IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS,
9362 * Returns whether the View is considered actionable from
9465 * returns true from its
9518 * Note: Called from the default {@link AccessibilityDelegate}.
9855 * from the top of the view tree down to the currently focused view. If this
10178 * that this is separate from view focus: to receive key events, both
10514 * @param keyCode a key code that represents the button pressed, from
10562 * @param keyCode A key code that represents the button pressed, from
10592 * @param keyCode A key code that represents the button pressed, from
10676 * menu after returning from this method.
10736 * movement information available from a trackball).
11571 * <b>Note:</b> Some views handle scrolling independently from View and may
11712 * rectangle with the values from getScrollX(), getScrollY(),
11848 * Gets the distance along the Z axis from the camera to this view.
11861 * views are drawn) from the camera to this view. The camera's distance
11868 * <p>The distance of the camera from the view plane can have an affect on the
11964 * Increasing values result in counter-clockwise rotation from the viewpoint of looking
12008 * Increasing values result in clockwise rotation from the viewpoint of looking down the
12192 * The opacity of the view. This is a value from 0 to 1, where 0 means the view is
12266 * Sets the opacity of the view to a value from 0 to 1, where 0 means the view is
12292 * value will clip a View to its bounds, unless the View returns <code>false</code> from
12302 public void setAlpha(@FloatRange(from=0.0, to=1.0) float alpha) {
12329 * the new value for the alpha property is different from the old value
12874 * Note that this flag will only be respected if the View's Outline returns true from
12888 * Circular clips from a {@link ViewAnimationUtils#createCircularReveal(View, int, int, float, float)
12893 * Note that this flag will only be respected if the View's Outline returns true from
12933 * from the View's background drawable, via {@link Drawable#getOutline(Outline)}. Changing the
12939 * Only outlines that return true from {@link Outline#canClip()} may be used for clipping.
12961 * Called to rebuild this View's Outline from its {@link ViewOutlineProvider outline provider}
12974 * outline without invalidating the view itself. This is intended to be called from
13053 * When a view has focus and the user navigates away from it, the next view is searched for
13054 * starting from the rectangle filled in by this method.
13326 * This method differs from awakenScrollBars() only in its default duration.
13434 // FIXME: this is copied from WindowManagerService.
13435 // We should get this value from the system when it
13474 * This must be called from a UI thread. To call from a non-UI thread, call
13495 * This must be called from a UI thread. To call from a non-UI thread, call
13514 * This must be called from a UI thread. To call from a non-UI thread, call
13931 * <p>Removes the specified Runnable from the message queue.</p>
13933 * @param action The Runnable to remove from the message handling queue
13937 * may or may not have been actually removed from the message queue
13960 * Use this to invalidate the View from a non-UI thread.</p>
13962 * <p>This method can be invoked from outside of the UI thread
13974 * through the event loop. Use this to invalidate the View from a non-UI thread.</p>
13976 * <p>This method can be invoked from outside of the UI thread
13996 * <p>This method can be invoked from outside of the UI thread
14018 * <p>This method can be invoked from outside of the UI thread
14054 * <p>This method can be invoked from outside of the UI thread
14072 * <p>This method can be invoked from outside of the UI thread
14463 @ViewDebug.IntToString(from = SCROLLBARS_INSIDE_OVERLAY, to = "INSIDE_OVERLAY"),
14464 @ViewDebug.IntToString(from = SCROLLBARS_INSIDE_INSET, to = "INSIDE_INSET"),
14465 @ViewDebug.IntToString(from = SCROLLBARS_OUTSIDE_OVERLAY, to = "OUTSIDE_OVERLAY"),
14466 @ViewDebug.IntToString(from = SCROLLBARS_OUTSIDE_INSET, to = "OUTSIDE_INSET")
15227 * This is called when the view is detached from a window. At this point it
15400 // the array from being modified while we iterate it.
15436 // will also receive detached from window
15457 // the array from being modified while we iterate it.
15483 * {@link #onCancelPendingInputEvents()} and remove those pending events from the queue.</p>
15602 * Restore this view hierarchy's frozen state from the given container.
15680 * duplication is enabled, this view gets its drawable state from its parent rather
15681 * than from its own internal properties.</p>
15685 * always be used from XML or set to true before adding this view to a ViewGroup.</p>
15704 * <p>Indicates whether this duplicates its drawable state from its parent.</p>
15706 * @return True if this view's drawable state is duplicated from the parent,
15902 * bitmap. Calling {@link #draw(android.graphics.Canvas)} will not draw from the cache when
15903 * the cache is enabled. To benefit from the cache, you must request the drawing cache by
16074 * Called when the passed RenderNode is removed from the draw tree
16095 * draw from the cache when the cache is enabled. To benefit from the cache, you must
16278 // If the window is translucent, use a 32 bits bitmap to benefit from memcpy()
16835 // Uncommon, but possible. If a view is removed from the hierarchy during the call
17538 * Called from layout when this view should
17556 * This is called from layout.
17646 * Finalize inflating a view from XML. This is called as the last phase
17827 // drawable from triggering invalidations and scheduling runnables.
18605 * So the values returned from {@link #getPaddingLeft}, {@link #getPaddingTop},
18607 * from the values set in this call.
18698 * So the values returned from {@link #getPaddingStart}, {@link #getPaddingTop},
18700 * from the values set in this call.
19003 * Transforms a motion event from view-local coordinates to on-screen
19024 * Transforms a motion event from on-screen coordinates to view-local
19100 @ViewDebug.IntToString(from = 0, to = "x"),
19101 @ViewDebug.IntToString(from = 1, to = "y")
19323 * @param start The view to start from.
19599 * <p>Return the offset of the widget's text baseline from the widget's top
19837 * for optical bounds, etc. such as those from the measurement cache.
19855 * @param curState The current state as returned from a view or the result
20134 * therefore all View objects remove themselves from the global transparent
20151 // remove it from the transparent region.
20159 // the background drawable's non-transparent parts from this transparent region.
20312 * This is different from the callbacks received through
20472 * based on the dimensions it received from the
20526 * myLocalState is a lightweight mechanism for the sending information from the dragged View
20678 * Starts a move from {startX, startY}, the amount of the movement will be the offset
20768 * that any non-transparent parts of the Drawable are removed from the
20829 * Inflate a view from an XML resource. This convenience method wraps the {@link
20839 LayoutInflater factory = LayoutInflater.from(context);
21114 * in local view coordinates of this view from before this operation
21163 * in local view coordinates of this view from before this operation
21318 @ViewDebug.IntToString(from = TEXT_DIRECTION_INHERIT, to = "INHERIT"),
21319 @ViewDebug.IntToString(from = TEXT_DIRECTION_FIRST_STRONG, to = "FIRST_STRONG"),
21320 @ViewDebug.IntToString(from = TEXT_DIRECTION_ANY_RTL, to = "ANY_RTL"),
21321 @ViewDebug.IntToString(from = TEXT_DIRECTION_LTR, to = "LTR"),
21322 @ViewDebug.IntToString(from = TEXT_DIRECTION_RTL, to = "RTL"),
21323 @ViewDebug.IntToString(from = TEXT_DIRECTION_LOCALE, to = "LOCALE"),
21324 @ViewDebug.IntToString(from = TEXT_DIRECTION_FIRST_STRONG_LTR, to = "FIRST_STRONG_LTR"),
21325 @ViewDebug.IntToString(from = TEXT_DIRECTION_FIRST_STRONG_RTL, to = "FIRST_STRONG_RTL")
21384 @ViewDebug.IntToString(from = TEXT_DIRECTION_INHERIT, to = "INHERIT"),
21385 @ViewDebug.IntToString(from = TEXT_DIRECTION_FIRST_STRONG, to = "FIRST_STRONG"),
21386 @ViewDebug.IntToString(from = TEXT_DIRECTION_ANY_RTL, to = "ANY_RTL"),
21387 @ViewDebug.IntToString(from = TEXT_DIRECTION_LTR, to = "LTR"),
21388 @ViewDebug.IntToString(from = TEXT_DIRECTION_RTL, to = "RTL"),
21389 @ViewDebug.IntToString(from = TEXT_DIRECTION_LOCALE, to = "LOCALE"),
21390 @ViewDebug.IntToString(from = TEXT_DIRECTION_FIRST_STRONG_LTR, to = "FIRST_STRONG_LTR"),
21391 @ViewDebug.IntToString(from = TEXT_DIRECTION_FIRST_STRONG_RTL, to = "FIRST_STRONG_RTL")
21555 @ViewDebug.IntToString(from = TEXT_ALIGNMENT_INHERIT, to = "INHERIT"),
21556 @ViewDebug.IntToString(from = TEXT_ALIGNMENT_GRAVITY, to = "GRAVITY"),
21557 @ViewDebug.IntToString(from = TEXT_ALIGNMENT_TEXT_START, to = "TEXT_START"),
21558 @ViewDebug.IntToString(from = TEXT_ALIGNMENT_TEXT_END, to = "TEXT_END"),
21559 @ViewDebug.IntToString(from = TEXT_ALIGNMENT_CENTER, to = "CENTER"),
21560 @ViewDebug.IntToString(from = TEXT_ALIGNMENT_VIEW_START, to = "VIEW_START"),
21561 @ViewDebug.IntToString(from = TEXT_ALIGNMENT_VIEW_END, to = "VIEW_END")
21620 @ViewDebug.IntToString(from = TEXT_ALIGNMENT_INHERIT, to = "INHERIT"),
21621 @ViewDebug.IntToString(from = TEXT_ALIGNMENT_GRAVITY, to = "GRAVITY"),
21622 @ViewDebug.IntToString(from = TEXT_ALIGNMENT_TEXT_START, to = "TEXT_START"),
21623 @ViewDebug.IntToString(from = TEXT_ALIGNMENT_TEXT_END, to = "TEXT_END"),
21624 @ViewDebug.IntToString(from = TEXT_ALIGNMENT_CENTER, to = "CENTER"),
21625 @ViewDebug.IntToString(from = TEXT_ALIGNMENT_VIEW_START, to = "VIEW_START"),
21626 @ViewDebug.IntToString(from = TEXT_ALIGNMENT_VIEW_END, to = "VIEW_END")
21822 * @param event The MotionEvent from a mouse
22055 * A MeasureSpec encapsulates the layout requirements passed from parent to child.
22130 public static int makeMeasureSpec(@IntRange(from = 0, to = (1 << MeasureSpec.MODE_SHIFT) - 1) int size,
22153 * Extracts the mode from the supplied measure specification.
22155 * @param measureSpec the measure specification to extract the mode from
22167 * Extracts the size from the supplied measure specification.
22169 * @param measureSpec the measure specification to extract the size from
22404 * onDrag(event) behavior, it should return 'false' from this callback.
22505 * or detached from its window.
22514 * Called when the view is detached from a window.
22560 * Constructor used when reading from a parcel. Reads the state of the superclass.
22562 * @param source parcel to read from
22569 * Constructor used when reading from a parcel using a given class loader.
22572 * @param source parcel to read from
22965 * Temporary for use in querying outlines from OutlineProviders
23153 // the opacity (alpha) from fully opaque to fully
23251 * host methods. This prevents certain properties such as class name from
23445 * Returns an {@link AccessibilityNodeInfo} representing the host view from the
23447 * This method is responsible for obtaining an accessibility node info from a
23514 // all events from this frame and send them on the next frame.