/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
D | TiledTexture.java | 266 RectF src, float x0, float y0, float x, float y, float scaleX, in mapRect() argument 268 output.set(x + (src.left - x0) * scaleX, in mapRect() 270 x + (src.right - x0) * scaleX, in mapRect() 280 float scaleX = (float) width / mWidth; in drawMixed() local 287 mapRect(dest, src, 0, 0, x, y, scaleX, scaleY); in drawMixed() 299 float scaleX = (float) width / mWidth; in draw() local 306 mapRect(dest, src, 0, 0, x, y, scaleX, scaleY); in draw() 321 float scaleX = target.width() / source.width(); in draw() local 330 mapRect(dest, src, x0, y0, x, y, scaleX, scaleY); in draw()
|
/packages/apps/Settings/src/com/android/settings/biometrics/face/ |
D | FaceEnrollPreviewFragment.java | 312 float scaleX = (float) viewWidth / mPreviewSize.getWidth(); in configureTransform() local 316 float smaller = Math.min(scaleX, scaleY); in configureTransform() 317 scaleX = scaleX / smaller; in configureTransform() 330 transform.setScale(scaleX * scale.getFloat(), scaleY * scale.getFloat()); in configureTransform()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/biometrics/face/ |
D | FaceEnrollPreviewFragment.java | 311 float scaleX = (float) viewWidth / mPreviewSize.getWidth(); in configureTransform() local 315 float smaller = Math.min(scaleX, scaleY); in configureTransform() 316 scaleX = scaleX / smaller; in configureTransform() 325 mTextureView.setScaleX(scaleX * scale.getFloat()); in configureTransform()
|
/packages/apps/Dialer/java/com/android/incallui/answer/impl/hint/ |
D | PawAnswerHint.java | 218 Animator scaleX = ObjectAnimator.ofFloat(target, View.SCALE_X, scaleBegin, scaleEnd); in createUniformScaleAnimator() local 220 scaleX.setDuration(duration); in createUniformScaleAnimator() 222 scaleX.setInterpolator(interpolator); in createUniformScaleAnimator() 225 set.play(scaleX).with(scaleY).after(delay); in createUniformScaleAnimator()
|
D | DotAnswerHint.java | 266 Animator scaleX = ObjectAnimator.ofFloat(target, View.SCALE_X, scaleBegin, scaleEnd); in createUniformScaleAnimator() local 268 scaleX.setDuration(duration); in createUniformScaleAnimator() 270 scaleX.setInterpolator(interpolator); in createUniformScaleAnimator() 273 set.play(scaleX).with(scaleY).after(delay); in createUniformScaleAnimator()
|
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/exif/ |
D | ExifInterface.java | 290 int scaleX = 1; field in ExifInterface.OrientationParams 299 params.scaleX = -1; in getOrientationParams() 317 params.scaleX = -1; in getOrientationParams() 322 params.scaleX = -1; in getOrientationParams()
|
/packages/apps/Camera2/src/com/android/camera/ |
D | AnimationManager.java | 52 float scaleX = ((float) parentView.getWidth()) / ((float) view.getWidth()); in startCaptureAnimation() local 54 float scale = scaleX > scaleY ? scaleX : scaleY; in startCaptureAnimation()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/qrcode/ |
D | QrCamera.java | 328 float scaleX = 1.0f; in setTransformationMatrix() local 331 scaleY = scaleX / ratioPreview; in setTransformationMatrix() 333 scaleX = scaleY / ratioPreview; in setTransformationMatrix() 338 matrix.setScale(scaleX, scaleY); in setTransformationMatrix()
|
/packages/apps/Settings/src/com/android/settings/wifi/qrcode/ |
D | QrCamera.java | 353 float scaleX = 1.0f; in setTransformationMatrix() local 356 scaleY = scaleX / ratioPreview; in setTransformationMatrix() 358 scaleX = scaleY / ratioPreview; in setTransformationMatrix() 363 matrix.setScale(scaleX, scaleY); in setTransformationMatrix()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | ShortcutAndWidgetContainer.java | 163 float scaleX = profile.appWidgetScale.x; in layoutChild() local 166 lahv.setScaleToFit(Math.min(scaleX, scaleY)); in layoutChild() 167 lahv.setTranslationForCentering(-(lp.width - (lp.width * scaleX)) / 2.0f, in layoutChild()
|
D | PagedView.java | 1752 float scaleX = getScaleX(); 1753 if (scaleX < 1 && scaleX > 0) { 1755 visibleLeft = mid - ((mid - visibleLeft) / scaleX); 1756 visibleRight = mid + ((visibleRight - mid) / scaleX);
|
D | Utilities.java | 310 public static float shrinkRect(Rect r, float scaleX, float scaleY) { in shrinkRect() argument 311 float scale = Math.min(Math.min(scaleX, scaleY), 1.0f); in shrinkRect() 313 int deltaX = (int) (r.width() * (scaleX - scale) * 0.5f); in shrinkRect()
|
/packages/apps/Launcher3/src/com/android/launcher3/anim/ |
D | PropertyListBuilder.java | 26 public PropertyListBuilder scaleX(float value) { in scaleX() method in PropertyListBuilder 40 return scaleX(value).scaleY(value); in scale()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/ |
D | SuggestionStripLayoutHelper.java | 442 final float scaleX = wordView.getTextScaleX(); in layoutWord() local 444 wordView.setTextScaleX(scaleX); in layoutWord() 585 final float scaleX = getTextScaleX(text, maxWidth, paint); in getEllipsizedTextWithSettingScaleX() local 586 if (scaleX >= MIN_TEXT_XSCALE) { in getEllipsizedTextWithSettingScaleX() 587 paint.setTextScaleX(scaleX); in getEllipsizedTextWithSettingScaleX()
|
/packages/apps/Dialer/java/com/android/dialer/speeddial/ |
D | SpeedDialAdapter.java | 282 .scaleX(IN_REMOVE_VIEW_SCALE) 295 .scaleX(1) 314 .scaleX(0)
|
/packages/apps/Dialer/java/com/android/incallui/videosurface/impl/ |
D | VideoScale.java | 54 float scaleX = scaleWidth; in scaleVideoAndFillView() local 57 scaleHeight = viewWidth / viewHeight * scaleX; in scaleVideoAndFillView()
|
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
D | DragLayer.java | 234 float scaleX, float scaleY, int animationEndStyle, Runnable onFinishRunnable, in animateViewIntoPosition() argument 241 animateViewIntoPosition(dragView, fromX, fromY, pos[0], pos[1], alpha, 1, 1, scaleX, scaleY, in animateViewIntoPosition() 384 float scaleX = finalScaleX * percent + initialScaleX * (1 - percent); in animateView() 402 mDropView.setScaleX(scaleX); in animateView()
|
/packages/apps/Browser2/src/org/chromium/webview_shell/ |
D | WebViewAnimationTestActivity.java | 134 mWebView.animate().scaleX(.5f).scaleY(.5f); in runScale() 136 mWebView.animate().scaleX(1f).scaleY(1f); in runScale()
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | MultiAttachmentLayout.java | 377 final float scaleX = viewWrapper.prevWidth / (float) view.getWidth(); in trySlideAttachmentView() local 380 if (xOffset == 0 && yOffset == 0 && scaleX == 1 && scaleY == 1) { in trySlideAttachmentView() 388 animationSet.addAnimation(new ScaleAnimation(scaleX, 1, scaleY, 1)); in trySlideAttachmentView()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | GalleryActivity.java | 263 float scaleX = decor.getWidth() / maxX; in onGenericMotionEvent() local 265 float x = event.getX() * scaleX; in onGenericMotionEvent()
|
/packages/apps/WallpaperPicker/src/com/android/photos/views/ |
D | TiledImageRenderer.java | 624 float scaleX = (float) mPreview.getWidth() / mImageWidth; in drawTile() local 626 source.set(tx * scaleX, ty * scaleY, (tx + size) * scaleX, in drawTile()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | MainKeyboardView.java | 834 final float scaleX = maxTextWidth / textWidth; in fitsTextIntoWidth() local 835 if (scaleX < MINIMUM_XSCALE_OF_LANGUAGE_NAME) { in fitsTextIntoWidth() 839 paint.setTextScaleX(scaleX); in fitsTextIntoWidth()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | TileImageView.java | 615 float scaleX = (float) mScreenNail.getWidth() / mImageWidth; in drawTile() local 617 source.set(tx * scaleX, ty * scaleY, (tx + size) * scaleX, in drawTile()
|
/packages/apps/Gallery2/src/com/android/photos/views/ |
D | TiledImageRenderer.java | 624 float scaleX = (float) mPreview.getWidth() / mImageWidth; in drawTile() local 626 source.set(tx * scaleX, ty * scaleY, (tx + size) * scaleX, in drawTile()
|
/packages/inputmethods/LeanbackIME/src/com/android/inputmethod/leanback/ |
D | LeanbackKeyboardView.java | 461 mCurrentFocusView.animate().scaleX(1f).scaleY(1f) in setFocus() 471 mCurrentFocusView.animate().scaleX(scale).scaleY(scale) in setFocus()
|