Lines Matching refs:location

312  * The geometry of a view is that of a rectangle. A view has a location,
314 * two dimensions, expressed as a width and a height. The unit for location
319 * It is possible to retrieve the location of a view by invoking the methods
323 * both return the location of the view relative to its parent. For instance,
1874 * Indicates that this view is currently directly under the drag location in a
5556 * Gets the location of this view in screen coordinates.
5558 * @param outRect The output location
5566 * Gets the location of this view in screen coordinates.
5568 * @param outRect The output location
6386 * far edges of the window, not accounting for the location of the called view
10404 * The x location of the point around which the view is {@link #setRotation(float) rotated}
10411 * @return The x location of the pivot point.
10421 * Sets the x location of the point around which the view is
10427 * @param pivotX The x location of the pivot point.
10446 * The y location of the point around which the view is {@link #setRotation(float) rotated}
10453 * @return The y location of the pivot point.
10463 * Sets the y location of the point around which the view is {@link #setRotation(float) rotated}
10468 * @param pivotY The y location of the pivot point.
10972 * The horizontal location of this view relative to its {@link #getLeft() left} position.
10984 * Sets the horizontal location of this view relative to its {@link #getLeft() left} position.
11005 * The vertical location of this view relative to its {@link #getTop() top} position.
11018 * Sets the vertical location of this view relative to its {@link #getTop() top} position.
11038 * The depth location of this view relative to its {@link #getElevation() elevation}.
11048 * Sets the depth location of this view relative to its {@link #getElevation() elevation}.
11343 * Offset this view's vertical location by the specified number of pixels.
11393 * Offset this view's horizontal location by the specified amount of pixels.
16946 int[] location = new int[2];
16947 getLocationOnScreen(location);
16948 return location;
16954 * contains the x and y location in that order.</p>
16956 * @param location an array of two integers in which to hold the coordinates
16958 public void getLocationOnScreen(int[] location) {
16959 getLocationInWindow(location);
16963 location[0] += info.mWindowLeft;
16964 location[1] += info.mWindowTop;
16971 * contains the x and y location in that order.</p>
16973 * @param location an array of two integers in which to hold the coordinates
16975 public void getLocationInWindow(int[] location) {
16976 if (location == null || location.length < 2) {
16977 throw new IllegalArgumentException("location must be an array of two integers");
16982 location[0] = location[1] = 0;
17019 location[0] = (int) (position[0] + 0.5f);
17020 location[1] = (int) (position[1] + 0.5f);
17091 * boundary since the user can touch the screen at an arbitrary location
17962 final int[] location = attachInfo.mTransparentLocation;
17963 getLocationInWindow(location);
17964 region.op(location[0], location[1], location[0] + mRight - mLeft,
17965 location[1] + mBottom - mTop, Region.Op.DIFFERENCE);
18248 * be centered under the touch location while dragging.
18498 final int[] location = attachInfo.mTransparentLocation;
18499 getLocationInWindow(location);
18500 r.translate(location[0], location[1]);
20448 * computing absolute on-screen location.
20454 * x/y location when view is transformed.