Home
last modified time | relevance | path

Searched refs:Factory (Results 1 – 25 of 42) sorted by relevance

12

/frameworks/base/core/java/android/text/
DSpannable.java67 public static class Factory { class
68 private static Spannable.Factory sInstance = new Spannable.Factory();
73 public static Spannable.Factory getInstance() { in getInstance()
DEditable.java129 public static class Factory { class
130 private static Editable.Factory sInstance = new Editable.Factory();
135 public static Editable.Factory getInstance() { in getInstance()
/frameworks/base/core/java/android/preference/
DGenericInflater.java59 private Factory<T> mFactory;
74 public interface Factory<T> { interface in GenericInflater
92 private static class FactoryMerger<T> implements Factory<T> {
93 private final Factory<T> mF1, mF2;
95 FactoryMerger(Factory<T> f1, Factory<T> f2) { in FactoryMerger()
181 public final Factory<T> getFactory() { in getFactory()
199 public void setFactory(Factory<T> factory) { in setFactory()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DInMatcher.java20 import org.hamcrest.Factory;
65 @Factory
70 @Factory
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/chunking/
DSingleStreamDiffScriptWriter.java113 public static class Factory implements DiffScriptWriter.Factory { class in SingleStreamDiffScriptWriter
117 public Factory(int maxNewByteChunkSize, @Nullable OutputStreamWrapper outputStreamWrapper) { in Factory() method in SingleStreamDiffScriptWriter.Factory
DDiffScriptWriter.java33 interface Factory { interface
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityStartControllerTests.java37 import com.android.server.wm.ActivityStarter.Factory;
56 private Factory mFactory;
61 mFactory = mock(Factory.class); in setUp()
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
DTimeZonePickerUtils.java23 import android.text.Spannable.Factory;
37 private static final Factory mSpannableFactory = Spannable.Factory.getInstance();
DTimeZoneInfo.java21 import android.text.Spannable.Factory;
44 private static final Factory mSpannableFactory = Spannable.Factory.getInstance();
/frameworks/av/media/codec2/vndk/include/util/
DC2InterfaceHelper.h209 class Factory {
216 virtual ~Factory() = default;
317 Factory &factory,
358 void setSetter(std::function<C2R(const C2Param *, bool, bool *, Factory &)> setter);
514 const C2Param *value, bool mayBlock __unused, bool *changed, Factory &) -> C2R {
547 const C2Param *value, bool mayBlock, bool *changed, Factory &factory) -> C2R {
588 const C2Param *value, bool mayBlock, bool *changed, Factory &factory) -> C2R {
/frameworks/native/services/surfaceflinger/
DSurfaceFlingerFactory.h69 class Factory {
111 ~Factory() = default;
DSurfaceFlingerDefaultFactory.h25 class DefaultFactory : public surfaceflinger::Factory {
DSurfaceFlinger.h271 SurfaceFlinger(surfaceflinger::Factory&, SkipInitializationTag) ANDROID_API;
272 explicit SurfaceFlinger(surfaceflinger::Factory&) ANDROID_API;
287 surfaceflinger::Factory& getFactory() { return mFactory; } in getFactory()
1000 surfaceflinger::Factory& mFactory;
/frameworks/base/core/java/android/view/
DLayoutInflater.java108 private Factory mFactory;
172 public interface Factory { interface in LayoutInflater
195 public interface Factory2 extends Factory {
216 private final Factory mF1, mF2;
219 FactoryMerger(Factory f1, Factory2 f12, Factory f2, Factory2 f22) { in FactoryMerger()
316 public final Factory getFactory() { in getFactory()
346 public void setFactory(Factory factory) { in setFactory()
DInputEventReceiver.java226 public interface Factory { interface in InputEventReceiver
/frameworks/native/services/surfaceflinger/tests/unittests/
DTestableSurfaceFlinger.h64 class Factory final : public surfaceflinger::Factory {
66 ~Factory() = default;
236 using CreateBufferQueueFunction = surfaceflinger::test::Factory::CreateBufferQueueFunction;
242 surfaceflinger::test::Factory::CreateNativeWindowSurfaceFunction;
660 surfaceflinger::test::Factory mFactory;
/frameworks/base/services/core/java/com/android/server/wm/
DTaskPositioner.java68 private static Factory sFactory;
501 static void setFactory(Factory factory) { in setFactory()
507 sFactory = new Factory() {}; in create()
518 interface Factory { interface in TaskPositioner
DActivityStartController.java58 import com.android.server.wm.ActivityStarter.Factory;
94 private final Factory mFactory;
134 Factory factory) { in ActivityStartController()
DInputMonitor.java97 InputEventReceiver.Factory inputEventReceiverFactory, in EventReceiverInputConsumer()
221 InputEventReceiver.Factory inputEventReceiverFactory) { in createInputConsumer()
/frameworks/base/packages/SystemUI/src/com/android/systemui/log/
DLogMessageImpl.kt65 companion object Factory {
DLogcatEchoTrackerDebug.kt45 companion object Factory {
/frameworks/av/media/codec2/vndk/util/
DC2InterfaceHelper.cpp198 void setSetter(std::function<C2R(const C2Param *, bool, bool *, Factory &)> setter) { in setSetter()
203 const C2Param *value, bool mayBlock, bool *changed, Factory &f, in trySet()
246 std::function<C2R(const C2Param *, bool, bool *, Factory &)> mSetter;
331 std::function<C2R(const C2Param *, bool, bool *, Factory &)> setter) { in setSetter()
336 const C2Param *value, bool mayBlock, bool *changed, Factory &f, in trySet()
443 struct C2InterfaceHelper::FactoryImpl : public C2InterfaceHelper::Factory {
/frameworks/base/tests/testables/src/android/testing/
DLayoutInflaterBuilder.java142 new LayoutInflater.Factory() { in setFactoryIfNeeded()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DCameraAvailabilityListener.kt121 companion object Factory { in onApplyCameraProtection()
/frameworks/base/core/tests/coretests/src/android/text/method/
DEditorState.java172 mText = Editable.Factory.getInstance().newEditable(spannable); in setByString()

12