Home
last modified time | relevance | path

Searched refs:target (Results 1 – 25 of 36) sorted by relevance

12

/packages/apps/Contacts/src/com/android/contacts/util/
DWeakAsyncTask.java27 public WeakAsyncTask(WeakTarget target) { in WeakAsyncTask() argument
28 mTarget = new WeakReference<WeakTarget>(target); in WeakAsyncTask()
34 final WeakTarget target = mTarget.get(); in onPreExecute() local
35 if (target != null) { in onPreExecute()
36 this.onPreExecute(target); in onPreExecute()
43 final WeakTarget target = mTarget.get(); in doInBackground() local
44 if (target != null) { in doInBackground()
45 return this.doInBackground(target, params); in doInBackground()
54 final WeakTarget target = mTarget.get(); in onPostExecute() local
55 if (target != null) { in onPostExecute()
[all …]
/packages/apps/Contacts/src/com/android/contacts/ui/
DEditContactActivity.java156 public QueryEntitiesTask(EditContactActivity target) { in QueryEntitiesTask() argument
157 super(target); in QueryEntitiesTask()
161 protected Void doInBackground(EditContactActivity target, Intent... params) { in doInBackground() argument
163 final Context context = target; in doInBackground()
190 target.mQuerySelection = selection; in doInBackground()
191 target.mState = EntitySet.fromQuery(resolver, selection, null, null); in doInBackground()
196 final boolean hasState = target.mState.size() > 0; in doInBackground()
199 final EntityDelta state = target.mState.get(0); in doInBackground()
210 protected void onPostExecute(EditContactActivity target, Void result) { in onPostExecute() argument
212 target.bindEditors(); in onPostExecute()
[all …]
DDisplayGroupsActivity.java146 public QueryGroupsTask(DisplayGroupsActivity target) { in QueryGroupsTask() argument
147 super(target); in QueryGroupsTask()
151 protected AccountSet doInBackground(DisplayGroupsActivity target, in doInBackground() argument
153 final Context context = target; in doInBackground()
167 protected void onPostExecute(DisplayGroupsActivity target, AccountSet result) { in onPostExecute() argument
169 final Context context = target; in onPostExecute()
171 target.setListAdapter(adapter); in onPostExecute()
808 public UpdateTask(Activity target) { in UpdateTask() argument
809 super(target); in UpdateTask()
814 protected void onPreExecute(Activity target) { in onPreExecute() argument
[all …]
DQuickContactActivity.java68 final Rect target = (Rect)extras.getParcelable(QuickContact.EXTRA_TARGET_RECT); in onNewIntent() local
72 mQuickContact.show(lookupUri, target, mode, excludeMimes); in onNewIntent()
/packages/apps/Gallery/tests/src/com/android/camera/gallery/
DImageListUberUnitTests.java57 MockImage target = new MockImage(1, 1); in testRemoveImage() local
60 listB.addImage(target); in testRemoveImage()
63 uber.removeImage(target); in testRemoveImage()
75 MockImage target = new MockImage(1, 1); in testRemoveImageAt() local
78 listB.addImage(target); in testRemoveImageAt()
/packages/apps/Camera/tests/src/com/android/camera/gallery/
DImageListUberUnitTests.java57 MockImage target = new MockImage(1, 1); in testRemoveImage() local
60 listB.addImage(target); in testRemoveImage()
63 uber.removeImage(target); in testRemoveImage()
75 MockImage target = new MockImage(1, 1); in testRemoveImageAt() local
78 listB.addImage(target); in testRemoveImageAt()
/packages/apps/Launcher2/src/com/android/launcher2/
DDragController.java469 final DropTarget target = dropTargets.get(i); in findDropTarget() local
470 target.getHitRect(r); in findDropTarget()
471 target.getLocationOnScreen(dropCoordinates); in findDropTarget()
472 r.offset(dropCoordinates[0] - target.getLeft(), dropCoordinates[1] - target.getTop()); in findDropTarget()
476 return target; in findDropTarget()
529 public void addDropTarget(DropTarget target) { in addDropTarget() argument
530 mDropTargets.add(target); in addDropTarget()
536 public void removeDropTarget(DropTarget target) { in removeDropTarget() argument
537 mDropTargets.remove(target); in removeDropTarget()
DDragSource.java27 void onDropCompleted(View target, boolean success); in onDropCompleted() argument
DUserFolder.java72 public void onDropCompleted(View target, boolean success) { in onDropCompleted() argument
/packages/apps/Mms/src/com/android/mms/model/
DSmilHelper.java403 EventTarget target, MediaModel media) { in addMediaElementEventListeners() argument
406 target.addEventListener(SMIL_MEDIA_START_EVENT, media, false); in addMediaElementEventListeners()
407 target.addEventListener(SMIL_MEDIA_END_EVENT, media, false); in addMediaElementEventListeners()
408 target.addEventListener(SMIL_MEDIA_PAUSE_EVENT, media, false); in addMediaElementEventListeners()
409 target.addEventListener(SMIL_MEDIA_SEEK_EVENT, media, false); in addMediaElementEventListeners()
413 EventTarget target, SlideModel slide) { in addParElementEventListeners() argument
416 target.addEventListener(SMIL_SLIDE_START_EVENT, slide, false); in addParElementEventListeners()
417 target.addEventListener(SMIL_SLIDE_END_EVENT, slide, false); in addParElementEventListeners()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/EN/
DTutorialEN.java244 int target = text.indexOf(marker); in setSpan() local
245 while (0 <= target) { in setSpan()
248 spannable.setSpan(span, target, target + 1, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in setSpan()
249 target = text.indexOf(marker, target + 1); in setSpan()
/packages/apps/Mms/src/com/android/mms/dom/events/
DEventImpl.java112 void setTarget(EventTarget target) { in setTarget() argument
113 mTarget = target; in setTarget()
DEventTargetImpl.java48 public EventTargetImpl(EventTarget target) { in EventTargetImpl() argument
49 mNodeTarget = target; in EventTargetImpl()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/
DTutorialJAJP.java316 int target = text.indexOf(marker); in setSpan() local
317 while (0 <= target) { in setSpan()
320 spannable.setSpan(span, target, target + 1, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in setSpan()
321 target = text.indexOf(marker, target + 1); in setSpan()
/packages/apps/IM/src/com/android/im/app/
DImApp.java501 public void callWhenServiceConnected(Handler target, Runnable callback) { in callWhenServiceConnected() argument
502 Message msg = Message.obtain(target, callback); in callWhenServiceConnected()
513 public void removePendingCall(Handler target) { in removePendingCall() argument
518 if (msg.getTarget() == target) { in removePendingCall()
525 public void registerForBroadcastEvent(int what, Handler target) { in registerForBroadcastEvent() argument
526 mBroadcaster.request(what, target, what); in registerForBroadcastEvent()
529 public void unregisterForBroadcastEvent(int what, Handler target) { in unregisterForBroadcastEvent() argument
530 mBroadcaster.cancelRequest(what, target, what); in unregisterForBroadcastEvent()
/packages/apps/Launcher/src/com/android/launcher/
DDragSource.java26 void onDropCompleted(View target, boolean success); in onDropCompleted() argument
DDragLayer.java494 DropTarget target = null; in findDropTarget() local
498 target = findDropTarget((ViewGroup) child, x, y, dropCoordinates); in findDropTarget()
500 if (target == null) { in findDropTarget()
513 return target; in findDropTarget()
DUserFolder.java59 public void onDropCompleted(View target, boolean success) { in onDropCompleted() argument
DFolder.java108 public void onDropCompleted(View target, boolean success) { in onDropCompleted() argument
/packages/apps/Email/src/com/android/exchange/
DEasSyncService.java985 public void sync(AbstractSyncAdapter target) throws IOException { in sync() argument
986 Mailbox mailbox = target.mMailbox; in sync()
1014 String className = target.getCollectionName(); in sync()
1015 String syncKey = target.getSyncKey(); in sync()
1052 target.sendLocalChanges(s); in sync()
1060 moreAvailable = target.parse(is); in sync()
1061 target.cleanup(); in sync()
1113 AbstractSyncAdapter target; in run() local
1117 target = new ContactsSyncAdapter(mMailbox, this); in run()
1119 target = new EmailSyncAdapter(mMailbox, this); in run()
[all …]
/packages/apps/Mms/src/com/android/mms/transaction/
DHttpUtils.java118 HttpHost target = new HttpHost( in httpConnection() local
196 HttpResponse response = client.execute(target, req); in httpConnection()
/packages/apps/Mms/src/com/android/mms/ui/
DSearchActivity.java163 public void setText(String fullText, String target) { in setText() argument
165 mTargetString = target; in setText()
/packages/apps/Mms/src/com/android/mms/dom/
DDocumentImpl.java87 public ProcessingInstruction createProcessingInstruction(String target, String data) in createProcessingInstruction() argument
/packages/apps/Camera/src/com/android/camera/
DImageViewTouchBase.java333 float target = oldScale + (incrementPerMs * currentMs); in zoomTo()
334 zoomTo(target, centerX, centerY); in zoomTo()
/packages/apps/Gallery/src/com/android/camera/
DImageViewTouchBase.java333 float target = oldScale + (incrementPerMs * currentMs); in zoomTo()
334 zoomTo(target, centerX, centerY); in zoomTo()

12