HomeSort by relevance Sort by last modified time
    Searched refs:mDensity (Results 1 - 25 of 32) sorted by null

1 2

  /packages/apps/UnifiedEmail/src/com/android/mail/utils/
InputSmoother.java 38 private final float mDensity;
46 mDensity = context.getResources().getDisplayMetrics().density;
95 final float distanceDp = totalDistancePx / mDensity;
  /frameworks/base/graphics/java/android/graphics/
NinePatch.java 168 paint != null ? paint.mNativePaint : 0, canvas.mDensity, mBitmap.mDensity);
173 paint != null ? paint.mNativePaint : 0, canvas.mDensity, mBitmap.mDensity);
181 return mBitmap.mDensity;
Bitmap.java 78 int mDensity = getDefaultDensity();
126 mDensity = density;
162 return mDensity;
179 mDensity = density;
559 b.mDensity = mDensity;
734 bitmap.mDensity = source.mDensity;
812 bm.mDensity = display.densityDpi;
    [all...]
Canvas.java 54 protected int mDensity = Bitmap.DENSITY_NONE;
143 mDensity = bitmap.mDensity;
153 mDensity = Bitmap.getDefaultDensity();
223 mDensity = Bitmap.DENSITY_NONE;
231 mDensity = bitmap.mDensity;
283 return mDensity;
302 mDensity = density;
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
ButteryProgressBar.java 39 private final float mDensity;
69 mDensity = c.getResources().getDisplayMetrics().density;
77 Math.round(DEFAULT_BAR_HEIGHT_DP * mDensity));
80 Math.round(DEFAULT_DETENT_WIDTH_DP * mDensity));
111 final float widthMultiplier = w / mDensity / BASE_WIDTH_DP;
ConversationListView.java 80 private float mDensity;
130 mDensity = displayMetrics.density;
134 float threshold = (displayMetrics.heightPixels) / mDensity / 2.5f;
221 float verticalDistanceDp = verticalDistancePx / mDensity;
230 float verticalDistanceFromMaxDp = verticalDistanceFromMaxPx / mDensity;
  /packages/apps/Mms/src/com/android/mms/ui/
QuickContactDivot.java 36 private float mDensity;
59 mDensity = r.getDisplayMetrics().density;
116 return CORNER_OFFSET * mDensity; // multiply by density to get pixels
  /development/samples/ApiDemos/src/com/example/android/apis/view/
Gallery1.java 91 private final float mDensity;
102 mDensity = c.getResources().getDisplayMetrics().density;
125 (int) (ITEM_WIDTH * mDensity + 0.5f),
126 (int) (ITEM_HEIGHT * mDensity + 0.5f)));
  /packages/apps/UnifiedEmail/src/com/android/mail/browse/
ConversationWebView.java 145 private final float mDensity;
169 mDensity = r.getDisplayMetrics().density;
250 return mDensity;
  /development/samples/ApiDemos/src/com/example/android/apis/animation/
AnimationCloning.java 65 private float mDensity;
70 mDensity = getContext().getResources().getDisplayMetrics().density;
108 circle.resize(50f * mDensity, 50f * mDensity);
  /frameworks/base/core/java/com/android/internal/widget/
RotarySelector.java 58 private float mDensity;
179 mDensity = r.getDisplayMetrics().density;
180 if (DBG) log("- Density: " + mDensity);
193 mEdgeTriggerThresh = (int) (mDensity * EDGE_TRIGGER_DIP);
199 mOuterRadius = (int) (mDensity * OUTER_ROTARY_RADIUS_DIP);
200 mInnerRadius = (int) ((OUTER_ROTARY_RADIUS_DIP - ROTARY_STROKE_WIDTH_DIP) * mDensity);
215 final int edgePadding = (int) (EDGE_PADDING_DIP * mDensity);
274 final int arrowScrunch = (int) (ARROW_SCRUNCH_DIP * mDensity);
347 float or = OUTER_ROTARY_RADIUS_DIP * mDensity;
SlidingTab.java 73 private final float mDensity; // used to scale dimensions for bitmaps.
456 mDensity = r.getDisplayMetrics().density;
457 if (DBG) log("- Density: " + mDensity);
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/
UiElementPullParser.java 81 private final Density mDensity;
125 mDensity = density;
626 f *= (float)mDensity.getDpiValue() / Density.DEFAULT_DENSITY;
629 f *= mDensity.getDpiValue() * (1.0f / 72);
632 f *= mDensity.getDpiValue();
635 f *= mDensity.getDpiValue() * (1.0f / 25.4f);
  /packages/apps/UnifiedEmail/src/com/android/mail/bitmap/
AttachmentDrawable.java 80 private final float mDensity;
93 mDensity = res.getDisplayMetrics().density;
356 / mDensity);
  /packages/apps/InCallUI/src/com/android/incallui/
CallCardFragment.java 66 private float mDensity;
98 mDensity = getResources().getDisplayMetrics().density;
352 mCallStateLabel.setCompoundDrawablePadding((int) (mDensity * 5));
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/ui/
ConfigurationSelector.java     [all...]
  /frameworks/base/core/java/android/widget/
StackView.java     [all...]
  /packages/apps/Launcher2/src/com/android/launcher2/
PagedView.java 85 protected float mDensity;
244 mDensity = getResources().getDisplayMetrics().density;
246 mFlingThresholdVelocity = (int) (FLING_THRESHOLD_VELOCITY * mDensity);
247 mMinFlingVelocity = (int) (MIN_FLING_VELOCITY * mDensity);
248 mMinSnapVelocity = (int) (MIN_SNAP_VELOCITY * mDensity);
    [all...]
  /frameworks/base/packages/Keyguard/src/com/android/keyguard/
PagedView.java 104 protected float mDensity;
319 mDensity = getResources().getDisplayMetrics().density;
320 mWarpPeekAmount = mDensity * WARP_ANIMATE_AMOUNT;
323 mFlingToDeleteThresholdVelocity = (int) (mFlingToDeleteThresholdVelocity * mDensity);
325 mFlingThresholdVelocity = (int) (FLING_THRESHOLD_VELOCITY * mDensity);
326 mMinFlingVelocity = (int) (MIN_FLING_VELOCITY * mDensity);
327 mMinSnapVelocity = (int) (MIN_SNAP_VELOCITY * mDensity);
    [all...]
  /packages/apps/Launcher3/src/com/android/launcher3/
PagedView.java 110 protected float mDensity;
320 mDensity = getResources().getDisplayMetrics().density;
324 (int) (mFlingToDeleteThresholdVelocity * mDensity);
326 mFlingThresholdVelocity = (int) (FLING_THRESHOLD_VELOCITY * mDensity);
327 mMinFlingVelocity = (int) (MIN_FLING_VELOCITY * mDensity);
328 mMinSnapVelocity = (int) (MIN_SNAP_VELOCITY * mDensity);
    [all...]
  /prebuilts/devtools/tools/lib/
layoutlib-api.jar 
  /prebuilts/gradle-plugin/com/android/tools/layoutlib/layoutlib-api/22.2.0/
layoutlib-api-22.2.0.jar 
  /prebuilts/misc/common/layoutlib_api/
layoutlib_api-prebuilt.jar 
  /frameworks/base/core/jni/
android_util_AssetManager.cpp 52 jfieldID mDensity;
98 env->SetIntField(outValue, gTypedValueOffsets.mDensity, config->density);
    [all...]
  /prebuilts/sdk/tools/lib/
common.jar 

Completed in 968 milliseconds

1 2