Searched defs:margin (Results 1 - 25 of 87) sorted by relevance

1234

/external/chromium_org/net/quic/congestion_control/
H A Dcube_root_test.cc32 uint32 margin = cube_root >> 9; // Calculate 0.2% roughly by local
34 EXPECT_LE(i - margin, cube_root);
35 EXPECT_GE(i + margin, cube_root);
40 uint32 margin = cube_root >> 9; local
41 EXPECT_LE(i - margin, cube_root);
42 EXPECT_GE(i + margin, cube_root);
/external/chromium_org/ui/gfx/
H A Dshadow_value_unittest.cc55 Insets margin = ShadowValue::GetMargin( local
59 EXPECT_EQ(kTestCases[i].expected_margin, margin) << " i=" << i;
/external/chromium_org/chrome/browser/ui/views/toolbar/
H A Dback_button.cc24 void BackButton::SetLeadingMargin(int margin) { argument
25 margin_leading_ = margin;
34 gfx::Insets(kFocusRectInset, kFocusRectInset + margin,
44 // Adjust border insets to follow the margin change,
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/
H A DStyleSurroundData.h47 LengthBox margin; member in class:blink::StyleSurroundData
/external/chromium_org/third_party/skia/src/core/
H A DSkRasterizer.cpp21 SkIPoint margin; local
27 if (!filter->filterMask(&dstM, srcM, matrix, &margin)) {
31 storage.inset(-margin.fX, -margin.fY);
/external/skia/src/core/
H A DSkRasterizer.cpp21 SkIPoint margin; local
27 if (!filter->filterMask(&dstM, srcM, matrix, &margin)) {
31 storage.inset(-margin.fX, -margin.fY);
/external/chromium_org/third_party/skia/gm/
H A Dmatriximagefilter.cpp63 SkScalar margin = SkIntToScalar(10); local
70 canvas->translate(margin, margin);
73 canvas->translate(srcRect.width() + margin, 0);
78 canvas->translate(srcRect.width() + margin, 0);
81 canvas->translate(srcRect.width() + margin, 0);
H A Dclippedbitmapshaders.cpp95 SkScalar margin = (SLIDE_SIZE / 3 - RECT_SIZE) / 2; local
97 SkScalar yOrigin = SLIDE_SIZE / 3 * i + margin;
99 SkScalar xOrigin = SLIDE_SIZE / 3 * j + margin;
H A Dimagefiltersclipped.cpp119 SkScalar margin = SkIntToScalar(16); local
121 bounds.outset(margin, margin);
142 canvas->translate(r.width() + margin, 0);
145 canvas->translate(0, r.height() + margin);
H A Dimagefiltersscaled.cpp139 SkScalar margin = SkIntToScalar(16); local
141 bounds.outset(margin, margin);
161 canvas->translate(r.width() * scales[j].fX + margin, 0);
164 canvas->translate(0, r.height() * scales[j].fY + margin);
/external/chromium_org/third_party/skia/samplecode/
H A DSampleTextBox.cpp77 SkScalar margin = 20; local
80 tbox.setBox(margin, margin,
81 w - margin, h - margin);
/external/skia/gm/
H A Dmatriximagefilter.cpp63 SkScalar margin = SkIntToScalar(10); local
70 canvas->translate(margin, margin);
73 canvas->translate(srcRect.width() + margin, 0);
78 canvas->translate(srcRect.width() + margin, 0);
81 canvas->translate(srcRect.width() + margin, 0);
H A Dclippedbitmapshaders.cpp95 SkScalar margin = (SLIDE_SIZE / 3 - RECT_SIZE) / 2; local
97 SkScalar yOrigin = SLIDE_SIZE / 3 * i + margin;
99 SkScalar xOrigin = SLIDE_SIZE / 3 * j + margin;
H A Dimagefiltersclipped.cpp118 SkScalar margin = SkIntToScalar(16); local
120 bounds.outset(margin, margin);
141 canvas->translate(r.width() + margin, 0);
144 canvas->translate(0, r.height() + margin);
H A Dimagefiltersscaled.cpp138 SkScalar margin = SkIntToScalar(16); local
140 bounds.outset(margin, margin);
160 canvas->translate(r.width() * scales[j].fX + margin, 0);
163 canvas->translate(0, r.height() * scales[j].fY + margin);
/external/skia/samplecode/
H A DSampleTextBox.cpp77 SkScalar margin = 20; local
80 tbox.setBox(margin, margin,
81 w - margin, h - margin);
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/test/
H A Dcore-extensions.rb67 # Provides a margin controlled string.
72 # | margin controlled!
73 # }.margin
80 def margin( n=0 ) method in class:String
/external/chromium_org/ash/system/chromeos/audio/
H A Daudio_detailed_view.cc76 int margin = kTrayPopupPaddingHorizontal + local
81 right_margin = margin;
83 left_margin = margin;
/external/chromium_org/chrome/browser/chromeos/ui/
H A Daccessibility_focus_ring.cc13 const gfx::Rect& bounds, int margin) {
15 int cap_height = std::min(bounds.height() / 2, margin * 2);
24 return CreateWithParagraphShape(top, body, bottom, margin);
46 int margin) {
52 margin = std::min(margin, min_height / 2);
54 if (top.x() <= middle.x() + 2 * margin) {
58 if (top.right() >= middle.right() - 2 * margin) {
62 if (bottom.x() <= middle.x() + 2 * margin) {
66 if (bottom.right() >= middle.right() - 2 * margin) {
12 CreateWithRect( const gfx::Rect& bounds, int margin) argument
42 CreateWithParagraphShape( const gfx::Rect& orig_top_line, const gfx::Rect& orig_body, const gfx::Rect& orig_bottom_line, int margin) argument
[all...]
/external/chromium_org/chrome/browser/ui/views/frame/
H A Dcontents_layout_manager.cc31 void ContentsLayoutManager::SetActiveTopMargin(int margin) { argument
32 if (active_top_margin_ == margin)
35 active_top_margin_ = margin;
/external/chromium_org/ash/system/tray/
H A Dhover_highlight_view.cc103 int margin = kTrayPopupPaddingHorizontal + local
107 views::ImageView* image_view = new FixedSizedImageView(margin, 0);
/external/chromium_org/third_party/WebKit/Source/core/inspector/
H A DInspectorOverlay.h65 Color margin; member in struct:blink::HighlightConfig
/external/chromium_org/third_party/webrtc/modules/audio_processing/utility/
H A Dring_buffer.c49 const size_t margin = buf->element_count - buf->read_pos; local
52 if (read_elements > margin) {
55 *data_ptr_bytes_1 = margin * buf->element_size;
57 *data_ptr_bytes_2 = (read_elements - margin) * buf->element_size;
178 const size_t margin = self->element_count - self->write_pos; local
180 if (write_elements > margin) {
183 data, margin * self->element_size);
185 n -= margin;
/external/srec/srec/include/
H A Dvoicing.h65 int margin; member in struct:__anon31173
/external/webrtc/src/modules/audio_processing/utility/
H A Dring_buffer.c49 const size_t margin = buf->element_count - buf->read_pos; local
52 if (read_elements > margin) {
55 *data_ptr_bytes_1 = margin * buf->element_size;
57 *data_ptr_bytes_2 = (read_elements - margin) * buf->element_size;
190 const size_t margin = self->element_count - self->write_pos; local
192 if (write_elements > margin) {
195 data, margin * self->element_size);
197 n -= margin;

Completed in 2067 milliseconds

1234