Home
last modified time | relevance | path

Searched refs:foreground (Results 1 – 25 of 141) sorted by relevance

123456

/external/chromium_org/third_party/skia/src/effects/
DSkXfermodeImageFilter.cpp25 SkImageFilter* foreground, in SkXfermodeImageFilter() argument
27 : INHERITED(background, foreground, cropRect), fMode(mode) { in SkXfermodeImageFilter()
50 SkBitmap background = src, foreground = src; in onFilterImage() local
60 !foregroundInput->filterImage(proxy, src, ctm, &foreground, &foregroundOffset)) { in onFilterImage()
67 foreground.getBounds(&foregroundBounds); in onFilterImage()
85 canvas.drawBitmap(foreground, SkIntToScalar(foregroundOffset.fX), in onFilterImage()
110 SkBitmap foreground; in filterImageGPU() local
112 if (!SkImageFilterUtils::GetInputResultGPU(getInput(1), proxy, src, ctm, &foreground, in filterImageGPU()
116 GrTexture* foregroundTex = foreground.getTexture(); in filterImageGPU()
/external/skia/src/effects/
DSkXfermodeImageFilter.cpp25 SkImageFilter* foreground, in SkXfermodeImageFilter() argument
27 : INHERITED(background, foreground, cropRect), fMode(mode) { in SkXfermodeImageFilter()
50 SkBitmap background = src, foreground = src; in onFilterImage() local
60 !foregroundInput->filterImage(proxy, src, ctm, &foreground, &foregroundOffset)) { in onFilterImage()
67 foreground.getBounds(&foregroundBounds); in onFilterImage()
85 canvas.drawBitmap(foreground, SkIntToScalar(foregroundOffset.fX), in onFilterImage()
110 SkBitmap foreground; in filterImageGPU() local
112 if (!SkImageFilterUtils::GetInputResultGPU(getInput(1), proxy, src, ctm, &foreground, in filterImageGPU()
116 GrTexture* foregroundTex = foreground.getTexture(); in filterImageGPU()
/external/chromium_org/ui/gfx/
Dcolor_utils.cc209 SkColor AlphaBlend(SkColor foreground, SkColor background, SkAlpha alpha) { in AlphaBlend() argument
213 return foreground; in AlphaBlend()
215 int f_alpha = SkColorGetA(foreground); in AlphaBlend()
225 double r = (SkColorGetR(foreground) * f_weight + in AlphaBlend()
227 double g = (SkColorGetG(foreground) * f_weight + in AlphaBlend()
229 double b = (SkColorGetB(foreground) * f_weight + in AlphaBlend()
246 SkColor GetReadableColor(SkColor foreground, SkColor background) { in GetReadableColor() argument
247 const SkColor foreground2 = LumaInvertColor(foreground); in GetReadableColor()
249 return (ContrastRatio(RelativeLuminance(foreground), background_luminance) >= in GetReadableColor()
251 foreground : foreground2; in GetReadableColor()
Drender_text_mac.cc169 renderer.SetForegroundColor(run.foreground); in DrawVisualText()
185 foreground(SK_ColorBLACK), in TextRun()
211 base::ScopedCFTypeRef<CGColorRef> foreground( in ApplyStyles() local
214 kCTForegroundColorAttributeName, foreground); in ApplyStyles()
215 CFArrayAppendValue(attributes_, foreground); in ApplyStyles()
322 const CGColorRef foreground = in ComputeRuns() local
325 if (foreground) in ComputeRuns()
326 run->foreground = gfx::CGColorRefToSkColor(foreground); in ComputeRuns()
Dcolor_utils.h56 GFX_EXPORT SkColor AlphaBlend(SkColor foreground, SkColor background,
73 GFX_EXPORT SkColor GetReadableColor(SkColor foreground, SkColor background);
/external/opencv/cvaux/src/
Dcvbgfg_common.cpp50 …IplImage* tmp_image = cvCreateImage(cvSize(bg_model->foreground->width,bg_model->foreground->heigh… in cvRefineForegroundMaskBySegm()
59 cvAnd(tmp_image, bg_model->foreground, tmp_image); in cvRefineForegroundMaskBySegm()
62 cvDrawContours( bg_model->foreground, &seq, CV_RGB(0, 0, 255), CV_RGB(0, 0, 255), 10, -1); in cvRefineForegroundMaskBySegm()
64 cvDrawContours( bg_model->foreground, &seq, CV_RGB(0, 0, 0), CV_RGB(0, 0, 0), 10, -1); in cvRefineForegroundMaskBySegm()
Dcvbgfg_acmmm2003.cpp157 …CV_CALL( p_model->foreground = cvCreateImage(cvSize(first_frame->width, first_frame->height), IPL_… in cvCreateFGDStatModel()
202 cvReleaseImage( &model->foreground ); in icvReleaseFGDStatModel()
342 cvZero(model->foreground); in icvUpdateFGDStatModel()
419 ((uchar*)model->foreground->imageData)[i*mask_step+j] = (uchar)(val*255); in icvUpdateFGDStatModel()
430 …cvMorphologyEx( model->foreground, model->foreground, 0, 0, CV_MOP_OPEN, model->params.perform_mo… in icvUpdateFGDStatModel()
431 …cvMorphologyEx( model->foreground, model->foreground, 0, 0, CV_MOP_CLOSE, model->params.perform_mo… in icvUpdateFGDStatModel()
439 … cvFindContours( model->foreground, model->storage, &first_seq, sizeof(CvContour), CV_RETR_LIST ); in icvUpdateFGDStatModel()
465 cvZero(model->foreground); in icvUpdateFGDStatModel()
466 cvDrawContours(model->foreground, first_seq, CV_RGB(0, 0, 255), CV_RGB(0, 0, 255), 10, -1); in icvUpdateFGDStatModel()
505 if( !((uchar*)model->foreground->imageData)[i*mask_step+j] ) in icvUpdateFGDStatModel()
[all …]
Dcvbgfg_gaussmix.cpp183 CV_CALL( bg_model->foreground = cvCreateImage(cvSize(first_frame->width, in cvCreateGaussianBGModel()
260 cvReleaseImage( &bg_model->foreground ); in icvReleaseGaussianBGModel()
324 …cvFindContours( bg_model->foreground, bg_model->storage, &first_seq, sizeof(CvContour), CV_RETR_LI… in icvUpdateGaussianBGModel()
349 cvZero(bg_model->foreground); in icvUpdateGaussianBGModel()
350 cvDrawContours(bg_model->foreground, first_seq, CV_RGB(0, 0, 255), CV_RGB(0, 0, 255), 10, -1); in icvUpdateGaussianBGModel()
594 bg_model->foreground->imageData[ bg_model->foreground->widthStep*i + j] = pixelValue; in icvBackgroundTest()
/external/chromium/chrome/browser/tabs/
Ddefault_tab_handler.cc37 TabContentsWrapper* DefaultTabHandler::AddBlankTab(bool foreground) { in AddBlankTab() argument
39 return delegate_->AsBrowser()->AddBlankTab(foreground); in AddBlankTab()
43 bool foreground) { in AddBlankTabAt() argument
44 return delegate_->AsBrowser()->AddBlankTabAt(index, foreground); in AddBlankTabAt()
139 bool foreground) { in TabInsertedAt() argument
140 delegate_->AsBrowser()->TabInsertedAt(contents, index, foreground); in TabInsertedAt()
Ddefault_tab_handler.h28 virtual TabContentsWrapper* AddBlankTab(bool foreground);
29 virtual TabContentsWrapper* AddBlankTabAt(int index, bool foreground);
61 bool foreground);
Dtab_strip_model_delegate.h42 virtual TabContentsWrapper* AddBlankTab(bool foreground) = 0;
43 virtual TabContentsWrapper* AddBlankTabAt(int index, bool foreground) = 0;
Dtab_strip_model_order_controller.cc26 bool foreground) { in DetermineInsertionIndex() argument
35 if (foreground) { in DetermineInsertionIndex()
/external/chromium_org/cc/trees/
Dlayer_tree_host_pixeltest_filters.cc163 scoped_refptr<SolidColorLayer> foreground = in RunPixelTestType() local
165 background->AddChild(foreground); in RunPixelTestType()
183 foreground->SetFilters(filters); in RunPixelTestType()
191 foreground->SetTransform(transform); in RunPixelTestType()
/external/chromium_org/third_party/WebKit/Source/platform/
DPopupMenuStyle.h40 …PopupMenuStyle(const Color& foreground, const Color& background, const Font& font, bool visible, b…
41 : m_foregroundColor(foreground) in m_foregroundColor() argument
/external/chromium_org/base/power_monitor/
Dpower_monitor_device_source_ios.mm13 id foreground =
27 notification_observers_.push_back(foreground);
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/
DFEBlend.cpp220 RefPtr<Image> foreground = in->asImageBuffer()->copyImage(DontCopyBackingStore); in applySkia() local
223 RefPtr<NativeImageSkia> foregroundNativeImage = foreground->nativeImageForCurrentFrame(); in applySkia()
243 RefPtr<SkImageFilter> foreground(builder->build(inputEffect(0), operatingColorSpace())); in createImageFilter() local
247 return adoptRef(new SkXfermodeImageFilter(mode, background.get(), foreground.get(), &cropRect)); in createImageFilter()
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DEllipsisBox.cpp61 …Color foreground = paintInfo.forceBlackText() ? Color::black : renderer()->selectionForegroundColo… in paint() local
62 if (foreground.isValid() && foreground != styleTextColor) in paint()
63 context->setFillColor(foreground); in paint()
/external/chromium_org/chrome/browser/ui/
Dbrowser_tabstrip.cc21 void AddTabAt(Browser* browser, const GURL& url, int idx, bool foreground) { in AddTabAt() argument
29 params.disposition = foreground ? NEW_FOREGROUND_TAB : NEW_BACKGROUND_TAB; in AddTabAt()
Dbrowser_tab_strip_model_delegate.cc48 bool foreground) { in AddTabAt() argument
49 chrome::AddTabAt(browser_, url, index, foreground); in AddTabAt()
/external/chromium/chrome/browser/
Daeropeek_manager.h112 bool foreground);
153 bool foreground);
/external/chromium_org/chrome/browser/ui/tabs/
Dtab_strip_model_order_controller.cc24 bool foreground) { in DetermineInsertionIndex() argument
33 if (foreground) { in DetermineInsertionIndex()
/external/libvorbis/examples/
Dframeview.pl55 $toplevel->optionAdd("$Xname*foreground", '#000000',20);
58 $toplevel->optionAdd("$Xname*Button*foreground", '#000000',20);
64 $toplevel->optionAdd("$Xname*Scale*foreground", '#000000',20);
70 $toplevel->optionAdd("$Xname*Checkbutton*foreground", '#000000',20);
134 $panel->optionAdd("$X2name*foreground", '#000000',20);
137 $panel->optionAdd("$X2name*Button*foreground", '#000000',20);
143 $panel->optionAdd("$X2name*Checkbutton*foreground", '#000000',20);
/external/chromium/chrome/browser/ui/cocoa/
Devent_utils_unittest.mm37 // Shift+Middle Click = new foreground tab.
51 // Cmd+Shift+Left Click = new foreground tab.
/external/chromium/chrome/browser/extensions/
Dextension_browser_event_router.h62 bool foreground);
100 void TabCreatedAt(TabContents* contents, int index, bool foreground);
/external/antlr/antlr-3.4/runtime/JavaScript/tests/functional/
Drhino-python.input39 styles.add('error', parent=basic, foreground=colors.red)
40 styles.add('output', parent=basic, foreground=colors.blue)
41 styles.add('input', parent=basic, foreground=colors.black)
42 styles.add('prompt', parent=basic, foreground=colors.purple)

123456