Home
last modified time | relevance | path

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

1234

/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/Email/
DCleanSpec.mk46 $(call add-clean-step, rm -rf $(OUT_DIR)/out/target/common/obj/APPS/Email*)
47 $(call add-clean-step, rm -rf $(OUT_DIR)/out/target/common/obj/APPS/Email*)
48 $(call add-clean-step, rm -rf $(OUT_DIR)/out/target/common/obj/APPS/Exchange*)
50 $(call add-clean-step, rm -rf $(OUT_DIR)/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current…
51 $(call add-clean-step, rm -rf $(OUT_DIR)/out/target/common/obj/JAVA_LIBRARIES/com.android.emailcomm…
52 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/EmailGoogle_intermediates)
53 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/Email_intermediates)
54 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/com.android.emailcommon_i…
55 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/com.android.emailcommon_i…
56 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/com.android.emailcommon_i…
[all …]
/packages/apps/Gallery2/tests/src/com/android/gallery3d/ui/
DGLStub.java44 int target, in glBindTexture() argument
116 int target, in glCompressedTexImage2D() argument
127 int target, in glCompressedTexSubImage2D() argument
139 int target, in glCopyTexImage2D() argument
150 int target, in glCopyTexSubImage2D() argument
312 int target, in glHint() argument
480 int target, in glMultiTexCoord4f() argument
488 int target, in glMultiTexCoord4x() argument
641 int target, in glTexEnvf() argument
647 int target, in glTexEnvfv() argument
[all …]
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/preferences/
DSearchSettingsActivity.java42 public void onBuildHeaders(List<Header> target) { in onBuildHeaders() argument
43 loadHeadersFromResource(R.xml.preferences_headers, target); in onBuildHeaders()
44 onHeadersBuilt(target); in onBuildHeaders()
66 protected void onHeadersBuilt(List<Header> target) { in onHeadersBuilt() argument
72 for (int i = 0; i < target.size(); ++i) { in onHeadersBuilt()
73 String fragment = target.get(i).fragment; in onHeadersBuilt()
76 target.remove(i); in onHeadersBuilt()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DPositionRepository.java86 Position source, Position target, Position output, float progress) { in interpolate() argument
89 Utils.interpolateScale(source.x, target.x, progress), in interpolate()
90 Utils.interpolateScale(source.y, target.y, progress), in interpolate()
91 Utils.interpolateScale(source.z, target.z, progress), in interpolate()
92 Utils.interpolateAngle(source.theta, target.theta, progress), in interpolate()
93 Utils.interpolateScale(source.alpha, target.alpha, progress)); in interpolate()
95 output.set(target); in interpolate()
DPaper.java73 public float[] getTransform(Position target, Position base, in getTransform() argument
77 float screenX = target.x - scrollX; in getTransform()
93 target.x - base.x, target.y - base.y, target.z - base.z); in getTransform()
DAdaptiveBackground.java49 Bitmap target = Bitmap.createBitmap( in getAdaptiveBitmap() local
51 Canvas canvas = new Canvas(target); in getAdaptiveBitmap()
66 BoxBlurFilter.apply(target, in getAdaptiveBitmap()
68 return target; in getAdaptiveBitmap()
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/util/
DLevenshteinDistanceTest.java36 private void verifyTargetOperations(String[] source, String[] target, int[] expectedOps, in verifyTargetOperations() argument
40 Token[] targetTokens = makeTokens(target); in verifyTargetOperations()
42 assertEquals("test error", target.length, expectedOps.length); in verifyTargetOperations()
49 assertEquals("Token " + i + " '" + target[i] + "' has wrong operation", in verifyTargetOperations()
52 assertEquals(source[ops[i].getPosition()], target[i]); in verifyTargetOperations()
54 assertFalse(source[ops[i].getPosition()].equals(target[i])); in verifyTargetOperations()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DHanziToPinyin.java264 public Token(int type, String source, String target) { in Token() argument
267 this.target = target; in Token()
282 public String target; field in HanziToPinyin.Token
344 token.target = letter; in getToken()
348 token.target = letter; in getToken()
354 token.target = letter; in getToken()
363 token.target = letter; in getToken()
396 token.target = pinyin.toString(); in getToken()
/packages/apps/Launcher2/
DCleanSpec.mk47 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/Launcher2_intermediates)
48 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/Launcher2_intermediates)
49 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/Launcher2_intermediates)
/packages/apps/Browser/src/com/android/browser/
DBrowserPreferencesPage.java50 public void onBuildHeaders(List<Header> target) { in onBuildHeaders() argument
51 loadHeadersFromResource(R.xml.preference_headers, target); in onBuildHeaders()
57 target.add(debug); in onBuildHeaders()
59 mHeaders = target; in onBuildHeaders()
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountCheckSettingsFragment.java283 Fragment target = getTargetFragment(); in getCallbackTarget() local
284 if (target instanceof Callbacks) { in getCallbackTarget()
285 return (Callbacks) target; in getCallbackTarget()
720 final AccountCheckSettingsFragment target = in onCreateDialog() local
731 target.onCheckingDialogCancel(); in onCreateDialog()
743 AccountCheckSettingsFragment target = in onCancel() local
745 target.onCheckingDialogCancel(); in onCancel()
794 public static ErrorDialog newInstance(Context context, AccountCheckSettingsFragment target, in newInstance() argument
801 fragment.setTargetFragment(target, 0); in newInstance()
811 final AccountCheckSettingsFragment target = in onCreateDialog() local
[all …]
/packages/apps/Launcher2/src/com/android/launcher2/
DDragController.java600 DropTarget target = dropTargets.get(i); in findDropTarget() local
601 if (!target.isDropEnabled()) in findDropTarget()
604 target.getHitRect(r); in findDropTarget()
607 target.getLocationInDragLayer(dropCoordinates); in findDropTarget()
608 r.offset(dropCoordinates[0] - target.getLeft(), dropCoordinates[1] - target.getTop()); in findDropTarget()
613 DropTarget delegate = target.getDropTargetDelegate(mDragObject); in findDropTarget()
615 target = delegate; in findDropTarget()
616 target.getLocationInDragLayer(dropCoordinates); in findDropTarget()
623 return target; in findDropTarget()
654 public void addDropTarget(DropTarget target) { in addDropTarget() argument
[all …]
/packages/apps/Gallery/tests/src/com/android/camera/gallery/
DImageListUberUnitTests.java61 MockImage target = new MockImage(1, 1); in testRemoveImage() local
64 listB.addImage(target); in testRemoveImage()
67 uber.removeImage(target); in testRemoveImage()
79 MockImage target = new MockImage(1, 1); in testRemoveImageAt() local
82 listB.addImage(target); in testRemoveImageAt()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DFloatingChildLayout.java95 final Rect target = new Rect(mTargetScreen); in getTargetInWindow() local
96 target.offset(-windowScreen.left, -windowScreen.top); in getTargetInWindow()
97 return target; in getTargetInWindow()
104 final Rect target = getTargetInWindow(); in onLayout() local
116 final int childLeft = target.centerX() - (childWidth / 2); in onLayout()
118 final int childTop = target.centerY() - Math.round(childHeight * 0.35f); in onLayout()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DBitmapUtils.java131 Bitmap target = Bitmap.createBitmap(width, height, getConfig(bitmap)); in resizeBitmapByScale()
132 Canvas canvas = new Canvas(target); in resizeBitmapByScale()
137 return target; in resizeBitmapByScale()
176 Bitmap target = Bitmap.createBitmap(size, size, getConfig(bitmap)); in cropCenter() local
177 Canvas canvas = new Canvas(target); in cropCenter()
182 return target; in cropCenter()
195 Bitmap target = Bitmap.createBitmap(size, size, getConfig(bitmap)); in resizeDownAndCropCenter() local
198 Canvas canvas = new Canvas(target); in resizeDownAndCropCenter()
204 return target; in resizeDownAndCropCenter()
/packages/apps/Contacts/src/com/android/contacts/editor/
DSelectAccountDialogFragment.java101 final Listener target = (Listener) targetFragment; in onCancel() local
102 target.onAccountSelectorCancelled(); in onCancel()
112 final Listener target = (Listener) targetFragment; in onAccountSelected() local
113 target.onAccountChosen(account, getArguments().getBundle(KEY_EXTRA_ARGS)); in onAccountSelected()
/packages/apps/Camera/
DCleanSpec.mk47 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/Camera*)
48 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/Camera*)
/packages/apps/Browser/
DCleanSpec.mk46 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/Browser_intermediates)
48 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/Browser_intermediates)
/packages/apps/Calendar/src/com/android/calendar/
DCalendarSettingsActivity.java43 public void onBuildHeaders(List<Header> target) { in onBuildHeaders() argument
44 loadHeadersFromResource(R.xml.calendar_settings_headers, target); in onBuildHeaders()
60 target.add(1, accountHeader); in onBuildHeaders()
69 target.add(tardisHeader); in onBuildHeaders()
/packages/apps/Settings/src/com/android/settings/
DDataUsageSummary.java1351 public int findNearestPosition(CycleItem target) { in findNearestPosition() argument
1352 if (target != null) { in findNearestPosition()
1358 } else if (item.compareTo(target) >= 0) { in findNearestPosition()
1516 final DataUsageSummary target = (DataUsageSummary) getTargetFragment(); in onStart() local
1517 target.mAppDetailUids = getArguments().getIntArray(EXTRA_UIDS); in onStart()
1518 target.updateBody(); in onStart()
1524 final DataUsageSummary target = (DataUsageSummary) getTargetFragment(); in onStop() local
1525 target.mAppDetailUids = null; in onStop()
1526 target.updateBody(); in onStop()
1590 final DataUsageSummary target = (DataUsageSummary) getTargetFragment(); in onCreateDialog()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/
DWidgetUtils.java70 Bitmap target = Bitmap.createBitmap( in createWidgetBitmap() local
72 Canvas canvas = new Canvas(target); in createWidgetBitmap()
78 return target; in createWidgetBitmap()
/packages/wallpapers/NoiseField/
Ddefault.properties10 # Project target.
11 target=android-13 key
/packages/wallpapers/Galaxy4/
Ddefault.properties10 # Project target.
11 target=android-13 key
/packages/apps/VideoEditor/
Ddefault.properties10 # Project target.
11 target=android-11 key

1234