HomeSort by relevance Sort by last modified time
    Searched full:bounds (Results 576 - 600 of 5192) sorted by null

<<21222324252627282930>>

  /frameworks/base/libs/hwui/font/
Font.cpp 142 uint8_t* bitmap, uint32_t bitmapW, uint32_t bitmapH, Rect* bounds, const float* pos) {
149 if (bounds->bottom > nPenY) {
150 bounds->bottom = nPenY;
152 if (bounds->left > nPenX) {
153 bounds->left = nPenX;
155 if (bounds->right < nPenX + width) {
156 bounds->right = nPenX + width;
158 if (bounds->top < nPenY + height) {
159 bounds->top = nPenY + height;
164 uint8_t* bitmap, uint32_t bitmapW, uint32_t bitmapH, Rect* bounds, const float* pos)
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/
ImageLoader.java 250 * Returns the bitmap for the rectangular region given by "bounds"
256 Rect bounds) {
269 Rect imageBounds = new Rect(bounds);
270 // return null if bounds are not entirely within the bitmap
273 bounds.left = imageBounds.left;
274 bounds.top = imageBounds.top;
289 Log.e(LOGTAG, "exc, image decoded " + w + " x " + h + " bounds: "
290 + bounds.left + "," + bounds.top + " - "
291 + bounds.width() + "x" + bounds.height() + " exc: " + e)
    [all...]
  /external/chromium_org/ash/wm/workspace/
phantom_window_controller.cc 32 // the bounds passed into Show().
39 // Adjusts the phantom window's bounds so that the bounds:
42 gfx::Rect GetAdjustedBounds(const gfx::Rect& bounds) {
44 static_cast<int>(ceil((kMinSizeWithShadow - bounds.width()) / 2.0f)),
47 static_cast<int>(ceil((kMinSizeWithShadow - bounds.height()) / 2.0f)),
50 gfx::Rect adjusted_bounds(bounds);
  /external/chromium_org/chrome/browser/ui/views/
web_dialog_view_browsertest.cc 52 // TODO(xiyuan): Update this when WidgetDelegate has bounds change hook.
53 virtual void SaveWindowPlacement(const gfx::Rect& bounds,
55 if (should_quit_on_size_change_ && last_size_ != bounds.size()) {
57 // the bounds change call is on the stack and not in the nested message
65 last_size_ = bounds.size();
110 gfx::Rect bounds = view->GetWidget()->GetClientAreaBoundsInScreen(); local
112 gfx::Rect set_bounds = bounds;
  /external/chromium_org/content/browser/renderer_host/
webmenurunner_mac.mm 109 withBounds:(NSRect)bounds
117 // We use selectItemWithTag below so if the index is out-of-bounds nothing
134 // Unfortunately, instead of popping up above the passed |bounds|,
135 // it pops up above the bounds of the view passed to inView:. Use a
138 [[NSView alloc] initWithFrame:bounds]);
142 [cell attachPopUpWithFrame:[dummyView bounds] inView:dummyView];
143 [cell performClickWithFrame:[dummyView bounds] inView:dummyView];
  /external/chromium_org/printing/
page_setup.cc 117 void PageSetup::CalculateSizesWithinRect(const gfx::Rect& bounds,
121 bounds.y());
124 bounds.bottom());
126 bounds.x());
128 bounds.y()),
132 bounds.right());
135 physical_size_.height() - bounds.bottom()),
  /external/chromium_org/third_party/skia/src/core/
SkQuadTree.cpp 49 SkQuadTree::SkQuadTree(const SkIRect& bounds) : fRoot(NULL) {
50 SkASSERT((bounds.width() * bounds.height()) > 0);
51 fRootBounds = bounds;
156 void SkQuadTree::insert(void* data, const SkIRect& bounds, bool) {
157 if (bounds.isEmpty()) {
163 entry->fBounds = bounds;
  /external/chromium_org/ui/views/widget/desktop_aura/
x11_window_event_filter.cc 158 gfx::Rect bounds = widget->GetWindowBoundsInScreen(); local
160 bounds.set_y(display_work_area.y());
161 bounds.set_height(display_work_area.height());
162 widget->SetBounds(bounds);
165 bounds.set_x(display_work_area.x());
166 bounds.set_width(display_work_area.width());
167 widget->SetBounds(bounds);
  /external/skia/src/core/
SkQuadTree.cpp 49 SkQuadTree::SkQuadTree(const SkIRect& bounds) : fRoot(NULL) {
50 SkASSERT((bounds.width() * bounds.height()) > 0);
51 fRootBounds = bounds;
156 void SkQuadTree::insert(void* data, const SkIRect& bounds, bool) {
157 if (bounds.isEmpty()) {
163 entry->fBounds = bounds;
  /frameworks/opt/bitmap/src/com/android/bitmap/drawable/
TileDrawable.java 76 protected void onBoundsChange(Rect bounds) {
77 super.onBoundsChange(bounds);
83 if (bounds.isEmpty()) {
86 final int l = bounds.left + (bounds.width() / 2) - (mInnerWidth / 2);
87 final int t = bounds.top + (bounds.height() / 2) - (mInnerHeight / 2);
  /frameworks/support/v7/appcompat/src/android/support/v7/app/
DrawerArrowDrawable.java 98 Rect bounds = getBounds(); local
136 bounds.centerX(), bounds.centerY());
138 canvas.rotate(180, bounds.centerX(), bounds.centerY());
140 canvas.translate(bounds.centerX(), bounds.centerY());
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
RenderingRequest.java 56 RenderingRequestCaller caller, Rect bounds, Rect destination) {
84 request.setBounds(bounds);
86 passedPreset.setPartialRendering(true, bounds);
170 public void setBounds(Rect bounds) {
171 mBounds = bounds;
190 public void setIconBounds(Rect bounds) {
191 mIconBounds = bounds;
  /packages/apps/UnifiedEmail/src/com/android/mail/bitmap/
CheckableContactFlipDrawable.java 160 final Rect bounds = getBounds(); local
161 if (!isVisible() || bounds.isEmpty()) {
165 canvas.drawCircle(bounds.centerX(), bounds.centerY(), bounds.width() / 2, mPaint);
171 sMatrix.postTranslate(bounds.centerX() - CHECKMARK.getWidth() / 2,
172 bounds.centerY() - CHECKMARK.getHeight() / 2);
FlipDrawable.java 120 protected void onBoundsChange(final Rect bounds) {
121 super.onBoundsChange(bounds);
122 if (bounds.isEmpty()) {
126 mFront.setBounds(bounds);
127 mBack.setBounds(bounds);
133 final Rect bounds = getBounds(); local
134 if (!isVisible() || bounds.isEmpty()) {
161 canvas.scale(scaleX, 1, bounds.exactCenterX(), bounds.exactCenterY());
  /external/chromium-trace/trace-viewer/src/base/
quad.js 124 var bounds = this.boundingRect();
126 bounds.x == this.p1[0] &&
127 bounds.y == this.p1[1] &&
128 bounds.width == this.p2[0] - this.p1[0] &&
129 bounds.y == this.p2[1] &&
130 bounds.width == this.p3[0] - this.p1[0] &&
131 bounds.height == this.p3[1] - this.p2[1] &&
132 bounds.x == this.p4[0] &&
133 bounds.height == this.p4[1] - this.p2[1]
  /external/chromium_org/ash/display/
cursor_window_controller.cc 146 SetBoundsInScreen(display.bounds());
159 gfx::Rect bounds = cursor_window_->bounds(); local
160 bounds.set_origin(point);
161 cursor_window_->SetBounds(bounds);
207 SetBoundsInScreen(container->bounds());
210 void CursorWindowController::SetBoundsInScreen(const gfx::Rect& bounds) {
211 bounds_in_screen_ = bounds;
262 gfx::Rect(cursor_window_->bounds().size()));
cursor_window_controller.h 56 // Sets the bounds of the container in screen coordinates.
57 void SetBoundsInScreen(const gfx::Rect& bounds);
65 // The bounds of the container in screen coordinates.
  /external/chromium_org/cc/layers/
nine_patch_layer_impl.cc 66 // |border| is in layer space. It cannot exceed the bounds of the layer.
67 DCHECK_GE(bounds().width(), border_.width());
68 DCHECK_GE(bounds().height(), border_.height());
76 // |aperture| is in image space. It cannot exceed the bounds of the bitmap.
104 DCHECK(!bounds().IsEmpty());
112 int layer_middle_width = bounds().width() - border_.width();
113 int layer_middle_height = bounds().height() - border_.height();
117 gfx::Rect layer_top_right(bounds().width() - layer_right_width,
122 bounds().height() - layer_bottom_height,
  /external/chromium_org/chrome/browser/ui/cocoa/autofill/
autofill_suggestion_container.mm 69 // within the bounds of an editable field.
236 NSSize size = [label_ bounds].size;
251 NSRect bounds = [[self view] bounds];
254 preferredContainerSize.width = NSWidth(bounds);
259 NSRect labelFrame = [label_ bounds];
260 labelFrame.origin.x = NSMinX(bounds);
261 labelFrame.origin.y = NSMaxY(bounds) - NSHeight(labelFrame) - kTopPadding;
266 inputFieldFrame.origin.x = NSMaxX(bounds) - NSWidth(inputFieldFrame);
  /external/chromium_org/skia/ext/
bitmap_platform_device_mac.cc 220 CGRect bounds; local
221 bounds.origin.x = x;
222 bounds.origin.y = y;
224 bounds.size.width = src_rect->size.width;
225 bounds.size.height = src_rect->size.height;
227 CGContextDrawImage(context, bounds, sub_image);
230 bounds.size.width = width();
231 bounds.size.height = height();
232 CGContextDrawImage(context, bounds, image);
  /cts/tools/signature-tools/src/signature/model/util/
ITypeFactory.java 89 * bounds. The order of the upper bounds is irrelevant except for the first
97 * the upper bounds
  /external/chromium_org/ash/shelf/
shelf_layout_manager.h 56 // To respond to bounds changes in the status area StatusAreaLayoutManager works
113 // Returns the ideal bounds of the shelf assuming it is visible.
116 // Returns the docked area bounds.
119 // Stops any animations and sets the bounds of the shelf and status
270 // Updates the bounds and opacity of the shelf and status widgets.
284 // Insets |bounds| by |inset| on the edge the shelf is aligned to.
285 void AdjustBoundsBasedOnAlignment(int inset, gfx::Rect* bounds) const;
287 // Calculates the target bounds assuming visibility of |visible|.
290 // Updates the target bounds if a gesture-drag is in progress. This is only
307 // Returns the bounds of an additional region which can trigger showing th
    [all...]
  /external/chromium_org/ash/test/
ash_test_base.cc 225 const gfx::Rect& bounds) {
226 return CreateTestWindowInShellWithDelegate(NULL, 0, bounds);
231 const gfx::Rect& bounds) {
233 new aura::test::ColorTestWindowDelegate(color), id, bounds);
239 const gfx::Rect& bounds) {
241 delegate, ui::wm::WINDOW_TYPE_NORMAL, id, bounds);
248 const gfx::Rect& bounds) {
255 if (bounds.IsEmpty()) {
259 Shell::GetScreen()->GetDisplayMatching(bounds);
262 gfx::Point origin = bounds.origin()
    [all...]
  /external/chromium_org/ash/wm/
default_state.h 39 // Set the fullscreen/maximized bounds without animation.
54 // state/bounds for this state.
58 // Animates to new window bounds based on the current and previous state type.
  /external/chromium_org/ash/wm/dock/
docked_window_resizer.cc 70 gfx::Rect bounds(CalculateBoundsForDrag(location));
71 MaybeSnapToEdge(bounds, &offset);
152 void DockedWindowResizer::MaybeSnapToEdge(const gfx::Rect& bounds,
168 const int distance = bounds.x() - dock_bounds.x();
176 const int distance = dock_bounds.right() - bounds.right();
228 // When drag is completed the dragged docked window is resized to the bounds
231 gfx::Rect bounds = ScreenUtil::ConvertRectFromScreen( local
233 if (!bounds.IsEmpty() && bounds.width() != window->bounds().width())
    [all...]

Completed in 431 milliseconds

<<21222324252627282930>>