/external/chromium_org/chrome/browser/chromeos/ui/ |
idle_app_name_notification_view.cc | 59 gfx::Size rs = root_window->bounds().size(); 61 gfx::Rect bounds((rs.width() - ps.width()) / 2, 73 params.bounds = bounds; 92 bounds.set_y((rs.height() - ps.height()) / 20); 93 widget->SetBounds(bounds); 166 gfx::Rect rect = widget_view->bounds();
|
/external/chromium_org/chrome/browser/ui/autofill/ |
password_generation_popup_controller_impl.cc | 39 const gfx::RectF& bounds, 47 previous->element_bounds() == bounds && 58 bounds, 69 const gfx::RectF& bounds, 80 controller_common_(bounds, container_view, web_contents), 209 // Calculate the bounds for the rest of the elements given the bounds of
|
/external/chromium_org/chrome/browser/ui/cocoa/location_bar/ |
autocomplete_text_field_unittest.mm | 289 // Test that the field editor gets the same bounds when focus is 311 // Test that the field editor gets the same bounds when focus is 320 inFrame:[field_ bounds]])); 323 inFrame:[field_ bounds]])); 334 inFrame:[field_ bounds]])); 343 inFrame:[field_ bounds]])); 349 // Test that resetting the field editor bounds does not cause untoward 397 const NSRect bounds = [field_ bounds]; 399 [cell frameForDecoration:&mock_right_decoration_ inFrame:bounds]; [all...] |
/external/chromium_org/chrome/browser/ui/views/tabs/ |
stacked_tab_strip_layout.h | 19 // mode. StackedTabStripLayout is responsible for managing the bounds of the 34 // ViewModel the bounds of the tabs are placed in. 115 // Reset the bounds of the active tab (based on ConstrainActiveX()) and resets 116 // the bounds of the remaining tabs by way of LayoutUsingCurrent*. 119 // Sets the bounds of the tabs after |index| relative to the position of the 155 // Sets the bounds of the tab at |index|. 219 // Where bounds are placed. This is owned by TabStrip.
|
/external/chromium_org/content/browser/web_contents/ |
web_contents_view_overscroll_animator_slider_mac.mm | 62 [subview setFrame:self.bounds]; 91 bottomView_.reset([[NSImageView alloc] initWithFrame:self.bounds]); 97 middleView_.reset([[ResizingView alloc] initWithFrame:self.bounds]); 101 topView_.reset([[NSImageView alloc] initWithFrame:self.bounds]); 136 return NSMakePoint(progress / kMaxProgress * self.bounds.size.width, 0); 137 return NSMakePoint((1 - progress / kMaxProgress) * self.bounds.size.width, 0); 179 [topView_ setFrameOrigin:NSMakePoint(self.bounds.size.width, 0)];
|
/external/chromium_org/pdf/ |
pdf.cc | 123 // specify a bounds rectangle within the DC in which to render the PDF page. 125 // supplied bounds if the page size is larger than the bounds in any 127 // bounds will be clipped. 129 // the supplied bounds if the page size is smaller than the bounds in any 137 // done) should be centered within the given bounds.
|
/external/chromium_org/remoting/host/ |
disconnect_window_mac.mm | 119 CGFloat oldConnectedWidth = NSWidth([connectedToField_ bounds]); 131 CGFloat oldDisconnectWidth = NSWidth([disconnectButton_ bounds]); 223 NSRect bounds = NSInsetRect([self bounds], 1, 1); 225 NSBezierPath *path = [NSBezierPath bezierPathWithRoundedRect:bounds 254 CGFloat inset = [self isRToL] ? NSMaxX(bounds) - kBaseInset - kDragHandleWidth 257 NSPoint top = NSMakePoint(inset, NSMidY(bounds) - kHeight / 2.0);
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/ |
SimpleFontData.h | 256 FloatRect bounds; 258 bounds = m_glyphToBoundsMap->metricsForGlyph(glyph); 259 if (bounds.width() != cGlyphSizeUnknown) 260 return bounds; 263 bounds = platformBoundsForGlyph(glyph); 266 m_glyphToBoundsMap->setMetricsForGlyph(glyph, bounds); 267 return bounds;
|
/external/chromium_org/third_party/skia/samplecode/ |
SampleDraw.cpp | 122 void getBounds(SkRect* bounds) { 123 this->onGetBounds(bounds); 152 SkRect bounds; local 153 this->getBounds(&bounds); 154 return bounds.contains(x, y); 212 virtual void onGetBounds(SkRect* bounds) { 213 *bounds = fRect;
|
SampleRegion.cpp | 56 // Need a bounds for the text 57 SkRect bounds; local 61 bounds.set(x, y + fm.fTop, x + paint.measureText(text, len), y + fm.fBottom); 63 // may need to outset bounds a little, to account for hinting and/or 65 bounds.inset(-SkIntToScalar(2), -SkIntToScalar(2)); 67 canvas->saveLayer(&bounds, NULL); 71 { bounds.fLeft, y }, 72 { bounds.fRight, y } 85 canvas->drawRect(bounds, p);
|
/external/chromium_org/ui/app_list/views/ |
app_list_main_view_unittest.cc | 83 params.bounds.set_size(main_view_->GetPreferredSize()); 101 if (view->bounds().Contains(point)) { 131 gfx::PointAtOffsetFromOrigin(point - view->bounds().origin()); 144 gfx::PointAtOffsetFromOrigin(point - drag_view->bounds().origin()); 210 const gfx::Rect first_slot_tile = folder_item_view->bounds(); 226 gfx::Point point = item_view->bounds().CenterPoint(); 267 EXPECT_EQ(first_slot_tile, RootViewModel()->view_at(0)->bounds());
|
/external/chromium_org/ui/base/ime/ |
remote_input_method_win.cc | 88 std::vector<gfx::Rect> bounds; 96 bounds.push_back(rect); 101 // Use the caret bounds as a fallback if no composition character bounds is 104 if (bounds.empty()) 105 bounds.push_back(client->GetCaretBounds()); 106 return bounds;
|
/external/chromium_org/ui/views/widget/ |
native_widget_aura.cc | 66 void SetRestoreBounds(aura::Window* window, const gfx::Rect& bounds) { 67 window->SetProperty(aura::client::kRestoreBoundsKey, new gfx::Rect(bounds)); 121 gfx::Rect window_bounds = params.bounds; 137 // If a parent is specified but no bounds are given, 140 gfx::Rect bounds = gfx::Screen::GetScreenFor(parent)-> local 141 GetDisplayNearestWindow(parent).bounds(); 142 window_bounds.set_origin(bounds.origin()); 160 // Wait to set the bounds until we have a parent. That way we can know our 161 // true state/bounds (the LayoutManager may enforce a particular 162 // state/bounds) [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
FauxveridesTest.java | 242 final List<Type> bounds; field in class:FauxveridesTest.TypeParameterSignature 246 bounds = Arrays.asList(typeParameter.getBounds()); 256 return bounds.equals(other.bounds); 263 return bounds.hashCode(); 267 return (bounds.equals(ImmutableList.of(Object.class))) 269 : name + " extends " + getTypesString(bounds);
|
/external/qemu/distrib/sdl-1.2.15/src/video/wincommon/ |
SDL_syswm.c | 64 SDL_Rect bounds; 148 bounds.x = 0; 149 bounds.y = 0; 150 bounds.w = icon->w; 151 bounds.h = icon->h; 152 if ( SDL_LowerBlit(icon, &bounds, icon_256, &bounds) < 0 ) {
|
/external/skia/samplecode/ |
SampleDraw.cpp | 122 void getBounds(SkRect* bounds) { 123 this->onGetBounds(bounds); 152 SkRect bounds; local 153 this->getBounds(&bounds); 154 return bounds.contains(x, y); 212 virtual void onGetBounds(SkRect* bounds) { 213 *bounds = fRect;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
FakeShadowDrawable.java | 105 protected void onBoundsChange(Rect bounds) { 106 super.onBoundsChange(bounds); 265 private void buildComponents(Rect bounds) { 270 mCardBounds.set(bounds.left + mMaxShadowSize, bounds.top + verticalOffset, 271 bounds.right - mMaxShadowSize, bounds.bottom - verticalOffset);
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
GraphicsContext.cpp | 191 void GraphicsContext::saveLayer(const SkRect* bounds, const SkPaint* paint) 198 m_canvas->saveLayer(bounds, paint); 340 bool GraphicsContext::getTransformedClipBounds(FloatRect* bounds) const 348 *bounds = FloatRect(skBounds); 443 void GraphicsContext::beginTransparencyLayer(float opacity, const FloatRect* bounds) 445 beginLayer(opacity, immutableState()->compositeOperator(), bounds); 448 void GraphicsContext::beginLayer(float opacity, CompositeOperator op, const FloatRect* bounds, ColorFilter colorFilter, ImageFilter* imageFilter) 459 if (bounds) { 460 SkRect skBounds = WebCoreFloatRectToSKRect(*bounds); 484 void GraphicsContext::beginRecording(const FloatRect& bounds) 538 const FloatRect& bounds = displayList->bounds(); local [all...] |
/external/chromium_org/cc/layers/ |
heads_up_display_layer_impl.cc | 283 const SkRect& bounds) const { 285 canvas->drawRect(bounds, *paint); 290 const SkRect& bounds, 294 canvas->drawLine(bounds.left(), 295 bounds.top() - 1, 296 bounds.right(), 297 bounds.top() - 1, 300 bounds.left(), bounds.bottom(), bounds.right(), bounds.bottom(), *paint) [all...] |
/frameworks/rs/ |
rsFont.cpp | 139 void Font::measureCachedGlyph(CachedGlyphInfo *glyph, int32_t x, int32_t y, Rect *bounds) { 147 if (bounds->bottom < nPenY) { 148 bounds->bottom = nPenY; 150 if (bounds->left > nPenX) { 151 bounds->left = nPenX; 153 if (bounds->right < nPenX + width) { 154 bounds->right = nPenX + width; 156 if (bounds->top > nPenY - height) { 157 bounds->top = nPenY - height; 163 RenderMode mode, Rect *bounds, [all...] |
/external/chromium_org/ash/display/ |
mouse_cursor_event_filter.cc | 86 // Creates edge bounds from indicator bounds that fits the edge 125 // now fit the point inside the native bounds. 307 gfx::Rect root_bounds = root_at_point->bounds(); 317 // Make the bounds inclusive to detect the edge. 339 // Warp the mouse cursor only if the location is in the indicator bounds 349 if (dst_root->bounds().Contains(point_in_dst_screen)) { 360 // GetPrimaryDisplay returns an object on stack, so copy the bounds 363 Shell::GetScreen()->GetPrimaryDisplay().bounds(); 364 const gfx::Rect secondary_bounds = ScreenUtil::GetSecondaryDisplay().bounds(); [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/compositing/ |
CompositingRequirementsUpdater.cpp | 40 void add(const IntRect& bounds) 42 m_layerRects.append(bounds); 43 m_boundingBox.unite(bounds); 46 bool overlapsLayers(const IntRect& bounds) const 51 if (!bounds.intersects(m_boundingBox)) 54 if (m_layerRects[i].intersects(bounds)) 81 void add(RenderLayer* layer, const IntRect& bounds) 84 if (bounds.isEmpty()) 91 m_overlapStack[m_overlapStack.size() - 2].add(bounds); 94 bool overlapsLayers(const IntRect& bounds) cons [all...] |
/external/mockito/src/org/mockito/internal/util/reflection/ |
GenericMetadataSupport.java | 116 * - Multiple bounds are not supported (for instance, this is not allowed: <? extends List<String> & MyInterface>)
456 * Type representing bounds of a type
470 * Type representing bounds of a type variable, allows to keep all bounds information.
473 * one element (Object is always here if no bounds are declared).</p>
475 * <p>If upper bounds are declared with SomeClass and additional interfaces, then firstBound will be SomeClass and
498 * @return either a class or an interface (parameterized or not), if no bounds declared Object is returned.
508 * @return other bounds for this type, these bounds can only be only interfaces as the JLS says,
546 * Type representing bounds of a wildcard, allows to keep all bounds information. [all...] |
/external/chromium_org/ash/system/audio/ |
volume_view.cc | 246 int w = width() - slider_->bounds().x() - 254 gfx::Rect bounds(size); 255 bounds.set_x(width() - size.width() - kTrayPopupPaddingBetweenItems); 256 bounds.set_y((height() - size.height()) / 2); 257 more_->SetBoundsRect(bounds); 267 view_bounds.set_x(more_->bounds().x() - view_size.width() - 276 bar_bounds.set_x(view_left_to_more->bounds().x() - bar_size.width()); 282 gfx::Rect slider_bounds = slider_->bounds(); 284 bar_->bounds().x()
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
pbo.c | 47 * going to read/write out of bounds. 63 * go out of bounds. 189 "%s(out of bounds PBO access)", where); 192 "%s(out of bounds access: bufSize (%d) is too small)", 285 "%s(out of bounds PBO access)", where); 288 "%s(out of bounds access: bufSize (%d) is too small)", 326 * If so, do bounds checking and map the buffer into main memory. 365 * If so, do bounds checking and map the buffer into main memory. 383 /* out of bounds read! */
|