/external/chromium_org/ui/gfx/win/ |
window_impl.cc | 152 void WindowImpl::Init(HWND parent, const Rect& bounds) { 168 if (bounds.IsEmpty()) { 171 x = bounds.x(); 172 y = bounds.y(); 173 width = bounds.width(); 174 height = bounds.height();
|
/external/chromium_org/ui/views/controls/button/ |
label_button_unittest.cc | 143 EXPECT_LT(button.image_->bounds().right(), button.label_->bounds().x()); 147 EXPECT_LT(button.image_->bounds().right(), button.label_->bounds().x()); 151 EXPECT_LT(button.label_->bounds().right(), button.image_->bounds().x());
|
/external/skia/src/core/ |
SkRTree.h | 39 * It also supports bulk-loading from a batch of bounds and values; if you don't require the tree 54 * If you have some prior information about the distribution of bounds you're expecting, you 63 * Insert a node, consisting of bounds and a data value into the tree, if we don't immediately 67 * @param bounds The corresponding bounding box 70 virtual void insert(void* data, const SkIRect& bounds, bool defer = false) SK_OVERRIDE; 181 int validateSubtree(Node* root, SkIRect bounds, bool isRoot = false);
|
/external/skia/src/gpu/ |
GrPathRenderer.h | 192 // Helper for getting the device bounds of a path. Inverse filled paths will have bounds set 193 // by devSize. Non-inverse path bounds will not necessarily be clipped to devSize. 198 SkRect* bounds); 204 SkRect* bounds) { 205 GetPathDevBounds(path, device->width(), device->height(), matrix, bounds);
|
/external/skia/src/utils/debugger/ |
SkDebugCanvas.h | 218 virtual bool getClipBounds(SkRect* bounds) const SK_OVERRIDE { 219 if (NULL != bounds) { 220 bounds->setXYWH(0, 0, 226 virtual bool getClipDeviceBounds(SkIRect* bounds) const SK_OVERRIDE { 227 if (NULL != bounds) { 228 bounds->setLargest();
|
/external/skia/tests/ |
CanvasStateTest.cpp | 53 // draw a rect within the layer's bounds and again outside the layer's bounds 245 SkRect bounds = SkRect::MakeWH(SkIntToScalar(LAYER_WIDTH), SkIntToScalar(LAYER_HEIGHT)); local 250 canvas.saveLayer(&bounds, NULL, SkCanvas::kARGB_NoClipLayer_SaveFlag); 259 // stack to the layer bounds. 260 canvas.saveLayer(&bounds, NULL, SkCanvas::kARGB_ClipLayer_SaveFlag);
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/ |
DexBackedDexFile.java | 166 throw new InvalidItemIndex(stringIndex, "String index out of bounds: %d", stringIndex); 173 throw new InvalidItemIndex(typeIndex, "Type index out of bounds: %d", typeIndex); 180 throw new InvalidItemIndex(fieldIndex, "Field index out of bounds: %d", fieldIndex); 187 throw new InvalidItemIndex(methodIndex, "Method index out of bounds: %d", methodIndex); 194 throw new InvalidItemIndex(protoIndex, "Proto index out of bounds: %d", protoIndex); 201 throw new InvalidItemIndex(classIndex, "Class index out of bounds: %d", classIndex);
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
ClipDrawable.java | 210 protected void onBoundsChange(Rect bounds) { 211 mClipState.mDrawable.setBounds(bounds); 222 final Rect bounds = getBounds(); local 224 int w = bounds.width(); 229 int h = bounds.height(); 235 Gravity.apply(mClipState.mGravity, w, h, bounds, r, layoutDirection);
|
/frameworks/base/libs/hwui/ |
Layer.h | 91 const android::Rect& bounds = region.getBounds(); local 92 regionRect.set(bounds.leftTop().x, bounds.leftTop().y, 93 bounds.rightBottom().x, bounds.rightBottom().y); 283 * Bounds of the layer.
|
Rect.h | 197 * Similar to snapToPixelBoundaries, but estimates bounds conservatively to handle GL rounding 206 * a 0.5 pixel perimeter not accounted for in its bounds. Instead, snap by 207 * conservatively rounding out the bounds with floor/ceil. 209 * In order to avoid changing integer bounds with floor/ceil due to rounding errors 210 * inset the bounds first by the fudge factor. Very small fraction-of-a-pixel errors 220 * bounds by a fudge factor. This ensures that ambiguous geometry (e.g. a non-AA Rect
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/ |
ImageUtils.java | 101 final Point bounds = getImageBounds(factory); local 102 if (bounds == null) { 108 opts.inSampleSize = Math.max(bounds.x / maxSize, bounds.y / maxSize); 190 * Gets the image bounds 194 * @return The image bounds
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/ |
GuidelinePainter.java | 54 Rect bounds = dragged.getBounds(); local 55 if (bounds.isValid()) { 56 gc.fillRect(bounds); 72 Rect bounds = n.getBounds(); local 73 gc.fillRect(bounds); 190 // Also go through the dragged node bounds
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/ |
RelativeLayoutRuleTest.java | 32 .bounds(new Rect(0, 0, 240, 480)).add( 34 TestNode.create("android.widget.Button").id("@+id/Centered").bounds( 38 TestNode.create("android.widget.Button").id("@+id/Below").bounds( 66 // Bounds rectangle 130 // Bounds rectangle 157 // Bounds rectangle
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
DebugContext.java | 58 * Test whether we are detect out-of-bounds allocation accesses 74 * Test whether we are detect out-of-bounds allocation accesses
|
/cts/tests/tests/view/src/android/view/cts/ |
TouchDelegateTest.java | 96 public MockTouchDelegate(Rect bounds, View delegateView) { 97 super(bounds, delegateView);
|
/development/samples/devbytes/animation/ListViewCellInsertion/src/com/example/android/insertingcells/ |
InsertionListView.java | 96 * above the bounds of the ListView. 103 * Stores the starting bounds and the corresponding bitmap drawables of every 224 * drawables. The bounds of each drawable are then animated from the 239 "bounds", sBoundsEvaluator, startBounds, endBounds); 245 Rect bounds = (Rect)valueAnimator.getAnimatedValue(); 246 mCurrentBound.set(bounds); 250 mLastBound = bounds; 361 * by updating its bounds.
|
/external/chromium-trace/trace-viewer/src/tracing/trace_model/ |
slice_group.js | 36 this.bounds = new base.Range(); 154 opt_maxTimestamp = this.bounds.max; 178 * Updates the bounds for this group based on the slices it contains. 181 this.bounds.reset(); 183 this.bounds.addValue(this.slices[i].start); 184 this.bounds.addValue(this.slices[i].end); 188 this.bounds.addValue(this.openPartialSlices_[0].start); 189 this.bounds.addValue(
|
/external/chromium-trace/trace-viewer/src/ui/ |
quad_view.js | 175 var bounds = quad.boundingRect(); 178 bounds.x, bounds.y, bounds.width, bounds.height); 269 var bounds = this.canvas_.getBoundingClientRect(); 270 var vecInLayout = vec2.createXY(clientX - bounds.left, 271 clientY - bounds.top);
|
/external/chromium_org/ash/desktop_background/ |
desktop_background_widget_controller.cc | 89 void DesktopBackgroundWidgetController::SetBounds(gfx::Rect bounds) { 91 widget_->SetBounds(bounds);
|
/external/chromium_org/ash/drag_drop/ |
drag_image_view.h | 32 // Sets the bounds of the native widget in screen 36 void SetBoundsInScreen(const gfx::Rect& bounds);
|
/external/chromium_org/ash/frame/ |
default_header_painter.h | 69 // Returns the header bounds in the coordinates of |view_|. The header is 74 // Returns the bounds for the title.
|
/external/chromium_org/ash/ime/ |
candidate_window_view.cc | 46 gfx::Rect bounds(content_size); 47 bounds.set_origin(gfx::Point( 57 if (bounds.right() > work_area.right()) 58 bounds.set_x(work_area.right() - bounds.width()); 59 if (bounds.x() < work_area.x()) 60 bounds.set_x(work_area.x()); 62 return bounds;
|
/external/chromium_org/ash/wm/ |
ash_native_cursor_manager_interactive_uitest.cc | 52 const gfx::Rect& bounds, 55 info.SetBounds(bounds);
|
/external/chromium_org/cc/animation/ |
animation_curve.h | 72 // Sets |bounds| to be the bounding box for the region within which |box| 76 gfx::BoxF* bounds) const = 0;
|
/external/chromium_org/cc/layers/ |
heads_up_display_layer_impl.h | 94 const SkRect& bounds) const; 97 const SkRect& bounds,
|