Searched defs:factory (Results 1 - 25 of 748) sorted by last modified time

1234567891011>>

/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
H A DXMPMetaParser.java50 private static DocumentBuilderFactory factory = createDocumentBuilderFactory(); field in class:XMPMetaParser
271 DocumentBuilder builder = factory.newDocumentBuilder();
389 * @return Creates, configures and returnes the document builder factory for
394 DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
395 factory.setNamespaceAware(true);
396 factory.setIgnoringComments(true);
402 factory.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, true);
409 return factory;
/external/webp/examples/
H A Ddwebp.c99 IWICImagingFactory* factory = NULL; local
110 (LPVOID*)&factory));
118 IFS(IWICImagingFactory_CreateEncoder(factory, container_guid, NULL,
133 if (factory != NULL) IUnknown_Release(factory);
/external/skia/samplecode/
H A DSampleCode.h68 // factory function that creates a skiagm::GM
71 // Takes a GM factory function and implements the SkViewFactory interface
95 const SkViewFactory* factory() const { return fFact; } function in class:SkViewRegister
H A DSampleFilterFuzz.cpp378 SkRTreeFactory factory; local
380 SkCanvas* recordingCanvas = recorder.beginRecording(kBitmapSize, kBitmapSize, &factory, 0);
H A DSamplePictFile.cpp162 SkAutoTDelete<SkBBHFactory> factory; local
168 factory.reset(SkNEW(SkRTreeFactory));
171 factory.reset(SkNEW(SkQuadTreeFactory));
179 factory.reset(SkNEW_ARGS(SkTileGridFactory, (gridInfo)));
187 pic->draw(recorder.beginRecording(pic->width(), pic->height(), factory.get(), 0));
/external/skia/src/core/
H A DSkBitmap.cpp369 bool SkBitmap::allocPixels(const SkImageInfo& requestedInfo, SkPixelRefFactory* factory, argument
382 if (NULL == factory) {
383 factory = &defaultFactory;
386 SkPixelRef* pr = factory->create(correctedInfo, ctable);
H A DSkFlattenable.cpp25 uint32_t SkNamedFactorySet::find(SkFlattenable::Factory factory) { argument
26 uint32_t index = fFactorySet.find(factory);
30 const char* name = SkFlattenable::FactoryToName(factory);
35 return fFactorySet.add(factory);
75 void SkFlattenable::Register(const char name[], Factory factory, SkFlattenable::Type type) { argument
77 SkASSERT(factory);
88 gEntries[gCount].fFactory = factory;
96 SkDebugf("%s has no registered name/factory/type entries."
H A DSkReadBuffer.cpp299 // TODO: confirm that ft matches the factory we decide to use
302 SkFlattenable::Factory factory = NULL; local
311 factory = fFactoryArray[index];
318 factory = (*fFactoryTDArray)[index];
320 factory = (SkFlattenable::Factory)readFunctionPtr();
321 if (NULL == factory) {
326 // if we get here, factory may still be null, but if that is the case, the
330 if (factory) {
332 obj = (*factory)(*this);
H A DSkScaledImageCache.cpp256 SkScaledImageCache::DiscardableFactory factory) {
257 SkASSERT(factory);
258 fFactory = factory;
292 SkScaledImageCache::SkScaledImageCache(DiscardableFactory factory) { argument
294 fDiscardableFactory = factory;
296 fAllocator = SkNEW_ARGS(SkScaledImageCacheDiscardableAllocator, (factory));
255 SkScaledImageCacheDiscardableAllocator( SkScaledImageCache::DiscardableFactory factory) argument
H A DSkValidatingReadBuffer.cpp236 SkFlattenable::Factory factory = SkFlattenable::NameToFactory(cname); local
237 if (NULL == factory) {
241 // if we get here, factory may still be null, but if that is the case, the
245 if (factory) {
247 obj = (*factory)(*this);
H A DSkWriteBuffer.cpp267 * factory, or null for failure.
283 SkFlattenable::Factory factory = flattenable->getFactory(); local
284 SkASSERT(factory != NULL);
301 this->write32(fFactorySet->add(factory));
303 int32_t index = fNamedFactorySet->find(factory);
309 this->writeFunctionPtr((void*)factory);
H A DSkXfermode.cpp821 GLEffect(const GrBackendEffectFactory& factory, const GrDrawEffect&) argument
822 : GrGLEffect(factory) {
1713 // so we can just return NULL from the factory.
/external/skia/src/effects/
H A DSkAlphaThresholdFilter.cpp135 GrGLAlphaThresholdEffect::GrGLAlphaThresholdEffect(const GrBackendEffectFactory& factory, const GrDrawEffect&) argument
136 : INHERITED(factory) {
H A DSkArithmeticMode.cpp342 GrGLArithmeticEffect::GrGLArithmeticEffect(const GrBackendEffectFactory& factory, argument
344 : INHERITED(factory),
H A DSkBlurMaskFilter.cpp600 GrGLRectBlurEffect(const GrBackendEffectFactory& factory,
623 GrGLRectBlurEffect::GrGLRectBlurEffect(const GrBackendEffectFactory& factory, const GrDrawEffect&) argument
624 : INHERITED(factory) {
982 GrGLRRectBlurEffect::GrGLRRectBlurEffect(const GrBackendEffectFactory& factory, argument
984 : INHERITED (factory) {
H A DSkColorFilters.cpp225 GLEffect(const GrBackendEffectFactory& factory, const GrDrawEffect&) argument
226 : INHERITED(factory) {
H A DSkColorMatrixFilter.cpp396 GLEffect(const GrBackendEffectFactory& factory, argument
398 : INHERITED(factory) {
H A DSkDisplacementMapEffect.cpp275 GrGLDisplacementMapEffect(const GrBackendEffectFactory& factory,
505 GrGLDisplacementMapEffect::GrGLDisplacementMapEffect(const GrBackendEffectFactory& factory, argument
507 : INHERITED(factory)
H A DSkLightingImageFilter.cpp1124 GrGLLightingEffect(const GrBackendEffectFactory& factory,
1158 GrGLDiffuseLightingEffect(const GrBackendEffectFactory& factory,
1173 GrGLSpecularLightingEffect(const GrBackendEffectFactory& factory,
1252 GrGLLightingEffect::GrGLLightingEffect(const GrBackendEffectFactory& factory, argument
1254 : INHERITED(factory) {
1379 GrGLDiffuseLightingEffect::GrGLDiffuseLightingEffect(const GrBackendEffectFactory& factory, argument
1381 : INHERITED(factory, drawEffect) {
1458 GrGLSpecularLightingEffect::GrGLSpecularLightingEffect(const GrBackendEffectFactory& factory, argument
1460 : INHERITED(factory, drawEffect) {
H A DSkLumaColorFilter.cpp83 GLEffect(const GrBackendEffectFactory& factory, argument
85 : INHERITED(factory) {
H A DSkMagnifierImageFilter.cpp116 GrGLMagnifierEffect::GrGLMagnifierEffect(const GrBackendEffectFactory& factory, const GrDrawEffect&) argument
117 : INHERITED(factory) {
H A DSkMatrixConvolutionImageFilter.cpp404 GrGLMatrixConvolutionEffect(const GrBackendEffectFactory& factory,
435 GrGLMatrixConvolutionEffect::GrGLMatrixConvolutionEffect(const GrBackendEffectFactory& factory, argument
437 : INHERITED(factory) {
H A DSkMorphologyImageFilter.cpp339 GrGLMorphologyEffect::GrGLMorphologyEffect(const GrBackendEffectFactory& factory, argument
341 : INHERITED(factory) {
H A DSkPerlinNoiseShader.cpp496 GrGLPerlinNoise(const GrBackendEffectFactory& factory,
645 GrGLPerlinNoise::GrGLPerlinNoise(const GrBackendEffectFactory& factory, const GrDrawEffect& drawEffect) argument
646 : INHERITED (factory)
H A DSkTableColorFilter.cpp288 GLColorTableEffect::GLColorTableEffect(const GrBackendEffectFactory& factory, const GrDrawEffect&) argument
289 : INHERITED(factory) {

Completed in 240 milliseconds

1234567891011>>