Home
last modified time | relevance | path

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

12345

/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/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 …]
DImageViewDrawableSetter.java48 public ImageViewDrawableSetter(ImageView target) { in ImageViewDrawableSetter() argument
49 mTarget = target; in ImageViewDrawableSetter()
70 protected void setTarget(ImageView target) { in setTarget() argument
71 if (mTarget != target) { in setTarget()
72 mTarget = target; in setTarget()
/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 …]
DGLMock.java145 public void glBindTexture(int target, int texture) { in glBindTexture() argument
146 if (target == GL11.GL_TEXTURE_2D) { in glBindTexture()
152 public void glTexEnvf(int target, int pname, float param) { in glTexEnvf() argument
153 if (target == GL11.GL_TEXTURE_ENV) { in glTexEnvf()
/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/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)
50 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/Launcher2_intermediates)
51 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/Launcher2_intermediates)
/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/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/apps/Email/src/com/android/email/activity/setup/
DAccountCheckSettingsFragment.java292 Fragment target = getTargetFragment(); in getCallbackTarget() local
293 if (target instanceof Callbacks) { in getCallbackTarget()
294 return (Callbacks) target; in getCallbackTarget()
732 final AccountCheckSettingsFragment target = in onCreateDialog() local
744 target.onCheckingDialogCancel(); in onCreateDialog()
756 AccountCheckSettingsFragment target = in onCancel() local
758 target.onCheckingDialogCancel(); in onCancel()
807 public static ErrorDialog newInstance(Context context, AccountCheckSettingsFragment target, in newInstance() argument
814 fragment.setTargetFragment(target, 0); in newInstance()
824 final AccountCheckSettingsFragment target = in onCreateDialog() local
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DGLCanvasImpl.java371 public void drawTexture(BasicTexture texture, RectF source, RectF target) { in drawTexture() argument
372 if (target.width() <= 0 || target.height() <= 0) return; in drawTexture()
376 mDrawTextureTargetRect.set(target); in drawTexture()
378 target = mDrawTextureTargetRect; in drawTexture()
383 convertCoordinate(source, target, texture); in drawTexture()
386 textureRect(target.left, target.top, target.width(), target.height()); in drawTexture()
402 private void convertCoordinate(RectF source, RectF target, in convertCoordinate() argument
418 target.right = target.left + target.width() * in convertCoordinate()
424 target.bottom = target.top + target.height() * in convertCoordinate()
437 int target = texture.getTarget(); in bindTexture() local
[all …]
/packages/apps/Launcher2/src/com/android/launcher2/
DDragController.java683 DropTarget target = dropTargets.get(i);
684 if (!target.isDropEnabled())
687 target.getHitRect(r);
690 target.getLocationInDragLayer(dropCoordinates);
691 r.offset(dropCoordinates[0] - target.getLeft(), dropCoordinates[1] - target.getTop());
696 DropTarget delegate = target.getDropTargetDelegate(mDragObject);
698 target = delegate;
699 target.getLocationInDragLayer(dropCoordinates);
706 return target;
737 public void addDropTarget(DropTarget target) {
[all …]
/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/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/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/Settings/src/com/android/settings/
DDataUsageSummary.java1393 public int findNearestPosition(CycleItem target) { in findNearestPosition() argument
1394 if (target != null) { in findNearestPosition()
1400 } else if (item.compareTo(target) >= 0) { in findNearestPosition()
1602 final DataUsageSummary target = (DataUsageSummary) getTargetFragment(); in onStart() local
1603 target.mCurrentApp = getArguments().getParcelable(EXTRA_APP); in onStart()
1604 target.updateBody(); in onStart()
1610 final DataUsageSummary target = (DataUsageSummary) getTargetFragment(); in onStop() local
1611 target.mCurrentApp = null; in onStop()
1612 target.updateBody(); in onStop()
1672 final DataUsageSummary target = (DataUsageSummary) getTargetFragment(); in onCreateDialog()
[all …]
DSettings.java376 private void updateHeaderList(List<Header> target) { in updateHeaderList() argument
378 while (i < target.size()) { in updateHeaderList()
379 Header header = target.get(i); in updateHeaderList()
384 target.remove(header); in updateHeaderList()
386 Utils.updateHeaderToSpecificActivityFromMetaDataOrRemove(this, target, header); in updateHeaderList()
390 target.remove(header); in updateHeaderList()
395 target.remove(header); in updateHeaderList()
403 target.remove(header); in updateHeaderList()
410 i = insertAccountsHeaders(target, headerIndex); in updateHeaderList()
416 target.remove(header); in updateHeaderList()
[all …]
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DFloatingChildLayout.java135 final Rect target = new Rect(mTargetScreen); in getTargetInWindow() local
136 target.offset(-windowScreen.left, -windowScreen.top); in getTargetInWindow()
137 return target; in getTargetInWindow()
144 final Rect target = getTargetInWindow(); in onLayout() local
156 final int childLeft = target.centerX() - (childWidth / 2); in onLayout()
158 final int childTop = target.centerY() - Math.round(childHeight * 0.35f); in onLayout()
/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/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DBitmapUtils.java122 Bitmap target = Bitmap.createBitmap(width, height, getConfig(bitmap)); in resizeBitmapByScale()
123 Canvas canvas = new Canvas(target); in resizeBitmapByScale()
128 return target; in resizeBitmapByScale()
158 Bitmap target = Bitmap.createBitmap(size, size, getConfig(bitmap)); in resizeAndCropCenter() local
161 Canvas canvas = new Canvas(target); in resizeAndCropCenter()
167 return target; in resizeAndCropCenter()
/packages/apps/LegacyCamera/
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/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/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/Gallery2/
DCleanSpec.mk47 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/Camera*)
49 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/Gallery*)
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DHanziToPinyinTest.java46 assertTrue(tokens.get(0).target.equalsIgnoreCase("DU")); in testGetToken()
52 assertTrue(tokens.get(0).target.equalsIgnoreCase("DU")); in testGetToken()
53 assertTrue(tokens.get(1).target.equalsIgnoreCase("JUAN")); in testGetToken()

12345