Home
last modified time | relevance | path

Searched refs:filterClass (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DFilterFactory.java89 Class<? extends Filter> filterClass = getFilterClass(className); in createFilterByClassName() local
90 if (filterClass == null) { in createFilterByClassName()
93 return createFilterByClass(filterClass, filterName, context); in createFilterByClassName()
96 public Filter createFilterByClass(Class<? extends Filter> filterClass, in createFilterByClass() argument
101 filterConstructor = filterClass.getConstructor(MffContext.class, String.class); in createFilterByClass()
103 throw new IllegalArgumentException("The filter class '" + filterClass in createFilterByClass()
123 Class<?> filterClass = null; in getFilterClass() local
130 filterClass = mCurrentClassLoader.loadClass(packageName + "." + name); in getFilterClass()
136 if (filterClass != null) { in getFilterClass()
142 if (filterClass != null) { in getFilterClass()
[all …]
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DFilterFactory.java90 Class filterClass = null; in createFilterByClassName() local
97 filterClass = mCurrentClassLoader.loadClass(packageName + "." + className); in createFilterByClassName()
103 if (filterClass != null) { in createFilterByClassName()
107 if (filterClass == null) { in createFilterByClassName()
110 return createFilterByClass(filterClass, filterName); in createFilterByClassName()
113 public Filter createFilterByClass(Class filterClass, String filterName) { in createFilterByClass() argument
116 filterClass.asSubclass(Filter.class); in createFilterByClass()
118 throw new IllegalArgumentException("Attempting to allocate class '" + filterClass in createFilterByClass()
125 filterConstructor = filterClass.getConstructor(String.class); in createFilterByClass()
127 throw new IllegalArgumentException("The filter class '" + filterClass in createFilterByClass()
DFilter.java85 Class filterClass; in isAvailable() local
88 filterClass = contextClassLoader.loadClass(filterName); in isAvailable()
94 filterClass.asSubclass(Filter.class); in isAvailable()
560 Class filterClass = getClass(); in addAndSetFinalPorts() local
562 for (Field field : filterClass.getDeclaredFields()) { in addAndSetFinalPorts()
580 Class filterClass = getClass(); in addAnnotatedPorts() local
582 for (Field field : filterClass.getDeclaredFields()) { in addAnnotatedPorts()
/frameworks/base/media/mca/filterfw/java/android/filterfw/
DFilterFunctionEnvironment.java64 public FilterFunction createFunction(Class filterClass, Object... parameters) { in createFunction() argument
65 String filterName = "FilterFunction(" + filterClass.getSimpleName() + ")"; in createFunction()
66 Filter filter = FilterFactory.sharedFactory().createFilterByClass(filterClass, filterName); in createFunction()
/frameworks/base/media/mca/effect/java/android/media/effect/
DSingleFilterEffect.java50 Class filterClass, in SingleFilterEffect() argument
59 String filterName = filterClass.getSimpleName(); in SingleFilterEffect()
61 Filter filter = factory.createFilterByClass(filterClass, filterName); in SingleFilterEffect()
DSizeChangeEffect.java33 Class filterClass, in SizeChangeEffect() argument
37 super(context, name, filterClass, inputName, outputName, finalParameters); in SizeChangeEffect()