Home
last modified time | relevance | path

Searched refs:obtain (Results 1 – 25 of 180) sorted by relevance

12345678

/packages/apps/DocumentsUI/src/com/android/documentsui/
DThumbnailCache.java82 return Result.obtain(Result.CACHE_HIT_EXACT, size, entry); in getThumbnail()
94 return Result.obtain(Result.CACHE_HIT_LARGER, otherSize, entry); in getThumbnail()
107 return Result.obtain(Result.CACHE_HIT_SMALLER, otherSize, entry); in getThumbnail()
217 return obtain(CACHE_MISS, null, null, 0); in obtainMiss()
220 private static Result obtain(@Status int status, Point size, Entry entry) { in obtain() method in ThumbnailCache.Result
221 return obtain(status, entry.mThumbnail, size, entry.mLastModified); in obtain()
224 private static Result obtain(@Status int status, @Nullable Bitmap thumbnail, in obtain() method in ThumbnailCache.Result
/packages/experimental/NotificationListenerSample/src/com/android/example/notificationlistener/
DListener.java130 Message.obtain(sHandler, what, key).sendToTarget();
268 Message.obtain(sHandler, MSG_STARTUP).sendToTarget(); in onListenerConnected()
279 Message.obtain(sHandler, MSG_ORDER, in onNotificationRankingUpdate()
286 Message.obtain(sHandler, MSG_NOTIFY, in onNotificationPosted()
293 Message.obtain(sHandler, MSG_CANCEL, in onNotificationRemoved()
/packages/services/Car/car-support-lib/src/android/support/car/ui/
DCarRecyclerView.java73 Parcel obtain = Parcel.obtain(); in onRestoreInstanceState() local
74 state.writeToParcel(obtain, 0); in onRestoreInstanceState()
76 Parcelable newState = (Parcelable) mSavedStateConstructor.newInstance(obtain); in onRestoreInstanceState()
/packages/services/Telecomm/src/com/android/server/telecom/bluetooth/
DBluetoothRouteManager.java104 SomeArgs args = SomeArgs.obtain();
263 SomeArgs args = SomeArgs.obtain(); in enter()
617 SomeArgs args = SomeArgs.obtain(); in connectBluetoothAudio()
627 SomeArgs args = SomeArgs.obtain(); in disconnectBluetoothAudio()
637 SomeArgs args = SomeArgs.obtain(); in onDeviceAdded()
644 SomeArgs args = SomeArgs.obtain(); in onDeviceLost()
693 SomeArgs args = SomeArgs.obtain(); in connectHfpAudio()
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DFolderList.java47 final Parcel p = Parcel.obtain(); in toBlob()
62 final Parcel p = Parcel.obtain(); in listToBlob()
74 final Parcel p = Parcel.obtain(); in fromBlob()
DConversationInfo.java96 final Parcel p = Parcel.obtain(); in fromBlob()
105 final Parcel p = Parcel.obtain(); in toBlob()
/packages/apps/TV/tests/unit/src/com/android/tv/data/
DProgramTest.java127 Parcel p1 = Parcel.obtain(); in testParcelable()
128 Parcel p2 = Parcel.obtain(); in testParcelable()
150 Parcel parcel = Parcel.obtain(); in testParcelableWithCriticScore()
/packages/services/Car/service/src/com/android/car/hal/
DHalClient.java239 mHandler.sendMessage(Message.obtain( in onPropertyEvent()
245 mHandler.sendMessage(Message.obtain( in onPropertySet()
251 mHandler.sendMessage(Message.obtain( in onPropertySetError()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/
DKeyboardAccessibilityNodeProvider.java141 final AccessibilityEvent event = AccessibilityEvent.obtain(eventType); in createAccessibilityEvent()
203 AccessibilityNodeInfoCompat.obtain(mKeyboardView); in createAccessibilityNodeInfo()
237 final AccessibilityNodeInfoCompat info = AccessibilityNodeInfoCompat.obtain(); in createAccessibilityNodeInfo()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppObexServerSession.java374 Message msg = Message.obtain(mCallback, BluetoothOppObexSession.MSG_SHARE_COMPLETE); in onPut()
379 Message msg = Message.obtain(mCallback, in onPut()
410 Message msg = Message.obtain(mCallback); in onPut()
607 Message msg = Message.obtain(mCallback); in onClose()
DBluetoothOppService.java322 Message msg1 = Message.obtain(mHandler);
347 Message msg2 = Message.obtain(mHandler);
1043 Message msg = Message.obtain(); in onScanCompleted()
1050 Message msg = Message.obtain(); in onScanCompleted()
1117 Message msg = Message.obtain(); in onConnect()
/packages/apps/Settings/src/com/android/settings/search2/
DResultPayloadUtils.java35 Parcel parcel = Parcel.obtain(); in marshall()
51 Parcel parcel = Parcel.obtain(); in unmarshall()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DParcelables.java45 Parcel write = Parcel.obtain(); in parcel()
46 Parcel read = Parcel.obtain(); in parcel()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/files/
DActionHandlerTest.java397 DragEvent event = DragEvent.obtain(DragEvent.ACTION_DROP, 1, 1, null, null, null, in testDragAndDrop_OnReadOnlyRoot()
404 DragEvent event = DragEvent.obtain(DragEvent.ACTION_DROP, 1, 1, null, null, null, in testDragAndDrop_OnLibraryRoot()
429 DragEvent event = DragEvent.obtain(DragEvent.ACTION_DROP, 1, 1, localState, null, clipData, in testClipper_suppliedCorrectClipData()
459 DragEvent event = DragEvent.obtain(DragEvent.ACTION_DROP, 1, 1, localState, null, clipData, in testClipper_notCalledIfDestInSelection()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/
DAccessibilityTest.java51 AccessibilityNodeInfoCompat info = AccessibilityNodeInfoCompat.obtain(); in test_announceSelected()
58 AccessibilityNodeInfoCompat info = AccessibilityNodeInfoCompat.obtain(); in test_routesAccessibilityClicks()
/packages/apps/DocumentsUI/
Dproguard.flags5 # You may obtain a copy of the License at
17 public static android.support.v4.view.accessibility.AccessibilityNodeInfoCompat obtain();
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DAppBlockingPackageInfoTest.java34 Parcel dest = Parcel.obtain(); in testParcellingSystemInfo()
44 Parcel dest = Parcel.obtain(); in testParcellingNonSystemInfo()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMnsObexClient.java256 Message msg = Message.obtain(mCallback); in handleRegistration()
383 Message msg = Message.obtain(mCallback); in notifyMnsSdpSearch()
505 Message msg = Message.obtain(mCallback); in notifyUpdateWakeLock()
/packages/experimental/RpcPerformance/src/com/android/rpc_performance/
DProviderPerfActivity.java538 private float parcelLoop(boolean obtain) { in parcelLoop() argument
541 if (obtain) { in parcelLoop()
543 Parcel p = Parcel.obtain(); in parcelLoop()
547 Parcel p = Parcel.obtain(); in parcelLoop()
/packages/services/Car/car-lib/src/android/car/content/pm/
DCarAppBlockingPolicy.java66 Parcel payloadParcel = Parcel.obtain(); in CarAppBlockingPolicy()
82 Parcel payloadParcel = Parcel.obtain(); in writeToParcel()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DFlingToDeleteHelper.java53 mVelocityTracker = VelocityTracker.obtain(); in recordMotionEvent()
77 MotionEvent emulatedEvent = MotionEvent.obtain(dragStartTime, SystemClock.uptimeMillis(), in recordDragEvent()
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DMotionEventHelper.java40 MotionEvent newEvent = MotionEvent.obtain(e); in transformEventNew()
75 MotionEvent n = MotionEvent.obtain(downTime, eventTime, action, in transformEventOld()
/packages/apps/TV/tests/unit/src/com/android/tv/dvr/
DSeriesRecordingTest.java65 Parcel p1 = Parcel.obtain(); in testParcelable()
66 Parcel p2 = Parcel.obtain(); in testParcelable()
/packages/apps/Calendar/src/com/android/calendar/month/
DMonthListView.java82 mTracker = VelocityTracker.obtain(); in init()
135 MotionEvent cancelEvent = MotionEvent.obtain(mDownActionTime, SystemClock.uptimeMillis(), in doFling()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DListeningGestureDetector.java107 try (InputEvent event = MotionInputEvent.obtain(e, rv)) { in onInterceptTouchEvent()
138 try (InputEvent event = MotionInputEvent.obtain(e, rv)) { in onTouchEvent()

12345678