/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
D | GLES11Canvas.java | 387 public void drawTexture(BasicTexture texture, RectF source, RectF target) { in drawTexture() argument 388 if (target.width() <= 0 || target.height() <= 0) return; in drawTexture() 392 mDrawTextureTargetRect.set(target); in drawTexture() 394 target = mDrawTextureTargetRect; in drawTexture() 399 convertCoordinate(source, target, texture); in drawTexture() 402 textureRect(target.left, target.top, target.width(), target.height()); in drawTexture() 419 private static void convertCoordinate(RectF source, RectF target, in convertCoordinate() argument 435 target.right = target.left + target.width() * in convertCoordinate() 441 target.bottom = target.top + target.height() * in convertCoordinate() 455 int target = texture.getTarget(); in bindTexture() local [all …]
|
D | GLES20Canvas.java | 607 public void drawTexture(BasicTexture texture, RectF source, RectF target) { in drawTexture() argument 608 if (target.width() <= 0 || target.height() <= 0) { in drawTexture() 612 mTempTargetRect.set(target); in drawTexture() 628 private void drawTextureRect(BasicTexture texture, RectF source, RectF target) { in drawTextureRect() argument 630 drawTextureRect(texture, mTempTextureMatrix, target); in drawTextureRect() 643 private static void convertCoordinate(RectF source, RectF target, BasicTexture texture) { in convertCoordinate() argument 657 target.right = target.left + target.width() * (xBound - source.left) / source.width(); in convertCoordinate() 662 target.bottom = target.top + target.height() * (yBound - source.top) / source.height(); in convertCoordinate() 667 private void drawTextureRect(BasicTexture texture, float[] textureMatrix, RectF target) { in drawTextureRect() argument 674 translate(0, target.centerY()); in drawTextureRect() [all …]
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
D | PhotoTouchListener.java | 67 private float getAngle(View target, MotionEvent ev) { in getAngle() argument 79 private void resetTouch(View target) { in resetTouch() argument 83 mInitialTargetX = (float) target.getX(); in resetTouch() 84 mInitialTargetY = (float) target.getY(); in resetTouch() 85 mInitialTargetA = (float) target.getRotation(); in resetTouch() 88 public void onFling(View target, float dX, float dY) { in onFling() argument 118 mTable.fling(target, x1 - x0, y1 - y0, (int) (1000f * n / 60f), false); in onFling() 122 public boolean onTouch(View target, MotionEvent ev) { in onTouch() argument 130 target.getMatrix().mapPoints(pts); in onTouch() 134 mTable.moveToTopOfPile(target); in onTouch() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | WeakAsyncTask.java | 27 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/UnifiedEmail/src/com/android/mail/ui/ |
D | AbstractActivityController.java | 1543 final Collection<Conversation> target = Conversation.listOf(mCurrentConversation); 1554 if (target.size() > 0 && 1559 confirmAndDelete(id, target, showDialog, R.plurals.confirm_archive_conversation, 1562 delete(R.id.remove_folder, target, 1563 getDeferredRemoveFolder(target, mFolder, true, isBatch, true, undoCallback), 1567 confirmAndDelete(id, target, showDialog, R.plurals.confirm_delete_conversation, 1571 confirmAndDelete(id, target, true /* showDialog */, 1575 delete(id, target, getDeferredAction(id, target, isBatch, undoCallback), isBatch); 1581 delete(R.id.mark_not_important, target, 1582 … getDeferredAction(R.id.mark_not_important, target, isBatch, undoCallback), [all …]
|
D | ConversationUpdater.java | 48 void updateConversation(Collection <Conversation> target, String columnName, String value); in updateConversation() argument 58 void updateConversation(Collection <Conversation> target, String columnName, int value); in updateConversation() argument 68 void updateConversation(Collection <Conversation> target, String columnName, boolean value); in updateConversation() argument 78 void updateConversation(Collection <Conversation> target, ContentValues values); in updateConversation() argument 88 int actionId, final Collection<Conversation> target, final DestructiveAction action, in delete() argument 156 public DestructiveAction getDeferredRemoveFolder(Collection<Conversation> target, in getDeferredRemoveFolder() argument 170 public void assignFolder(Collection<FolderOperation> folders, Collection<Conversation> target, in assignFolder() argument
|
/packages/apps/Email/ |
D | CleanSpec.mk | 50 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/com.android.email*) 51 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/Email*) 52 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/com.android.email*) 53 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/Email*) 54 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/com.android.email*) 55 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/Email*) 56 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/com.android.email*) 57 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/Email*) 58 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/com.android.email*) 59 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/Email*) [all …]
|
/packages/apps/Dialer/ |
D | Android.mk | 281 dialer-commons-io-target \ 282 dialer-dagger2-target \ 283 dialer-disklrucache-target \ 284 dialer-gifdecoder-target \ 285 dialer-glide-target \ 286 dialer-grpc-all-target \ 287 dialer-grpc-context-target \ 288 dialer-grpc-core-target \ 289 dialer-grpc-okhttp-target \ 290 dialer-grpc-protobuf-lite-target \ [all …]
|
/packages/services/Car/ |
D | CleanSpec.mk | 48 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/android.car*) 49 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/PACKAGING/android.car*) 50 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/android.support.car*) 51 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/PACKAGING/android.support.car*) 52 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/android.car7_intermediate… 53 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/android.car_intermediates… 54 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/android.car7_intermediate… 55 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/android.car_intermediates… 57 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/android.car_intermediates… 58 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/android.car7_intermediate… [all …]
|
/packages/apps/Dialer/java/com/android/incallui/answer/impl/answermethod/ |
D | FlingUpDownTouchHandler.java | 131 @NonNull View target, in attach() 134 FlingUpDownTouchHandler handler = new FlingUpDownTouchHandler(target, listener, falsingManager); in attach() 135 target.setOnTouchListener(handler); in attach() 139 @NonNull private final View target; field in FlingUpDownTouchHandler 173 @NonNull View target, in FlingUpDownTouchHandler() 176 this.target = target; in FlingUpDownTouchHandler() 178 Context context = target.getContext(); in FlingUpDownTouchHandler() 317 int target = forceRecenter ? FlingTarget.CENTER : getFlingTarget(pointerY, vectorVel); in endMotionEvent() local 319 fling(vel, target, falseTouch); in endMotionEvent() 394 private void fling(float velocity, @FlingTarget int target, boolean centerBecauseOfFalsing) { in fling() argument [all …]
|
/packages/apps/WallpaperPicker/src/com/android/gallery3d/glrenderer/ |
D | GLES20Canvas.java | 351 public void drawTexture(BasicTexture texture, RectF source, RectF target) { in drawTexture() argument 352 if (target.width() <= 0 || target.height() <= 0) { in drawTexture() 356 mTempTargetRect.set(target); in drawTexture() 362 private void drawTextureRect(BasicTexture texture, RectF source, RectF target) { in drawTextureRect() argument 364 drawTextureRect(texture, mTempTextureMatrix, target); in drawTextureRect() 377 private static void convertCoordinate(RectF source, RectF target, BasicTexture texture) { in convertCoordinate() argument 391 target.right = target.left + target.width() * (xBound - source.left) / source.width(); in convertCoordinate() 396 target.bottom = target.top + target.height() * (yBound - source.top) / source.height(); in convertCoordinate() 401 private void drawTextureRect(BasicTexture texture, float[] textureMatrix, RectF target) { in drawTextureRect() argument 406 draw(params, GLES20.GL_TRIANGLE_STRIP, COUNT_FILL_VERTEX, target.left, target.top, in drawTextureRect() [all …]
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | HanziToPinyin.java | 53 public Token(int type, String source, String target) { in Token() argument 56 this.target = target; in Token() 71 public String target; field in HanziToPinyin.Token 104 token.target = token.source; in tokenize() 111 token.target = mAsciiTransliterator == null ? token.source : in tokenize() 117 token.target = mPinyinTransliterator.transliterate(token.source); in tokenize() 118 if (TextUtils.isEmpty(token.target) || in tokenize() 119 TextUtils.equals(token.source, token.target)) { in tokenize() 121 token.target = token.source; in tokenize() 171 sb.append(token.target); in getTokens()
|
/packages/apps/Dialer/java/com/android/dialer/app/settings/ |
D | DialerSettingsActivity.java | 71 public void onBuildHeaders(List<Header> target) { in onBuildHeaders() argument 76 target.add(displayOptionsHeader); in onBuildHeaders() 83 target.add(soundSettingsHeader); in onBuildHeaders() 90 target.add(quickResponseSettingsHeader); in onBuildHeaders() 107 target.add(callSettingsHeader); in onBuildHeaders() 115 target.add(phoneAccountSettingsHeader); in onBuildHeaders() 121 target.add(blockedCallsHeader); in onBuildHeaders() 125 addVoicemailSettings(target, isPrimaryUser); in onBuildHeaders() 135 target.add(accessibilitySettingsHeader); in onBuildHeaders() 141 target.add(aboutPhoneHeader); in onBuildHeaders() [all …]
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/ |
D | TouchTargetEnforcer.java | 68 public void enforce(View target, View ancestor) { in enforce() argument 69 target.getViewTreeObserver().addOnGlobalLayoutListener( // avoids some subtle bugs in enforce() 72 int deltaHeight = Math.max(0, minTargetPx - target.getHeight()); in enforce() 73 int deltaWidth = Math.max(0, minTargetPx - target.getWidth()); in enforce() 79 Rect bounds = createNewBounds(target, minTargetPx, deltaWidth, deltaHeight); in enforce() 84 mTouchDelegateProvider.getInstance(bounds, target)); in enforce() 88 ancestor, target)); in enforce() 93 ancestor, target)); in enforce() 100 private Rect createNewBounds(View target, int minTargetPx, int deltaWidth, int deltaHeight) { in createNewBounds() argument 105 target.getHitRect(result); in createNewBounds()
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
D | AppDataUsagePreference.java | 81 AppDataUsagePreference target) { in UidDetailTask() argument 84 mTarget = checkNotNull(target); in UidDetailTask() 88 AppDataUsagePreference target) { in bindView() argument 91 bindView(cachedDetail, target); in bindView() 93 new UidDetailTask(provider, item, target).execute(); in bindView() 97 private static void bindView(UidDetail detail, Preference target) { in bindView() argument 99 target.setIcon(detail.icon); in bindView() 100 target.setTitle(detail.label); in bindView() 102 target.setIcon(null); in bindView() 103 target.setTitle(null); in bindView()
|
D | BillingCycleSettings.java | 250 final DataUsageEditController target = (DataUsageEditController) getTargetFragment(); in setupPicker() local 251 final NetworkPolicyEditor editor = target.getNetworkPolicyEditor(); in setupPicker() 295 final DataUsageEditController target = (DataUsageEditController) getTargetFragment(); in onClick() local 296 final NetworkPolicyEditor editor = target.getNetworkPolicyEditor(); in onClick() 317 target.updateDataUsage(); in onClick() 354 final DataUsageEditController target = (DataUsageEditController) getTargetFragment(); in onCreateDialog() local 355 final NetworkPolicyEditor editor = target.getNetworkPolicyEditor(); in onCreateDialog() 380 final DataUsageEditController target = (DataUsageEditController) getTargetFragment(); in onClick() local 381 final NetworkPolicyEditor editor = target.getNetworkPolicyEditor(); in onClick() 389 target.updateDataUsage(); in onClick() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | LauncherAnimUtils.java | 103 public static ObjectAnimator ofFloat(View target, Property<View, Float> property, in ofFloat() argument 105 ObjectAnimator anim = ObjectAnimator.ofFloat(target, property, values); in ofFloat() 107 new FirstFrameAnimatorHelper(anim, target); in ofFloat() 111 public static ObjectAnimator ofViewAlphaAndScale(View target, in ofViewAlphaAndScale() argument 113 return ofPropertyValuesHolder(target, in ofViewAlphaAndScale() 119 public static ObjectAnimator ofPropertyValuesHolder(View target, in ofPropertyValuesHolder() argument 121 return ofPropertyValuesHolder(target, target, values); in ofPropertyValuesHolder() 124 public static ObjectAnimator ofPropertyValuesHolder(Object target, in ofPropertyValuesHolder() argument 126 ObjectAnimator anim = ObjectAnimator.ofPropertyValuesHolder(target, values); in ofPropertyValuesHolder()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | KeyPreviewDrawParams.java | 148 public Animator createShowUpAnimator(final View target) { in createShowUpAnimator() argument 151 target, View.SCALE_X, mShowUpStartXScale, in createShowUpAnimator() 154 target, View.SCALE_Y, mShowUpStartYScale, in createShowUpAnimator() 163 target.getContext(), mShowUpAnimatorResId); in createShowUpAnimator() 164 animator.setTarget(target); in createShowUpAnimator() 169 public Animator createDismissAnimator(final View target) { in createDismissAnimator() argument 172 target, View.SCALE_X, mDismissEndXScale); in createDismissAnimator() 174 target, View.SCALE_Y, mDismissEndYScale); in createDismissAnimator() 183 target.getContext(), mDismissAnimatorResId); in createDismissAnimator() 184 animator.setTarget(target); in createDismissAnimator()
|
/packages/apps/Dialer/java/com/android/incallui/answer/impl/hint/ |
D | PawAnswerHint.java | 143 private static Animator createFadeInScaleAndAlpha(View target) { in createFadeInScaleAndAlpha() argument 146 target, in createFadeInScaleAndAlpha() 154 target, in createFadeInScaleAndAlpha() 171 private static Animator createFadeOutScaleAndAlpha(View target, long scaleDelay) { in createFadeOutScaleAndAlpha() argument 174 target, in createFadeOutScaleAndAlpha() 182 target, in createFadeOutScaleAndAlpha() 212 View target, in createUniformScaleAnimator() argument 218 Animator scaleX = ObjectAnimator.ofFloat(target, View.SCALE_X, scaleBegin, scaleEnd); in createUniformScaleAnimator() 219 Animator scaleY = ObjectAnimator.ofFloat(target, View.SCALE_Y, scaleBegin, scaleEnd); in createUniformScaleAnimator() 230 View target, float begin, float end, long duration, long delay, Interpolator interpolator) { in createAlphaAnimator() argument [all …]
|
D | DotAnswerHint.java | 161 View target, @DimenRes int beginSize, @DimenRes int endSize, float endAlpha) { in createFadeInScaleAndAlpha() argument 164 target, in createFadeInScaleAndAlpha() 173 target, in createFadeInScaleAndAlpha() 211 View target, in createFadeOutScaleAndAlpha() argument 218 target, in createFadeOutScaleAndAlpha() 227 target, in createFadeOutScaleAndAlpha() 257 View target, in createUniformScaleAnimator() argument 266 Animator scaleX = ObjectAnimator.ofFloat(target, View.SCALE_X, scaleBegin, scaleEnd); in createUniformScaleAnimator() 267 Animator scaleY = ObjectAnimator.ofFloat(target, View.SCALE_Y, scaleBegin, scaleEnd); in createUniformScaleAnimator() 278 View target, float begin, float end, long duration, long delay, Interpolator interpolator) { in createAlphaAnimator() argument [all …]
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | EditorAnimator.java | 92 public void slideAndFadeIn(final ViewGroup target, final int previousHeight) { in slideAndFadeIn() argument 94 target.setVisibility(View.VISIBLE); in slideAndFadeIn() 95 target.setAlpha(0.0f); in slideAndFadeIn() 96 SchedulingUtils.doAfterLayout(target, new Runnable() { in slideAndFadeIn() 99 final int offset = target.getHeight() - previousHeight; in slideAndFadeIn() 103 final List<View> viewsToMove = getViewsBelowOf(target); in slideAndFadeIn() 109 target, View.ALPHA, 0.0f, 1.0f); in slideAndFadeIn() 231 int index, View target) { in getViewsBelowOfRecursive() argument 237 if (view.getY() > (target.getY() + target.getHeight() / 2)) { in getViewsBelowOfRecursive() 246 getViewsBelowOfRecursive(result, parentLayout, containerIndex + 1, target); in getViewsBelowOfRecursive()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | LauncherAnimUtils.java | 93 public static ValueAnimator ofFloat(View target, float... values) { in ofFloat() argument 100 public static ObjectAnimator ofFloat(View target, String propertyName, float... values) { in ofFloat() argument 102 anim.setTarget(target); in ofFloat() 106 new FirstFrameAnimatorHelper(anim, target); in ofFloat() 110 public static ObjectAnimator ofPropertyValuesHolder(View target, in ofPropertyValuesHolder() argument 113 anim.setTarget(target); in ofPropertyValuesHolder() 116 new FirstFrameAnimatorHelper(anim, target); in ofPropertyValuesHolder() 120 public static ObjectAnimator ofPropertyValuesHolder(Object target, in ofPropertyValuesHolder() argument 123 anim.setTarget(target); in ofPropertyValuesHolder()
|
D | DragController.java | 695 DropTarget target = dropTargets.get(i); 696 if (!target.isDropEnabled()) 699 target.getHitRect(r); 702 target.getLocationInDragLayer(dropCoordinates); 703 r.offset(dropCoordinates[0] - target.getLeft(), dropCoordinates[1] - target.getTop()); 708 DropTarget delegate = target.getDropTargetDelegate(mDragObject); 710 target = delegate; 711 target.getLocationInDragLayer(dropCoordinates); 718 return target; 749 public void addDropTarget(DropTarget target) { [all …]
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ |
D | TrampolineActivity.java | 36 Intent target = (Intent) getIntent().getParcelableExtra(EXTRA_INTENT); in onCreate() local 37 if (target != null) { in onCreate() 40 startActivityForResult(target, 0); in onCreate() 45 public static void startActivity(Context context, Intent target) { in startActivity() argument 46 context.startActivity(createIntent(context, target)); in startActivity() 49 public static Intent createIntent(Context context, Intent target) { in createIntent() argument 51 intent.putExtra(EXTRA_INTENT, target); in createIntent()
|
/packages/services/BuiltInPrintService/src/com/android/bips/util/ |
D | FileUtils.java | 33 public static void deleteAll(File target) { in deleteAll() argument 34 if (DEBUG) Log.d(TAG, "Deleting " + target); in deleteAll() 35 if (target.isDirectory()) { in deleteAll() 36 for (File child : target.listFiles()) { in deleteAll() 40 target.delete(); in deleteAll() 44 public static void copy(InputStream source, OutputStream target) throws IOException { in copy() argument 45 try (InputStream in = source; OutputStream out = target) { in copy()
|