Searched defs:mDensity (Results 1 - 8 of 8) sorted by relevance

/frameworks/base/core/java/com/android/internal/widget/
H A DRotarySelector.java58 private float mDensity; field in class:RotarySelector
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;
H A DSlidingTab.java73 private final float mDensity; // used to scale dimensions for bitmaps. field in class:SlidingTab
456 mDensity = r.getDisplayMetrics().density;
457 if (DBG) log("- Density: " + mDensity);
/frameworks/base/graphics/java/android/graphics/
H A DBitmap.java66 int mDensity = getDefaultDensity(); field in class:Bitmap
126 mDensity = density;
151 return mDensity;
168 mDensity = density;
452 b.mDensity = mDensity;
622 bitmap.mDensity = source.mDensity;
699 bm.mDensity = display.densityDpi;
775 bm.mDensity
[all...]
H A DCanvas.java52 protected int mDensity = Bitmap.DENSITY_NONE; field in class:Canvas
133 mDensity = bitmap.mDensity;
142 mDensity = Bitmap.getDefaultDensity();
201 mDensity = Bitmap.DENSITY_NONE;
209 mDensity = bitmap.mDensity;
261 return mDensity;
280 mDensity = density;
1099 paint != null ? paint.mNativePaint : 0, mDensity, mScreenDensit
[all...]
/frameworks/base/core/java/android/widget/
H A DStackView.java1375 private float mDensity; field in class:StackView.HolographicHelper
1384 mDensity = context.getResources().getDisplayMetrics().density;
1391 mSmallBlurMaskFilter = new BlurMaskFilter(2 * mDensity, BlurMaskFilter.Blur.NORMAL);
1392 mLargeBlurMaskFilter = new BlurMaskFilter(4 * mDensity, BlurMaskFilter.Blur.NORMAL);
/frameworks/base/core/jni/
H A Dandroid_util_AssetManager.cpp52 jfieldID mDensity; member in struct:android::typedvalue_offsets_t
98 env->SetIntField(outValue, gTypedValueOffsets.mDensity, config->density);
1747 gTypedValueOffsets.mDensity = env->GetFieldID(typedValue, "density", "I");
1748 LOG_FATAL_IF(gTypedValueOffsets.mDensity == NULL, "Unable to find TypedValue.density");
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DPagedView.java100 protected float mDensity; field in class:PagedView
301 mDensity = getResources().getDisplayMetrics().density;
305 (int) (mFlingToDeleteThresholdVelocity * mDensity);
307 mFlingThresholdVelocity = (int) (FLING_THRESHOLD_VELOCITY * mDensity);
308 mMinFlingVelocity = (int) (MIN_FLING_VELOCITY * mDensity);
309 mMinSnapVelocity = (int) (MIN_SNAP_VELOCITY * mDensity);
/frameworks/base/core/java/android/view/
H A DViewRootImpl.java311 private final int mDensity; field in class:ViewRootImpl
366 mDensity = context.getResources().getDisplayMetrics().densityDpi;
2431 canvas.setDensity(mDensity);

Completed in 216 milliseconds