/external/skia/gm/ |
H A D | imagefiltersstroked.cpp | 69 SkScalar margin = 32; variable 79 canvas->translate(0, margin); 82 canvas->translate(margin, 0); 93 canvas->translate(r.width() + margin, 0);
|
H A D | matriximagefilter.cpp | 44 SkScalar margin = SkIntToScalar(10); local 51 canvas->translate(margin, margin); 54 canvas->translate(srcRect.width() + margin, 0); 59 canvas->translate(srcRect.width() + margin, 0); 62 canvas->translate(srcRect.width() + margin, 0);
|
H A D | imagefilterstransformed.cpp | 81 const SkScalar margin = SkIntToScalar(20); variable 86 canvas->translate(margin, 0); 104 canvas->translate(size + margin, 0); 107 canvas->translate(0, size + margin);
|
H A D | clippedbitmapshaders.cpp | 92 SkScalar margin = (SLIDE_SIZE / 3 - RECT_SIZE) / 2; local 94 SkScalar yOrigin = SLIDE_SIZE / 3 * i + margin; 96 SkScalar xOrigin = SLIDE_SIZE / 3 * j + margin;
|
H A D | conicpaths.cpp | 95 const SkScalar margin = 15; variable 96 canvas->translate(margin, margin);
|
H A D | imagefiltersclipped.cpp | 118 SkScalar margin = SkIntToScalar(16); variable 120 bounds.outset(margin, margin); 128 canvas->translate(r.width() + margin, 0); 131 canvas->translate(0, r.height() + margin); 139 canvas->translate(SK_ARRAY_COUNT(filters)*(r.width() + margin), 0); 143 canvas->translate(0, r.height() + margin);
|
H A D | imagefiltersscaled.cpp | 127 SkScalar margin = SkIntToScalar(16); variable 129 bounds.outset(margin, margin); 149 canvas->translate(r.width() * scales[j].fX + margin, 0); 152 canvas->translate(0, r.height() * scales[j].fY + margin);
|
/external/skia/src/core/ |
H A D | SkRasterizer.cpp | 21 SkIPoint margin; local 26 if (!filter->filterMask(&dstM, srcM, matrix, &margin)) { 29 storage = clipBounds->makeOutset(margin.fX, margin.fY);
|
H A D | SkMaskFilter.cpp | 347 SkIPoint margin; // ignored local 348 if (this->filterMask(&dstM, srcM, SkMatrix::I(), &margin)) {
|
/external/skia/samplecode/ |
H A D | SampleTextBox.cpp | 74 SkScalar margin = 20; local 77 tbox.setBox(margin, margin, 78 w - margin, h - margin);
|
H A D | SampleHairline.cpp | 46 static bool check_bitmap_margin(const SkBitmap& bm, int margin) { argument 48 for (int i = 0; i < margin; i++) { 60 int right = bm.width() - margin + i; 204 // this will erase our margin, which we want to always stay 0
|
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/test/ |
H A D | core-extensions.rb | 67 # Provides a margin controlled string. 72 # | margin controlled! 73 # }.margin 80 def margin( n=0 ) method in class:String
|
/external/protobuf/src/google/protobuf/stubs/ |
H A D | mathutil.h | 125 // fraction of their magnitude or within a certain absolute margin of error. 127 // WithinFraction(x, y, fraction) || WithinMargin(x, y, margin) 132 const T fraction, const T margin); 137 const T fraction, const T margin) { 141 margin >= T(0)); 155 return AbsDiff(x, y) <= Max(margin, relative_margin); 136 WithinFractionOrMargin(const T x, const T y, const T fraction, const T margin) argument
|
/external/protobuf/src/google/protobuf/util/ |
H A D | field_comparator.cc | 134 double margin) { 135 default_tolerance_ = Tolerance(fraction, margin); 141 double margin) { 146 map_tolerance_[field] = Tolerance(fraction, margin); 169 // Covers +inf and -inf (which are not within margin or fraction of 191 // Use user-provided fraction and margin. Since they are stored as 196 static_cast<T>(tolerance->margin)); 133 SetDefaultFractionAndMargin(double fraction, double margin) argument 139 SetFractionAndMargin(const FieldDescriptor* field, double fraction, double margin) argument
|
H A D | field_comparator.h | 139 // Sets the fraction and margin for the float comparison of a given field. 146 double margin); 148 // Sets the fraction and margin for the float comparison of all float and 154 void SetDefaultFractionAndMargin(double fraction, double margin); 157 // Defines the tolerance for floating point comparison (fraction and margin). 160 double margin; member in struct:google::protobuf::util::DefaultFieldComparator::Tolerance 163 margin(0.0) {} 166 margin(m) {}
|
/external/webrtc/webrtc/common_audio/ |
H A D | ring_buffer.c | 49 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; 173 const size_t margin = self->element_count - self->write_pos; local 175 if (write_elements > margin) { 178 data, margin * self->element_size); 180 n -= margin;
|
/external/freetype/src/autofit/ |
H A D | afwarp.c | 274 int margin = 16; local 279 margin = 8; 281 margin = 4; 284 if ( warper->wmin < warper->w0 - margin ) 285 warper->wmin = warper->w0 - margin; 287 if ( warper->wmax > warper->w0 + margin ) 288 warper->wmax = warper->w0 + margin;
|
/external/lzma/CPP/Windows/Control/ |
H A D | Dialog.cpp | 103 bool CDialog::GetMargins(int margin, int &x, int &y)
argument 105 x = margin;
106 y = margin;
110 rect.right = margin;
111 rect.bottom = margin;
|
/external/pdfium/xfa/fxfa/app/ |
H A D | xfa_ffcheckbutton.cpp | 166 CXFA_Margin margin = borderUI.GetMargin(); local 167 if (margin) { 168 XFA_RectWidthoutMargin(m_rtUI, margin);
|
H A D | xfa_fffield.cpp | 245 CXFA_Margin margin = borderUI.GetMargin(); local 246 if (margin) { 247 XFA_RectWidthoutMargin(m_rtUI, margin);
|
/external/skia/src/utils/ |
H A D | SkTextBox.cpp | 17 const SkPaint& paint, SkScalar margin, 20 size_t lengthBreak = paint.breakText(text, stop - text, margin); 16 linebreak(const char text[], const char stop[], const SkPaint& paint, SkScalar margin, size_t* trailing = nullptr) argument
|
/external/speex/libspeex/ |
H A D | lsp.c | 593 void lsp_enforce_margin(spx_lsp_t *lsp, int len, spx_word16_t margin) argument 596 spx_word16_t m = margin; 597 spx_word16_t m2 = 25736-margin; 628 void lsp_enforce_margin(spx_lsp_t *lsp, int len, spx_word16_t margin) argument 631 if (lsp[0]<LSP_SCALING*margin) 632 lsp[0]=LSP_SCALING*margin; 633 if (lsp[len-1]>LSP_SCALING*(M_PI-margin)) 634 lsp[len-1]=LSP_SCALING*(M_PI-margin); 637 if (lsp[i]<lsp[i-1]+LSP_SCALING*margin) 638 lsp[i]=lsp[i-1]+LSP_SCALING*margin; [all...] |
H A D | nb_celp.c | 767 int margin; local 768 margin = SUBMODE(lbr_pitch); 769 if (margin) 771 if (ol_pitch < st->min_pitch+margin-1) 772 ol_pitch=st->min_pitch+margin-1; 773 if (ol_pitch > st->max_pitch-margin) 774 ol_pitch=st->max_pitch-margin; 775 pit_min = ol_pitch-margin+1; 776 pit_max = ol_pitch+margin; 1327 int margin; local [all...] |
/external/harfbuzz_ng/util/ |
H A D | options.hh | 156 margin.t = margin.r = margin.b = margin.l = DEFAULT_MARGIN; 174 } margin; member in struct:view_options_t
|
/external/opencv/cv/src/ |
H A D | cvsurf.cpp | 193 int margin = 5*scaleCache[k+1]/scale; local 194 for( i = margin; i < hessian_rows-margin; i++ ) 198 for( j = margin; j < hessian_cols-margin; j++ )
|