/frameworks/base/services/core/java/com/android/server/wm/ |
FocusedStackFrame.java | 65 private void draw(Rect bounds, int color) { 66 if (false && DEBUG_STACK) Slog.i(TAG, "draw: bounds=" + bounds.toShortString() + 68 mTmpDrawRect.set(bounds); 79 final int w = bounds.width(); 80 final int h = bounds.height(); 102 private void positionSurface(Rect bounds) { 103 if (false && DEBUG_STACK) Slog.i(TAG, "positionSurface: bounds=" + bounds.toShortString()); 104 mSurfaceControl.setSize(bounds.width(), bounds.height()) [all...] |
/external/chromium_org/third_party/skia/src/gpu/effects/ |
GrConvolutionEffect.cpp | 69 kVec2f_GrSLType, "Bounds"); 91 const char* bounds = builder->getUniformCStr(fBoundsUni); local 94 component, bounds, component, bounds); 125 const float* bounds = conv.bounds(); local 128 uman.set2f(fBoundsUni, 1.0f - bounds[1], 1.0f - bounds[0]); 130 uman.set2f(fBoundsUni, bounds[0], bounds[1]) 226 float bounds[2]; local [all...] |
/external/chromium_org/ui/views/controls/ |
single_split_view.cc | 44 CalculateChildrenBounds(bounds(), &leading_bounds, &trailing_bounds); 103 const gfx::Rect& bounds, 118 divider_at = GetPrimaryAxisSize(bounds.width(), bounds.height()); 123 CalculateDividerOffset(divider_offset_, this->bounds(), bounds); 124 divider_at = NormalizeDividerOffset(divider_at, bounds); 130 *leading_bounds = gfx::Rect(0, 0, divider_at, bounds.height()); 133 std::max(0, bounds.width() - divider_at - divider_size), 134 bounds.height()) [all...] |
/external/skia/src/gpu/effects/ |
GrConvolutionEffect.cpp | 69 kVec2f_GrSLType, "Bounds"); 91 const char* bounds = builder->getUniformCStr(fBoundsUni); local 94 component, bounds, component, bounds); 125 const float* bounds = conv.bounds(); local 128 uman.set2f(fBoundsUni, 1.0f - bounds[1], 1.0f - bounds[0]); 130 uman.set2f(fBoundsUni, bounds[0], bounds[1]) 226 float bounds[2]; local [all...] |
/external/chromium_org/cc/test/data/ |
touch_region_heavy.json | 2 "Bounds": [ 0, 0 ], 4 "Bounds": [ 384, 640 ], 6 "Bounds": [ 384, 1681 ], 8 "Bounds": [ 384, 1681 ], 10 "Bounds": [ 384, 1681 ], 12 "Bounds": [ 298, 114 ], 14 "Bounds": [ 12979, 130 ], 31 "Bounds": [ 320, 320 ], 33 "Bounds": [ 152, 152 ], 49 "Bounds": [ 320, 320 ] [all...] |
/external/chromium_org/ash/wm/workspace/ |
multi_window_resize_controller.cc | 44 return window->bounds().x() <= x && window->bounds().right() >= x; 48 return window->bounds().y() <= y && window->bounds().bottom() >= y; 250 window, HTLEFT, window->bounds().right(), point_in_parent.y()); 255 window, HTRIGHT, window->bounds().x(), point_in_parent.y()); 261 window, HTBOTTOM, point_in_parent.x(), window->bounds().y()); 268 window, HTTOP, point_in_parent.x(), window->bounds().bottom()); 290 if (ContainsY(window, y) && window->bounds().x() == x) 294 if (ContainsY(window, y) && window->bounds().right() == x 446 gfx::Rect bounds = ScreenUtil::ConvertRectToScreen( local [all...] |
workspace_window_resizer_unittest.cc | 82 gfx::Rect root_bounds(root->bounds()); 187 void InitTouchResizeWindow(const gfx::Rect& bounds, int window_component) { 191 bounds)); 225 EXPECT_EQ("0,300 500x300", window_->bounds().ToString()); 226 EXPECT_EQ("500,200 100x200", window2_->bounds().ToString()); 231 EXPECT_EQ("0,300 780x300", window_->bounds().ToString()); 232 EXPECT_EQ("780,200 20x200", window2_->bounds().ToString()); 236 EXPECT_EQ("0,300 500x300", window_->bounds().ToString()); 237 EXPECT_EQ("500,200 100x200", window2_->bounds().ToString()); 242 EXPECT_EQ("0,300 400x300", window_->bounds().ToString()) [all...] |
/external/chromium-trace/trace-viewer/src/tracing/trace_model/ |
cpu.js | 25 this.bounds = new base.Range(); 59 this.bounds.reset(); 61 this.bounds.addValue(this.slices[0].start); 62 this.bounds.addValue(this.slices[this.slices.length - 1].end); 66 this.bounds.addRange(this.counters[id].bounds);
|
thread_test.js | 21 assertEquals(undefined, t.bounds.min); 22 assertEquals(undefined, t.bounds.max); 30 assertEquals(1, t.bounds.min); 31 assertEquals(4, t.bounds.max); 40 assertEquals(0.1, t.bounds.min); 41 assertEquals(5.1, t.bounds.max); 49 assertEquals(0, t.bounds.min); 50 assertEquals(1, t.bounds.max);
|
/external/chromium_org/ash/wm/ |
system_gesture_event_filter_unittest.cc | 236 gfx::Rect bounds(0, 0, 600, 600); 239 new ResizableWidgetDelegate, root_window, bounds); 259 toplevel->GetNativeWindow()->SetBounds(bounds); 266 toplevel->GetNativeWindow()->SetBounds(bounds); 328 gfx::Rect bounds(250, 150, 100, 100); 331 new MaxSizeWidgetDelegate, root_window, bounds); 337 gfx::Point(bounds.x() + 10, bounds.y() + 30), 338 gfx::Point(bounds.x() + 30, bounds.y() + 20) [all...] |
wm_event.h | 16 // window's state type and bounds. 30 // A window is requested to be the given bounds. The request may or 31 // may not be fulfilled depending on the requested bounds and window's 70 // Bounds of the display has changed. 73 // Bounds of the work area has changed. This will not occur when the work 90 // An WMEvent to request new bounds for the window.
|
window_state.h | 118 // Returns true if the window has restore bounds. 143 // Saves the current bounds to be used as a restore bounds. 147 // bounds in the parent's coordinates. 150 // Returns the restore bounds property on the window in the virtual screen 151 // coordinates. The bounds can be NULL if the bounds property does not 152 // exist for the window. The window owns the bounds object. 155 // Same as |SetRestoreBoundsInScreen| except that the bounds is in the 159 // Sets the restore bounds property on the window in the virtual scree [all...] |
/external/chromium_org/chrome/browser/extensions/api/app_current_window_internal/ |
app_current_window_internal_api.cc | 33 using app_current_window_internal::Bounds; 59 void GetBoundsFields(const Bounds& bounds_spec, gfx::Rect* bounds) { 61 bounds->set_x(*bounds_spec.left); 63 bounds->set_y(*bounds_spec.top); 65 bounds->set_width(*bounds_spec.width); 67 bounds->set_height(*bounds_spec.height); 95 namespace bounds { namespace in namespace:extensions 106 const char kDeprecatedBoundsType[] = "bounds"; 119 } // namespace bounds [all...] |
/external/chromium_org/chrome/browser/ui/cocoa/ |
fast_resize_view.mm | 18 // sets the subviews' frame to be equal to this view's bounds. 61 // bounds, so we fill with white. If we are not in fast resize mode, we do 84 NSRect bounds = [self bounds]; 89 frame.origin.y = NSHeight(bounds) - NSHeight(frame); 92 [subview setFrame:bounds];
|
/external/chromium_org/content/plugin/ |
plugin_carbon_interpose_mac.cc | 23 CGRect bounds = { { 0, 0 }, { 0, 0 } }; local 25 &bounds); 26 return bounds; 31 CGRect bounds; member in struct:WindowInfo 34 bounds = CGRectForWindow(window); 40 window_info.bounds);
|
/external/chromium_org/third_party/skia/samplecode/ |
SampleAAClip.cpp | 78 SkRect bounds; local 80 bounds.set(0, 0, 20, 20); 81 bounds.inset(SK_ScalarHalf, SK_ScalarHalf); 83 // path.addRect(bounds); 84 // path.addOval(bounds); 85 path.addRoundRect(bounds, 4, 4);
|
/external/chromium_org/ui/keyboard/ |
keyboard_layout_manager.cc | 17 gfx::Rect window_bounds = controller_->GetContainerWindow()->bounds(); 20 int height = keyboard_->bounds().height(); 33 controller_->GetContainerWindow()->bounds())); 50 gfx::Rect old_bounds = child->bounds(); 52 if (old_bounds.height() == 0 && child->bounds().height() != 0) { 54 // 0 and the new bounds is not 0, it probably means window.resizeTo is
|
/external/skia/samplecode/ |
SampleAAClip.cpp | 78 SkRect bounds; local 80 bounds.set(0, 0, 20, 20); 81 bounds.inset(SK_ScalarHalf, SK_ScalarHalf); 83 // path.addRect(bounds); 84 // path.addOval(bounds); 85 path.addRoundRect(bounds, 4, 4);
|
/external/chromium_org/ash/wm/dock/ |
docked_window_resizer_unittest.cc | 75 aura::Window* CreateTestWindow(const gfx::Rect& bounds) { 80 bounds); 93 aura::Window* CreateModalWindow(const gfx::Rect& bounds) { 100 if (bounds.IsEmpty()) { 104 Shell::GetScreen()->GetDisplayMatching(bounds); 107 gfx::Point origin = bounds.origin(); 109 window->SetBounds(gfx::Rect(origin, bounds.size())); 110 aura::client::ParentWindowWithContext(window, root, bounds); 133 window->bounds().origin() + gfx::Vector2d(dx, dy); 144 window->bounds().origin() + gfx::Vector2d(dx, dy) [all...] |
/external/chromium_org/ash/wm/overview/ |
window_selector_unittest.cc | 85 aura::Window* CreateWindow(const gfx::Rect& bounds) { 86 return CreateTestWindowInShellWithDelegate(&delegate_, -1, bounds); 89 aura::Window* CreateWindowWithId(const gfx::Rect& bounds, int id) { 90 return CreateTestWindowInShellWithDelegate(&delegate_, id, bounds); 92 aura::Window* CreateNonActivatableWindow(const gfx::Rect& bounds) { 93 aura::Window* window = CreateWindow(bounds); 100 aura::Window* CreatePanelWindow(const gfx::Rect& bounds) { 102 NULL, ui::wm::WINDOW_TYPE_PANEL, 0, bounds); 108 views::Widget* CreatePanelWindowWidget(const gfx::Rect& bounds) { 111 params.bounds = bounds 158 gfx::RectF bounds = gfx::Rect(window->bounds().size()); local 327 gfx::RectF bounds = GetTransformedBoundsInRootWindow(window.get()); local 352 gfx::RectF bounds = GetTransformedBoundsInRootWindow(window2); local [all...] |
/external/chromium_org/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/ |
DOMUtils.java | 89 Assert.assertFalse("Failed to retrieve bounds for " + nodeId, 93 int[] bounds = new int[4]; 98 bounds[i++] = jsonReader.nextInt(); 101 Assert.assertEquals("Invalid bounds returned.", 4, i); 108 return new Rect(bounds[0], bounds[1], bounds[0] + bounds[2], bounds[1] + bounds[3]) [all...] |
/external/chromium_org/content/browser/web_contents/ |
web_contents_view_aura_browsertest.cc | 186 gfx::Rect bounds = content->GetBoundsInRootWindow(); local 196 gfx::Point(bounds.x() + 2, bounds.y() + 10), 197 gfx::Point(bounds.right() - 10, bounds.y() + 10), 214 gfx::Point(bounds.x() + 2, bounds.y() + 10), 215 gfx::Point(bounds.right() - 10, bounds.y() + 10), 232 gfx::Point(bounds.right() - 10, bounds.y() + 10) 321 gfx::Rect bounds = content->GetBoundsInRootWindow(); local 436 gfx::Rect bounds = content->GetBoundsInRootWindow(); local 609 gfx::Rect bounds = content->GetBoundsInRootWindow(); local 630 gfx::Rect bounds = content->GetBoundsInRootWindow(); local 678 gfx::Rect bounds = content->GetBoundsInRootWindow(); local [all...] |
/frameworks/base/core/java/android/widget/ |
ScrollBarDrawable.java | 142 protected void onBoundsChange(Rect bounds) { 143 super.onBoundsChange(bounds); 147 protected void drawTrack(Canvas canvas, Rect bounds, boolean vertical) { 156 track.setBounds(bounds); 162 protected void drawThumb(Canvas canvas, Rect bounds, int offset, int length, boolean vertical) { 167 thumbRect.set(bounds.left, bounds.top + offset, 168 bounds.right, bounds.top + offset + length); 170 thumbRect.set(bounds.left + offset, bounds.top [all...] |
/external/chromium_org/apps/ |
app_window_geometry_cache.cc | 48 const gfx::Rect& bounds, 55 if (extension_data[window_id].bounds == bounds && 63 extension_data[window_id].bounds = bounds; 114 const gfx::Rect& bounds = it->second.bounds; local 116 DCHECK(!bounds.IsEmpty()); 119 value->SetInteger("x", bounds.x()); 120 value->SetInteger("y", bounds.y()) [all...] |
/cts/tests/tests/gesture/src/android/gesture/cts/ |
GestureStrokeTest.java | 69 * for a single line, where the given toPath bounds exceeds the expected path. 85 * Verifies method returns expected results for a single line, where the given toPath bounds 94 RectF bounds = new RectF(); local 95 linePath.computeBounds(bounds, true); 98 assertEquals(LineGestureStrokeHelper.LINE_QUARTER_POINT, bounds.bottom); 99 assertEquals(LineGestureStrokeHelper.LINE_START_POINT, bounds.left); 100 assertEquals(LineGestureStrokeHelper.LINE_QUARTER_POINT, bounds.right); 101 assertEquals(LineGestureStrokeHelper.LINE_START_POINT, bounds.top);
|