Home
last modified time | relevance | path

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

123456789

/packages/apps/Camera2/src/com/android/camera/one/v2/commands/
DZslPreviewCommand.java40 private final RequestBuilder.Factory mPreviewWarmupRequestBuilder;
42 private final RequestBuilder.Factory mZslRequestBuilder;
44 private final RequestBuilder.Factory mZslAndPreviewRequestBuilder;
56 RequestBuilder.Factory previewWarmupRequestBuilder, in ZslPreviewCommand()
58 RequestBuilder.Factory zslRequestBuilder, in ZslPreviewCommand()
60 RequestBuilder.Factory zslAndPreviewRequestBuilder, in ZslPreviewCommand()
104 private List<Request> createWarmupBurst(RequestBuilder.Factory builder, int type, int size) in createWarmupBurst()
DZslPreviewCommandFactory.java27 private final RequestBuilder.Factory mPreviewWarmupRequestBuilder;
28 private final RequestBuilder.Factory mZslRequestBuilder;
33 RequestBuilder.Factory previewWarmupRequestBuilder, in ZslPreviewCommandFactory()
34 RequestBuilder.Factory zslRequestBuilder) { in ZslPreviewCommandFactory()
41 public CameraCommand get(RequestBuilder.Factory previewRequestBuilder, int templateType) { in get()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DBugleNotifications.java46 import com.android.messaging.Factory;
218 NotificationManagerCompat.from(Factory.get().getApplicationContext()); in cancel()
243 final Context context = Factory.get().getApplicationContext(); in cancel()
305 final Context context = Factory.get().getApplicationContext(); in shouldNotify()
325 final Context context = Factory.get().getApplicationContext(); in shouldVibrate()
349 final Context context = Factory.get().getApplicationContext(); in buildNotificationTag()
397 final Resources resources = Factory.get().getApplicationContext().getResources(); in checkInitialized()
413 final Context context = Factory.get().getApplicationContext(); in processAndSend()
616 final Context context = Factory.get().getApplicationContext(); in createMessageNotification()
643 final BuglePrefs prefs = Factory.get().getApplicationPrefs(); in updateBuilderAudioVibrate()
[all …]
DMessagingContentProvider.java30 import com.android.messaging.Factory;
107 final Context context = Factory.get().getApplicationContext(); in notifyEverythingChanged()
129 final ContentResolver cr = Factory.get().getApplicationContext().getContentResolver(); in notifyParticipantsChanged()
134 final ContentResolver cr = Factory.get().getApplicationContext().getContentResolver(); in notifyAllMessagesChanged()
139 final ContentResolver cr = Factory.get().getApplicationContext().getContentResolver(); in notifyAllParticipantsChanged()
183 final Context context = Factory.get().getApplicationContext(); in notifyMessagesChanged()
203 final ContentResolver cr = Factory.get().getApplicationContext().getContentResolver(); in notifyConversationMetadataChanged()
209 final ContentResolver cr = Factory.get().getApplicationContext().getContentResolver(); in notifyPartsChanged()
214 final Context context = Factory.get().getApplicationContext(); in notifyConversationListChanged()
/packages/apps/Camera2/src/com/android/camera/debug/
DLoggers.java32 public static Logger.Factory noOpFactory() { in noOpFactory()
40 public static Logger.Factory tagFactory() { in tagFactory()
47 public static Logger.Factory factoryFor(final Logger logger) { in factoryFor()
48 return new Logger.Factory() { in factoryFor()
59 private static class NoOpLoggerFactory implements Logger.Factory {
84 private static class TagLoggerFactory implements Logger.Factory {
/packages/apps/Camera2/src/com/android/camera/one/v2/photo/
DConvergedImageCaptureCommand.java58 private final RequestBuilder.Factory mScanRequestTemplate;
59 private final RequestBuilder.Factory mRepeatingRequestBuilder;
62 private final List<RequestBuilder.Factory> mBurst;
70 private static RequestBuilder.Factory resetFocusExposureModes(RequestBuilder.Factory template) { in resetFocusExposureModes()
96 RequestBuilder.Factory repeatingRequestBuilder, in ConvergedImageCaptureCommand()
98 List<RequestBuilder.Factory> burst, boolean waitForAEConvergence, in ConvergedImageCaptureCommand()
193 for (RequestBuilder.Factory builderTemplate : mBurst) { in captureBurst()
/packages/apps/Messaging/src/com/android/messaging/sms/
DSmsStorageStatusManager.java25 import com.android.messaging.Factory;
63 final Context context = Factory.get().getApplicationContext(); in postStorageLowNotification()
83 NotificationManagerCompat.from(Factory.get().getApplicationContext()); in postStorageLowNotification()
94 NotificationManagerCompat.from(Factory.get().getApplicationContext()); in cancelStorageLowNotification()
100 return Factory.get().getApplicationContext().getPackageName() + ":smsstoragelow"; in getNotificationTag()
DMmsUtils.java45 import com.android.messaging.Factory;
640 final Context context = Factory.get().getApplicationContext(); in groupMmsEnabled()
692 final Context context = Factory.get().getApplicationContext(); in getMediaFileSize()
729 final Context context = Factory.get().getApplicationContext(); in getRecipientsByThread()
741 final Context context = Factory.get().getApplicationContext(); in getRawRecipientIdsForThread()
1144 final ContentResolver cr = Factory.get().getApplicationContext().getContentResolver(); in isDataRoamingEnabled()
1157 final Context context = Factory.get().getApplicationContext(); in allowMmsAutoRetrieve()
1217 final ContentResolver resolver = Factory.get().getApplicationContext().getContentResolver(); in updateSmsStatusAndDateSent()
1272 final ContentResolver resolver = Factory.get().getApplicationContext().getContentResolver(); in deleteMediaMessages()
1366 final ContentResolver resolver = Factory.get().getApplicationContext().getContentResolver(); in deleteMessagesOlderThan()
[all …]
/packages/apps/Messaging/src/com/android/messaging/util/
DUriUtil.java28 import com.android.messaging.Factory;
142 pfd = Factory.get().getApplicationContext() in getContentSize()
183 final Context context = Factory.get().getApplicationContext(); in persistContentToScratchSpace()
196 final Context context = Factory.get().getApplicationContext(); in persistContentToScratchSpace()
234 final Context context = Factory.get().getApplicationContext(); in persistContent()
253 final Context context = Factory.get().getApplicationContext(); in persistContent()
341 final Context context = Factory.get().getApplicationContext(); in getUriContentLength()
DBuglePrefs.java19 import com.android.messaging.Factory;
60 return Factory.get().getApplicationPrefs(); in getApplicationPrefs()
67 return Factory.get().getSubscriptionPrefs(subId); in getSubscriptionPrefs()
DNotificationPlayer.java28 import com.android.messaging.Factory;
86 (AudioManager) Factory.get().getApplicationContext() in run()
91 player.setDataSource(Factory.get().getApplicationContext(), mCmd.uri); in run()
346 final PowerManager pm = (PowerManager) Factory.get().getApplicationContext() in setUsesWakeLock()
DBugleSubscriptionPrefs.java22 import com.android.messaging.Factory;
75 final Resources resources = Factory.get().getApplicationContext().getResources(); in migratePrefBooleanInternal()
87 final Resources resources = Factory.get().getApplicationContext().getResources(); in migratePrefStringInternal()
/packages/apps/Messaging/src/com/android/messaging/
DFactory.java35 public abstract class Factory { class
39 private static volatile Factory sInstance;
45 public static Factory get() { in get()
49 protected static void setInstance(final Factory factory) { in setInstance()
DFactoryImpl.java50 class FactoryImpl extends Factory {
77 public static Factory register(final Context applicationContext, in register()
81 Assert.isNull(Factory.get()); in register()
84 Factory.setInstance(factory); in register()
/packages/apps/Messaging/src/com/android/messaging/ui/
DWidgetPickConversationActivity.java24 import com.android.messaging.Factory;
98 final BuglePrefs prefs = Factory.get().getWidgetPrefs(); in saveConversationidPref()
104 final BuglePrefs prefs = Factory.get().getWidgetPrefs(); in getConversationIdPref()
110 final BuglePrefs prefs = Factory.get().getWidgetPrefs(); in deleteConversationIdPref()
/packages/apps/Messaging/src/com/android/messaging/receiver/
DSmsReceiver.java39 import com.android.messaging.Factory;
221 Factory.get().getUIIntents().launchClassZeroActivity(context, messageValues); in deliverSmsMessages()
262 final Context context = Factory.get().getApplicationContext(); in postNewMessageSecondaryUserNotification()
282 NotificationManagerCompat.from(Factory.get().getApplicationContext()); in postNewMessageSecondaryUserNotification()
299 NotificationManagerCompat.from(Factory.get().getApplicationContext()); in cancelSecondaryUserNotification()
305 return Factory.get().getApplicationContext().getPackageName() + ":secondaryuser"; in getNotificationTag()
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DActionServiceImpl.java29 import com.android.messaging.Factory;
143 final Intent intent = new Intent(Factory.get().getApplicationContext(), in makeIntent()
159 final Intent intent = new Intent(Factory.get().getApplicationContext(), in makeIntent()
168 final Context context = Factory.get().getApplicationContext(); in scheduleAlarm()
230 final Context context = Factory.get().getApplicationContext(); in startServiceWithIntent()
DBugleActionToasts.java22 import com.android.messaging.Factory;
76 if (AccessibilityUtil.isTouchExplorationEnabled(Factory.get().getApplicationContext())) { in onSendMessageOrManualDownloadActionCompleted()
100 final Context context = Factory.get().getApplicationContext(); in onMessageReceived()
140 return Factory.get().getApplicationContext(); in getApplicationContext()
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
DMtpDeviceIndexRunnable.java45 public static class Factory { class in MtpDeviceIndexRunnable
73 private static Factory sDefaultFactory = new Factory();
75 public static Factory getFactory() { in getFactory()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/
DTelecomPageTab.java56 private final Factory mFactory;
61 private TelecomPageTab(@Nullable Drawable icon, @Nullable CharSequence text, Factory factory) { in TelecomPageTab()
100 public static class Factory { class in TelecomPageTab
122 public Factory(Context context, FragmentManager fragmentManager) { in Factory() method in TelecomPageTab.Factory
/packages/apps/DeskClock/src/com/android/deskclock/ringtone/
DRingtonePickerActivity.java63 import static com.android.deskclock.ItemAdapter.ItemViewHolder.Factory;
184 final Factory ringtoneFactory = new RingtoneViewHolder.Factory(inflater); in onCreate()
185 final Factory headerFactory = new HeaderViewHolder.Factory(inflater); in onCreate()
186 final Factory addNewFactory = new AddCustomRingtoneViewHolder.Factory(inflater); in onCreate()
DHeaderViewHolder.java43 public static class Factory implements ItemAdapter.ItemViewHolder.Factory { class in HeaderViewHolder
47 Factory(LayoutInflater inflater) { in Factory() method in HeaderViewHolder.Factory
DAddCustomRingtoneViewHolder.java57 public static class Factory implements ItemViewHolder.Factory { class in AddCustomRingtoneViewHolder
61 Factory(LayoutInflater inflater) { in Factory() method in AddCustomRingtoneViewHolder.Factory
/packages/apps/PermissionController/src/com/android/packageinstaller/role/ui/
DRequestRoleViewModel.java40 public static class Factory implements ViewModelProvider.Factory { class in RequestRoleViewModel
48 public Factory(@NonNull Role role, @NonNull Application application) { in Factory() method in RequestRoleViewModel.Factory
/packages/apps/DeskClock/src/com/android/deskclock/
DItemAdapter.java90 private final SparseArray<ItemViewHolder.Factory> mFactoriesByViewType = new SparseArray<>();
122 public ItemAdapter withViewTypes(ItemViewHolder.Factory factory, in withViewTypes()
262 final ItemViewHolder.Factory factory = mFactoriesByViewType.get(viewType); in onCreateViewHolder()
497 public interface Factory { interface in ItemAdapter.ItemViewHolder

123456789