/packages/apps/Camera2/src_pd/com/android/camera/debug/ |
H A D | LogHelper.java | 23 public static LogHelper instance() { method in class:LogHelper
|
/packages/apps/Camera2/src/android/util/ |
H A D | Pools.java | 28 * MyPooledClass instance = sPool.acquire(); 29 * return (instance != null) ? instance : new MyPooledClass(); 53 * @return An instance from the pool if such, null otherwise. 58 * Release an instance to the pool. 60 * @param instance The instance to release. 61 * @return Whether the instance was put in the pool. 63 * @throws IllegalStateException If the instance is already in the pool. 65 public boolean release(T instance); argument 110 release(T instance) argument 122 isInPool(T instance) argument [all...] |
/packages/apps/Camera2/src/com/android/camera/util/ |
H A D | AndroidContext.java | 41 * Return a previously initialized instance, throw if it has not been 44 public static AndroidContext instance() { method in class:AndroidContext
|
H A D | AndroidServices.java | 53 new AndroidServices(AndroidContext.instance().get()); 56 public static AndroidServices instance() { method in class:AndroidServices
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
H A D | AlarmUtils.java | 45 public static String getAlarmText(Context context, AlarmInstance instance, argument 47 String alarmTimeStr = getFormattedTime(context, instance.getAlarmTime()); 48 return (instance.mLabel.isEmpty() || !includeLabel) 50 : alarmTimeStr + " - " + instance.mLabel;
|
H A D | HandleApiCalls.java | 380 private void setupInstance(AlarmInstance instance, boolean skipUi) { argument 381 instance = AlarmInstance.addInstance(this.getContentResolver(), instance); 382 AlarmStateManager.registerInstance(this, instance, true); 383 AlarmUtils.popAlarmSetToast(this, instance.getAlarmTime().getTimeInMillis()); 385 Intent showAlarm = Alarm.createIntent(this, DeskClock.class, instance.mAlarmId); 387 showAlarm.putExtra(AlarmClockFragment.SCROLL_TO_ALARM_INTENT_EXTRA, instance.mAlarmId);
|
/packages/apps/DeskClock/src/com/android/deskclock/alarms/ |
H A D | AlarmKlaxon.java | 51 public static void start(Context context, AlarmInstance instance) { argument 56 if (!AlarmInstance.NO_RINGTONE_URI.equals(instance.mRingtone)) { 57 getAsyncRingtonePlayer(context).play(instance.mRingtone); 60 if (instance.mVibrate) {
|
H A D | AlarmNotifications.java | 37 public static void showLowPriorityNotification(Context context, AlarmInstance instance) { argument 38 LogUtils.v("Displaying low priority notification for alarm instance: " + instance.mId); 43 .setContentText(AlarmUtils.getAlarmText(context, instance, 54 AlarmStateManager.ALARM_DELETE_TAG, instance, 56 notification.setDeleteIntent(PendingIntent.getService(context, instance.hashCode(), 61 AlarmStateManager.ALARM_DISMISS_TAG, instance, AlarmInstance.PREDISMISSED_STATE); 64 PendingIntent.getService(context, instance.hashCode(), 67 // Setup content action if instance is owned by alarm 68 Intent viewAlarmIntent = createViewAlarmIntent(context, instance); 76 showHighPriorityNotification(Context context, AlarmInstance instance) argument 110 showSnoozeNotification(Context context, AlarmInstance instance) argument 142 showMissedNotification(Context context, AlarmInstance instance) argument 177 showAlarmNotification(Service service, AlarmInstance instance) argument 234 clearNotification(Context context, AlarmInstance instance) argument 243 updateNotification(Context context, AlarmInstance instance) argument 262 createViewAlarmIntent(Context context, AlarmInstance instance) argument [all...] |
H A D | AlarmUpdateHandler.java | 76 // Create and add instance to db 85 protected void onPostExecute(AlarmInstance instance) { 86 if (instance != null) { 88 mSnackbarAnchor, instance.getAlarmTime().getTimeInMillis()); 115 // just update the instance in the database and update notifications. 118 for (AlarmInstance instance : instanceList) { 119 // Make a copy of the existing instance 120 final AlarmInstance newInstance = new AlarmInstance(instance); 121 // Copy over minor change data to the instance; we don't know 126 // Since we copied the mId of the old instance an 187 showPredismissToast(AlarmInstance instance) argument [all...] |
H A D | AlarmService.java | 88 * or using a different instance. 91 * @param instance you are trying to stop 93 public static void stopAlarm(Context context, AlarmInstance instance) { argument 94 final Intent intent = AlarmInstance.createIntent(context, AlarmService.class, instance.mId) 119 private void startAlarm(AlarmInstance instance) { argument 120 LogUtils.v("AlarmService.start with instance: " + instance.mId); 128 mCurrentAlarm = instance; 143 LogUtils.v("AlarmService.stop with instance: %s", instanceId); 220 final AlarmInstance instance [all...] |
/packages/apps/Gallery2/src/android/util/ |
H A D | Pools.java | 28 * MyPooledClass instance = sPool.acquire(); 29 * return (instance != null) ? instance : new MyPooledClass(); 53 * @return An instance from the pool if such, null otherwise. 58 * Release an instance to the pool. 60 * @param instance The instance to release. 61 * @return Whether the instance was put in the pool. 63 * @throws IllegalStateException If the instance is already in the pool. 65 public boolean release(T instance); argument 110 release(T instance) argument 122 isInPool(T instance) argument [all...] |
/packages/apps/Camera2/src/com/android/camera/app/ |
H A D | FirstRunDetector.java | 34 Profilers.instance().guard()); 37 public static FirstRunDetector instance() { method in class:FirstRunDetector
|
H A D | CameraServicesImpl.java | 46 AndroidContext.instance().get()); 50 * @return a single instance of of the global camera services. 52 public static CameraServicesImpl instance() { method in class:CameraServicesImpl
|
/packages/apps/Camera2/src/com/android/camera/device/ |
H A D | ActiveCameraDeviceTracker.java | 35 * Singleton instance. 41 public static ActiveCameraDeviceTracker instance() { method in class:ActiveCameraDeviceTracker
|
H A D | MultiCameraDeviceLifecycle.java | 69 ActiveCameraDeviceTracker.instance(), 73 public static MultiCameraDeviceLifecycle instance() { method in class:MultiCameraDeviceLifecycle 271 // If there is no currently open device, this instance is already in a
|
/packages/apps/Camera2/src_pd/com/android/camera/stats/ |
H A D | SessionStatsCollector.java | 8 public static SessionStatsCollector instance() { method in class:SessionStatsCollector
|
/packages/apps/Camera2/src/com/android/camera/debug/ |
H A D | Log.java | 70 public static void d(Tag tag, Object instance, String msg) { argument 72 android.util.Log.d(tag.toString(), LogUtil.addTags(instance, msg)); 76 public static void d(Tag tag, Object instance, String msg, String tags) { argument 78 android.util.Log.d(tag.toString(), LogUtil.addTags(instance, msg, tags)); 94 public static void e(Tag tag, Object instance, String msg) { argument 96 android.util.Log.e(tag.toString(), LogUtil.addTags(instance, msg)); 100 public static void e(Tag tag, Object instance, String msg, String tags) { argument 102 android.util.Log.e(tag.toString(), LogUtil.addTags(instance, msg, tags)); 118 public static void i(Tag tag, Object instance, String msg) { argument 120 android.util.Log.i(tag.toString(), LogUtil.addTags(instance, ms 124 i(Tag tag, Object instance, String msg, String tags) argument 142 v(Tag tag, Object instance, String msg) argument 148 v(Tag tag, Object instance, String msg, String tags) argument 166 w(Tag tag, Object instance, String msg) argument 172 w(Tag tag, Object instance, String msg, String tags) argument [all...] |
H A D | Loggers.java | 33 return NoOpLoggerFactory.instance(); 41 return TagLoggerFactory.instance(); 64 public static NoOpLoggerFactory instance() { method in class:Loggers.NoOpLoggerFactory 89 public static TagLoggerFactory instance() { method in class:Loggers.TagLoggerFactory
|
/packages/apps/Camera2/src/com/android/camera/one/v1/ |
H A D | LegacyOneCameraManagerImpl.java | 50 public static Optional<LegacyOneCameraManagerImpl> instance() { method in class:LegacyOneCameraManagerImpl
|
/packages/apps/Camera2/src/com/android/camera/processing/ |
H A D | ProcessingServiceManager.java | 41 AndroidContext.instance().get()); 44 public static ProcessingServiceManager instance() { method in class:ProcessingServiceManager
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
H A D | CursorAnchorInfoCompatWrapper.java | 55 public static CursorAnchorInfoCompatWrapper wrap(@Nullable final CursorAnchorInfo instance) { argument 59 if (instance == null) { 62 return new RealWrapper(instance);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/ |
H A D | ServiceDeclaration.java | 35 int instance = 0; field in class:ServiceDeclaration.Entry 42 Entry(UUID uuid, int serviceType, int instance) { argument 45 this.instance = instance; 49 Entry(UUID uuid, int serviceType, int instance, boolean advertisePreferred) { argument 52 this.instance = instance; 57 Entry(UUID uuid, int properties, int permissions, int instance) { argument 60 this.instance = instance; 77 addService(UUID uuid, int serviceType, int instance, int minHandles, boolean advertisePreferred) argument 89 addIncludedService(UUID uuid, int serviceType, int instance) argument [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/ |
H A D | PbapClientService.java | 237 private static synchronized void setPbapClientService(PbapClientService instance) { argument 238 if (instance != null && instance.isAvailable()) { 242 sPbapClientService = instance;
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/compat/ |
H A D | CompatUtils.java | 235 * @param instance The instance of the class to invoke the method on. 239 * @return The result of the invocation or {@code null} if instance or methodName are empty, or 243 public static Object invokeMethod(@Nullable Object instance, @Nullable String methodName, argument 245 if (instance == null || TextUtils.isEmpty(methodName)) { 249 String className = instance.getClass().getName(); 252 .invoke(instance, parameters);
|
/packages/apps/Gallery/src/com/android/camera/ |
H A D | BitmapManager.java | 167 public static synchronized BitmapManager instance() { method in class:BitmapManager
|