Home
last modified time | relevance | path

Searched refs:Factory (Results 1 – 25 of 41) 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/native/services/surfaceflinger/
DSurfaceFlingerFactory.cpp43 class Factory final : public surfaceflinger::Factory { in createSurfaceFlinger() class
45 Factory() = default; in createSurfaceFlinger()
46 ~Factory() = default; in createSurfaceFlinger()
137 static Factory factory; in createSurfaceFlinger()
DSurfaceFlingerFactory.h65 class Factory {
101 ~Factory() = default;
DSurfaceFlinger.h253 SurfaceFlinger(surfaceflinger::Factory&, SkipInitializationTag) ANDROID_API;
254 explicit SurfaceFlinger(surfaceflinger::Factory&) ANDROID_API;
275 surfaceflinger::Factory& getFactory() { return mFactory; } in getFactory()
936 surfaceflinger::Factory& mFactory;
/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/services/backup/java/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;
54 private Factory mFactory;
59 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/tests/unittests/
DTestableSurfaceFlinger.h60 class Factory final : public surfaceflinger::Factory {
62 ~Factory() = default;
191 using CreateBufferQueueFunction = surfaceflinger::test::Factory::CreateBufferQueueFunction;
197 surfaceflinger::test::Factory::CreateNativeWindowSurfaceFunction;
576 surfaceflinger::test::Factory mFactory;
/frameworks/base/core/java/android/view/
DLayoutInflater.java107 private Factory mFactory;
171 public interface Factory { interface in LayoutInflater
194 public interface Factory2 extends Factory {
215 private final Factory mF1, mF2;
218 FactoryMerger(Factory f1, Factory2 f12, Factory f2, Factory2 f22) { in FactoryMerger()
315 public final Factory getFactory() { in getFactory()
345 public void setFactory(Factory factory) { in setFactory()
DInputEventReceiver.java198 public static interface Factory { interface in InputEventReceiver
/frameworks/base/services/core/java/com/android/server/wm/
DTaskPositioner.java66 private static Factory sFactory;
661 static void setFactory(Factory factory) { in setFactory()
667 sFactory = new Factory() {}; in create()
678 interface Factory { interface in TaskPositioner
DActivityStartController.java54 import com.android.server.wm.ActivityStarter.Factory;
90 private final Factory mFactory;
130 Factory factory) { in ActivityStartController()
DInputMonitor.java95 InputEventReceiver.Factory inputEventReceiverFactory, in EventReceiverInputConsumer()
215 InputEventReceiver.Factory inputEventReceiverFactory) { in createInputConsumer()
/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()
/frameworks/base/services/core/java/com/android/server/policy/
DWindowManagerPolicy.java533 InputEventReceiver.Factory inputEventReceiverFactory, int displayId); in createInputConsumer()
/frameworks/base/core/java/android/view/inputmethod/
DBaseInputConnection.java136 mEditable = Editable.Factory.getInstance().newEditable(""); in getEditable()

12