Home
last modified time | relevance | path

Searched refs:mScale (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Launcher2/src/com/android/launcher2/
DDragView.java48 private float mScale; field in DragView
75 scaleFactor = mScale = (scaleFactor + DRAG_SCALE) / scaleFactor; in DragView()
116 mAnimationScale = (1.0f+((mScale-1.0f)*value))/mScale; in onTweenValueChanged()
161 mAnimationScale = 1.0f/mScale; in show()
DWorkspace.java504 float scale = mScale; in dispatchDraw()
557 private float mScale = 1.0f; field in Workspace
559 mScale = scale; in setScale()
/packages/apps/Gallery/src/com/android/camera/
DCropImage.java75 private boolean mScale; field in CropImage
126 mScale = extras.getBoolean("scale", true); in onCreate()
227 if (mOutputX != 0 && mOutputY != 0 && !mScale) { in onSaveClicked()
288 if (mOutputX != 0 && mOutputY != 0 && mScale) { in onSaveClicked()
418 float mScale = 1F;
427 int r = ((int) (f.eyesDistance() * mScale)) * 2;
429 midPoint.x *= mScale;
430 midPoint.y *= mScale;
506 mScale = 256.0F / mBitmap.getWidth();
509 matrix.setScale(mScale, mScale);
[all …]
/packages/apps/Camera/src/com/android/camera/
DCropImage.java73 private boolean mScale; field in CropImage
124 mScale = extras.getBoolean("scale", true); in onCreate()
225 if (mOutputX != 0 && mOutputY != 0 && !mScale) { in onSaveClicked()
286 if (mOutputX != 0 && mOutputY != 0 && mScale) { in onSaveClicked()
416 float mScale = 1F;
425 int r = ((int) (f.eyesDistance() * mScale)) * 2;
427 midPoint.x *= mScale;
428 midPoint.y *= mScale;
504 mScale = 256.0F / mBitmap.getWidth();
507 matrix.setScale(mScale, mScale);
[all …]
/packages/apps/Calendar/src/com/android/calendar/
DMonthView.java63 private static float mScale = 0; // Used for supporting different screen densities field in MonthView
200 if (mScale == 0) { in MonthView()
201 mScale = getContext().getResources().getDisplayMetrics().density; in MonthView()
202 if (mScale != 1) { in MonthView()
203 WEEK_GAP *= mScale; in MonthView()
204 MONTH_DAY_GAP *= mScale; in MonthView()
205 HOUR_GAP *= mScale; in MonthView()
207 MONTH_DAY_TEXT_SIZE *= mScale; in MonthView()
208 WEEK_BANNER_HEIGHT *= mScale; in MonthView()
209 WEEK_TEXT_SIZE *= mScale; in MonthView()
[all …]
DCalendarView.java77 private static float mScale = 0; // Used for supporting different screen densities field in CalendarView
316 if (mScale == 0) { in CalendarView()
317 mScale = getContext().getResources().getDisplayMetrics().density; in CalendarView()
318 if (mScale != 1) { in CalendarView()
319 SINGLE_ALLDAY_HEIGHT *= mScale; in CalendarView()
320 MAX_ALLDAY_HEIGHT *= mScale; in CalendarView()
321 ALLDAY_TOP_MARGIN *= mScale; in CalendarView()
322 MAX_ALLDAY_EVENT_HEIGHT *= mScale; in CalendarView()
324 NORMAL_FONT_SIZE *= mScale; in CalendarView()
325 EVENT_TEXT_FONT_SIZE *= mScale; in CalendarView()
[all …]
/packages/apps/Settings/src/com/android/settings/
DBatteryInfo.java41 private TextView mScale; field in BatteryInfo
87 mScale.setText("" + intent.getIntExtra("scale", 0));
172 mScale = (TextView)findViewById(R.id.scale); in onResume()
/packages/apps/Browser/src/com/android/browser/
DTabControl.java164 float mScale; field in TabControl.PickerData
1197 data.mScale = state.getFloat("scale", 1.0f); in populatePickerDataFromSavedState()
1220 data.mScale = w.getScale(); in populatePickerData()