HomeSort by relevance Sort by last modified time
    Searched defs:mScale (Results 51 - 62 of 62) sorted by null

1 23

  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
TileImageView.java 113 protected float mScale;
188 layoutTiles(mCenterX, mCenterY, mScale, mRotation);
196 if (changeSize) layoutTiles(mCenterX, mCenterY, mScale, mRotation);
349 // Convert to view coordinates. mScale translates from bitmap units to
351 center.x = Math.round(viewW / 2f + distW * mScale);
352 center.y = Math.round(viewH / 2f + distH * mScale);
357 && mScale == scale && mRotation == rotation) return false;
360 mScale = scale;
401 layoutTiles(mCenterX, mCenterY, mScale, mRotation);
433 float length = size * mScale;
    [all...]
  /packages/apps/Gallery2/src/com/android/photos/views/
TiledImageRenderer.java 110 protected float mScale;
242 && mScale == scale) {
247 mScale = scale;
270 mLevel = Utils.clamp(Utils.floorLog2(1f / mScale), 0, mLevelCount);
277 getRange(range, mCenterX, mCenterY, mLevel, mScale, mRotation);
278 mOffsetX = Math.round(mViewWidth / 2f + (range.left - mCenterX) * mScale);
279 mOffsetY = Math.round(mViewHeight / 2f + (range.top - mCenterY) * mScale);
280 fromLevel = mScale * (1 << mLevel) > 0.75f ? mLevel - 1 : mLevel;
284 mOffsetX = Math.round(mViewWidth / 2f - mCenterX * mScale);
285 mOffsetY = Math.round(mViewHeight / 2f - mCenterY * mScale);
    [all...]
  /packages/apps/Launcher3/WallpaperPicker/src/com/android/photos/views/
TiledImageRenderer.java 110 protected float mScale;
242 && mScale == scale) {
247 mScale = scale;
270 mLevel = Utils.clamp(Utils.floorLog2(1f / mScale), 0, mLevelCount);
277 getRange(range, mCenterX, mCenterY, mLevel, mScale, mRotation);
278 mOffsetX = Math.round(mViewWidth / 2f + (range.left - mCenterX) * mScale);
279 mOffsetY = Math.round(mViewHeight / 2f + (range.top - mCenterY) * mScale);
280 fromLevel = mScale * (1 << mLevel) > 0.75f ? mLevel - 1 : mLevel;
284 mOffsetX = Math.round(mViewWidth / 2f - mCenterX * mScale);
285 mOffsetY = Math.round(mViewHeight / 2f - mCenterY * mScale);
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/browse/
ConversationContainer.java 112 private float mScale;
468 mScale = mWebView.getScale();
469 } else if (mScale == 0) {
470 mScale = mWebView.getInitialScale();
473 mScale);
781 return (int) (webPx * mScale);
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
RenderPreview.java 164 private double mScale = 1.0;
236 return mScale;
246 mScale = scale;
756 return (int) (mWidth * mScale * RenderPreviewManager.getScale());
765 return (int) (mHeight * mScale * RenderPreviewManager.getScale());
788 mScale = mScale * (1 / 0.5);
789 if (Math.abs(mScale-1.0) < 0.0001) {
790 mScale = 1.0;
801 mScale = mScale * (0.5 / 1)
    [all...]
  /packages/apps/Camera2/src/com/android/camera/ui/
FilmStripView.java 75 private float mScale;
678 mScale = 1.0f;
    [all...]
  /packages/apps/Calendar/src/com/android/calendar/
EventInfoFragment.java 313 private static float mScale = 0; // Used for supporting different screen densities
647 if (mScale == 0) {
648 mScale = context.getResources().getDisplayMetrics().density;
649 if (mScale != 1) {
650 mCustomAppIconSize *= mScale;
652 DIALOG_TOP_MARGIN *= mScale;
    [all...]
DayView.java 102 private static float mScale = 0; // Used for supporting different screen densities
695 if (mScale == 0) {
697 mScale = mResources.getDisplayMetrics().density;
698 if (mScale != 1) {
699 SINGLE_ALLDAY_HEIGHT *= mScale;
700 ALLDAY_TOP_MARGIN *= mScale;
701 MAX_HEIGHT_OF_ONE_ALLDAY_EVENT *= mScale;
703 NORMAL_FONT_SIZE *= mScale;
704 GRID_LINE_LEFT_MARGIN *= mScale;
705 HOURS_TOP_MARGIN *= mScale;
    [all...]
  /prebuilts/devtools/tools/lib/
uiautomatorviewer.jar 
hierarchyviewer2lib.jar 
traceview.jar 
sdkuilib.jar 

Completed in 317 milliseconds

1 23