/frameworks/native/include/ui/ |
H A D | Region.h | 49 inline Rect bounds() const { return getBounds(); } function in class:android::Region 51 // the region becomes its bounds 169 // bounds of the region. However, if the region is
|
/frameworks/base/core/java/android/text/ |
H A D | Layout.java | 464 * Return the start position of the line, given the left and right bounds 468 * @param left the left bounds (0, or leading margin if ltr para) 469 * @param right the right bounds (width, minus leading margin if rtl para) 607 * If bounds is not null, return the top, left, right, bottom extents 610 * @param bounds Optional. If not null, it returns the extent of the line 613 public int getLineBounds(int line, Rect bounds) { argument 614 if (bounds != null) { 615 bounds.left = 0; // ??? 616 bounds.top = getLineTop(line); 617 bounds [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | Path.cpp | 86 static void computeBounds(JNIEnv* env, jobject clazz, SkPath* obj, jobject bounds) { argument 88 GraphicsJNI::rect_to_jrectf(bounds_, env, bounds);
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Bitmap.java | 182 * Sets the layout bounds as an array of left, top, right, bottom integers 183 * @param bounds the array containing the padding values 187 public void setLayoutBounds(int[] bounds) { argument 188 mLayoutBounds = bounds; 1097 * if x or y are out of bounds (negative or >= to the width or height 1103 * @throws IllegalArgumentException if x, y exceed the bitmap's bounds 1130 * bounds of the bitmap, or if abs(stride) < width. 1214 * bounds. 1244 * the bitmap's bounds.
|
/frameworks/base/libs/hwui/ |
H A D | OpenGLRenderer.h | 294 * Marks the specified region as dirty at the specified bounds. 296 void dirtyLayerUnchecked(Rect& bounds, Region* region); 330 * @param rect The bounds of the layer 419 * Performs a quick reject but adjust the bounds to account for stroke width if necessary 446 * @param bounds The bounds of the layer 449 bool createFboLayer(Layer* layer, Rect& bounds, Rect& clip, GLuint previousFbo); 455 * @param rect The layer's bounds 463 * @param rect The layer's bounds
|
H A D | ShapeCache.h | 60 * Left coordinate of the path bounds. 64 * Top coordinate of the path bounds. 507 void computeBounds(const SkRect& bounds, const SkPaint* paint,
|
/frameworks/ex/chips/src/com/android/ex/chips/ |
H A D | RecipientEditTextView.java | 655 Rect bounds = new Rect(); 656 paint.getTextBounds(text, 0, text.length(), bounds); 657 int textHeight = bounds.bottom - bounds.top ; 826 Rect bounds; 828 bounds = chip.getDrawable().getBounds(); 829 if (getWidth() > 0 && bounds.right - bounds.left > getWidth()) { 2084 // Figure out the bounds of this chip and whether or not
|
/frameworks/base/core/java/android/widget/ |
H A D | GridLayout.java | 198 * the bounds of each view are extended outwards, according 343 * value of each the upper bounds defined in {@link LayoutParams#rowSpec}. 376 * value of each the upper bounds defined in {@link LayoutParams#columnSpec}. 1252 Bounds bounds = getAlignment(spec.alignment, horizontal).getBounds(); 1253 assoc.put(spec, bounds); 1300 Bounds[] bounds = getGroupBounds().values; 1301 for (int i = 0; i < bounds.length; i++) { 1302 int size = bounds[i].size(min);
|
H A D | TextView.java | 1942 * want a Drawable there. The Drawables' bounds will be set to 1943 * their intrinsic bounds. 1967 * want a Drawable there. The Drawables' bounds will be set to 1968 * their intrinsic bounds. 2112 * want a Drawable there. The Drawables' bounds will be set to 2113 * their intrinsic bounds. 2140 * want a Drawable there. The Drawables' bounds will be set to 2141 * their intrinsic bounds. 4449 Rect bounds = mEditor.mCursorDrawable[i].getBounds(); 4450 invalidate(bounds 5115 getLineBounds(int line, Rect bounds) argument [all...] |
H A D | AbsListView.java | 159 * Indicates the view is being flung outside of normal content bounds 737 * itself to modify the bounds of the selection shown for that item. 741 * Called to allow the list item to adjust the bounds shown for 744 * @param bounds On call, this contains the bounds the list has 745 * selected for the item (that is the bounds of the entire view). The 748 public void adjustListItemSelectionBounds(Rect bounds); argument
|
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/ |
H A D | GridLayout.java | 197 * the bounds of each view are extended outwards, according 323 * value of each the upper bounds defined in {@link LayoutParams#rowSpec}. 356 * value of each the upper bounds defined in {@link LayoutParams#columnSpec}. 813 // Draw bounds 1174 Bounds bounds = getAlignment(spec.alignment, horizontal).getBounds(); 1175 assoc.put(spec, bounds); 1222 Bounds[] bounds = getGroupBounds().values; 1223 for (int i = 0; i < bounds.length; i++) { 1224 int size = bounds[i].size(min);
|
/frameworks/base/core/java/android/inputmethodservice/ |
H A D | KeyboardView.java | 689 final Rect bounds = keyBackground.getBounds(); 690 if (key.width != bounds.right || 691 key.height != bounds.bottom) {
|
/frameworks/native/opengl/libagl/ |
H A D | context.h | 188 GLsizei bounds; member in struct:android::gl::array_t
|
H A D | array.cpp | 334 this->bounds = count;
|
/frameworks/native/services/surfaceflinger/ |
H A D | LayerBase.cpp | 345 onDraw( hw, Region(hw->bounds()) );
|
/frameworks/rs/driver/ |
H A D | rsdAllocation.cpp | 479 Rect bounds(drv->wndBuffer->width, drv->wndBuffer->height); 484 bounds, &dst);
|
/frameworks/base/core/java/android/webkit/ |
H A D | WebViewClassic.java | 1149 * This how far content can be pulled beyond its normal bounds by the user. 1155 * This is how far flinged content can move beyond the end of its normal bounds. 2475 // Check the index bounds so we don't crash in native code while 4279 * Draw the background when beyond bounds 4614 private void drawHandle(Point point, int handleId, Rect bounds, argument 4636 bounds.set(x - offset, y, x - offset + width, y + height); 4637 drawable.setBounds(bounds); 5229 // The line from first point in text bounds to bottom is AP 5246 * Assuming arbitrary shape of a quadralateral forming text bounds, this 6194 * @param min The minimum coordinate (x or y) of the edit content bounds [all...] |
/frameworks/base/core/java/android/view/ |
H A D | ViewRootImpl.java | 886 // Intersect with the bounds of the window to skip 2331 Rect bounds = mView.mAttachInfo.mTmpInvalRect; 2333 mAccessibilityFocusedHost.getBoundsOnScreen(bounds); 2338 mAccessibilityFocusedVirtualView.getBoundsInScreen(bounds); 2340 bounds.offset(-mAttachInfo.mWindowLeft, -mAttachInfo.mWindowTop); 2341 bounds.intersect(0, 0, mAttachInfo.mViewRootImpl.mWidth, mAttachInfo.mViewRootImpl.mHeight); 2342 drawable.setBounds(bounds); 2514 // to clear the focus and invalidate the virtual view bounds.
|
H A D | View.java | 431 * its current bounds. 460 * <li>If in the course of processing the event, the view's bounds may need 1594 * lie outside of this view's bounds. 2827 * visible edges of this view its bounds. 4065 * Add a listener that will be called when the bounds of the view change due to 4068 * @param listener The listener that will be called when layout bounds change. 4083 * @param listener The listener for layout bounds change. 4967 Rect bounds = mAttachInfo.mTmpInvalRect; 4969 getDrawingRect(bounds); 4970 info.setBoundsInParent(bounds); [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | PhoneStatusBar.java | 2489 public void setBounds(Rect bounds) { argument
|