/frameworks/opt/photoviewer/src/com/android/ex/photo/util/ |
H A D | ImageUtils.java | 105 final Point bounds = getImageBounds(resolver, uri); 107 if (bounds == null || inputStream == null) { 110 opts.inSampleSize = Math.max(bounds.x / maxSize, bounds.y / maxSize); 207 * Gets the image bounds 212 * @return The image bounds
|
/frameworks/rs/driver/ |
H A D | rsdAllocation.cpp | 479 Rect bounds(drv->wndBuffer->width, drv->wndBuffer->height); 484 bounds, &dst);
|
/frameworks/rs/ |
H A D | rsFont.cpp | 137 void Font::measureCachedGlyph(CachedGlyphInfo *glyph, int32_t x, int32_t y, Rect *bounds) { argument 145 if (bounds->bottom < nPenY) { 146 bounds->bottom = nPenY; 148 if (bounds->left > nPenX) { 149 bounds->left = nPenX; 151 if (bounds->right < nPenX + width) { 152 bounds->right = nPenX + width; 154 if (bounds->top > nPenY - height) { 155 bounds->top = nPenY - height; 161 RenderMode mode, Rect *bounds, 159 renderUTF(const char *text, uint32_t len, int32_t x, int32_t y, uint32_t start, int32_t numGlyphs, RenderMode mode, Rect *bounds, uint8_t *bitmap, uint32_t bitmapW, uint32_t bitmapH) argument 745 renderText(const char *text, uint32_t len, int32_t x, int32_t y, uint32_t startIndex, int32_t numGlyphs, Font::RenderMode mode, Font::Rect *bounds, uint8_t *bitmap, uint32_t bitmapW, uint32_t bitmapH) argument 782 measureText(const char *text, uint32_t len, Font::Rect *bounds) argument [all...] |
H A D | rsFont.h | 88 RenderMode mode = FRAMEBUFFER, Rect *bounds = NULL, 133 void measureCachedGlyph(CachedGlyphInfo *glyph, int32_t x, int32_t y, Rect *bounds); 152 Font::Rect *bounds = NULL, 155 void measureText(const char *text, uint32_t len, Font::Rect *bounds);
|
/frameworks/support/v4/ics/android/support/v4/view/accessibility/ |
H A D | AccessibilityNodeInfoCompatIcs.java | 144 public static void setBoundsInParent(Object info, Rect bounds) { argument 145 ((AccessibilityNodeInfo) info).setBoundsInParent(bounds); 148 public static void setBoundsInScreen(Object info, Rect bounds) { argument 149 ((AccessibilityNodeInfo) info).setBoundsInScreen(bounds);
|
/frameworks/support/v4/java/android/support/v4/view/accessibility/ |
H A D | AccessibilityNodeInfoCompat.java | 59 public void setBoundsInParent(Object info, Rect bounds); argument 61 public void setBoundsInScreen(Object info, Rect bounds); argument 274 public void setBoundsInParent(Object info, Rect bounds) { argument 279 public void setBoundsInScreen(Object info, Rect bounds) { argument 541 public void setBoundsInParent(Object info, Rect bounds) { argument 542 AccessibilityNodeInfoCompatIcs.setBoundsInParent(info, bounds); 546 public void setBoundsInScreen(Object info, Rect bounds) { argument 547 AccessibilityNodeInfoCompatIcs.setBoundsInScreen(info, bounds); 1283 * Gets the node bounds in parent coordinates. 1285 * @param outBounds The output node bounds 1302 setBoundsInParent(Rect bounds) argument 1326 setBoundsInScreen(Rect bounds) argument [all...] |
/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/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/ex/photoviewer/src/com/android/ex/photo/util/ |
H A D | ImageUtils.java | 96 final Point bounds = getImageBounds(resolver, uri); 99 opts.inSampleSize = Math.max(bounds.x / maxSize, bounds.y / maxSize); 184 * Gets the image bounds 189 * @return The image bounds
|
/frameworks/native/include/ui/ |
H A D | GraphicBufferMapper.h | 46 int usage, const Rect& bounds, void** vaddr);
|
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/native/libs/gui/ |
H A D | SurfaceTextureClient.cpp | 688 err = src->lock(GRALLOC_USAGE_SW_READ_OFTEN, reg.bounds(), (void**)&src_bits); 692 err = dst->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, reg.bounds(), (void**)&dst_bits); 764 const Rect bounds(backBuffer->width, backBuffer->height); 769 newDirtyRegion.andSelf(bounds); 771 newDirtyRegion.set(bounds); 789 newDirtyRegion.set(bounds); 816 newDirtyRegion.bounds(), &vaddr);
|
/frameworks/native/libs/ui/ |
H A D | GraphicBufferMapper.cpp | 74 int usage, const Rect& bounds, void** vaddr) 80 bounds.left, bounds.top, bounds.width(), bounds.height(), 73 lock(buffer_handle_t handle, int usage, const Rect& bounds, void** vaddr) argument
|
H A D | Region.cpp | 85 const Rect bounds(getBounds()); 87 mStorage.add(bounds); 256 Rect bounds; member in class:android::Region::rasterizer 264 : bounds(INT_MAX, 0, INT_MIN, 0), storage(reg.mStorage), head(), tail(), cur() { 273 bounds.top = storage.itemAt(0).top; 274 bounds.bottom = storage.top().bottom; 279 bounds.left = 0; 280 bounds.right = 0; 282 storage.add(bounds); 328 bounds [all...] |
/frameworks/native/opengl/libagl/ |
H A D | array.cpp | 334 this->bounds = count;
|
H A D | context.h | 188 GLsizei bounds; member in struct:android::gl::array_t
|
/frameworks/native/services/surfaceflinger/ |
H A D | DisplayDevice.cpp | 200 const Region newDirty(dirty.intersect(bounds())); 337 dirtyRegion.set(bounds()); 380 dirtyRegion.set(bounds());
|
H A D | DisplayDevice.h | 126 inline Rect bounds() const { return getBounds(); } function in class:android::DisplayDevice
|
H A D | LayerBase.cpp | 345 onDraw( hw, Region(hw->bounds()) );
|
H A D | SurfaceFlinger.cpp | 814 doComposeSurfaces(hw, Region(hw->bounds())); 892 const Rect bounds(hw->getBounds()); 904 drawRegion.andSelf(bounds); 912 hw->undefinedRegion.set(bounds); 1360 Rect bounds(layer->computeBounds()); 1361 visibleRegion.set(bounds); 1489 dirtyRegion.set(hw->swapRegion.bounds()); 1496 dirtyRegion.set(hw->swapRegion.bounds()); 1499 dirtyRegion.set(hw->bounds()); 1551 const Rect& bounds(h [all...] |
H A D | Transform.cpp | 206 Rect Transform::transform(const Rect& bounds) const 209 vec2 lt( bounds.left, bounds.top ); 210 vec2 rt( bounds.right, bounds.top ); 211 vec2 lb( bounds.left, bounds.bottom ); 212 vec2 rb( bounds.right, bounds.bottom ); 238 out.set(transform(reg.bounds())); [all...] |
H A D | Transform.h | 80 Rect transform(const Rect& bounds) const;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | DelegateViewHelper.java | 116 RectF bounds = new RectF(); 123 bounds.set(p[0], p[1], p[0] + view.getWidth(), p[1] + view.getHeight()); 125 bounds.union(p[0], p[1], p[0] + view.getWidth(), p[1] + view.getHeight()); 128 mInitialTouch.set(bounds);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | PhoneStatusBar.java | 2489 public void setBounds(Rect bounds) { argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | FixedSizeDrawable.java | 43 public void setBounds(Rect bounds) { argument
|