/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
D | ShadowCardStack.java | 50 float density = getResources().getDisplayMetrics().density; in onCreate() local 54 final float X = X_SHIFT_DP * density; in onCreate() 55 final float Y = Y_SHIFT_DP * density; in onCreate() 56 final float Z = Z_LIFT_DP * density; in onCreate()
|
/development/samples/browseable/BasicTransition/src/com.example.android.common/view/ |
D | SlidingTabStrip.java | 65 final float density = getResources().getDisplayMetrics().density; in SlidingTabStrip() local 79 mBottomBorderThickness = (int) (DEFAULT_BOTTOM_BORDER_THICKNESS_DIPS * density); in SlidingTabStrip() 83 mSelectedIndicatorThickness = (int) (SELECTED_INDICATOR_THICKNESS_DIPS * density); in SlidingTabStrip() 88 mDividerPaint.setStrokeWidth((int) (DEFAULT_DIVIDER_THICKNESS_DIPS * density)); in SlidingTabStrip()
|
/development/samples/browseable/SlidingTabsBasic/src/com.example.android.common/view/ |
D | SlidingTabStrip.java | 65 final float density = getResources().getDisplayMetrics().density; in SlidingTabStrip() local 79 mBottomBorderThickness = (int) (DEFAULT_BOTTOM_BORDER_THICKNESS_DIPS * density); in SlidingTabStrip() 83 mSelectedIndicatorThickness = (int) (SELECTED_INDICATOR_THICKNESS_DIPS * density); in SlidingTabStrip() 88 mDividerPaint.setStrokeWidth((int) (DEFAULT_DIVIDER_THICKNESS_DIPS * density)); in SlidingTabStrip()
|
D | SlidingTabLayout.java | 98 mTitleOffset = (int) (TITLE_OFFSET_DIPS * getResources().getDisplayMetrics().density); in SlidingTabLayout() 191 int padding = (int) (TAB_VIEW_PADDING_DIPS * getResources().getDisplayMetrics().density); in createDefaultTabView()
|
/development/samples/browseable/SwipeRefreshMultipleViews/src/com.example.android.common/view/ |
D | SlidingTabStrip.java | 65 final float density = getResources().getDisplayMetrics().density; in SlidingTabStrip() local 79 mBottomBorderThickness = (int) (DEFAULT_BOTTOM_BORDER_THICKNESS_DIPS * density); in SlidingTabStrip() 83 mSelectedIndicatorThickness = (int) (SELECTED_INDICATOR_THICKNESS_DIPS * density); in SlidingTabStrip() 88 mDividerPaint.setStrokeWidth((int) (DEFAULT_DIVIDER_THICKNESS_DIPS * density)); in SlidingTabStrip()
|
/development/samples/browseable/SwipeRefreshListFragment/src/com.example.android.common/view/ |
D | SlidingTabStrip.java | 65 final float density = getResources().getDisplayMetrics().density; in SlidingTabStrip() local 79 mBottomBorderThickness = (int) (DEFAULT_BOTTOM_BORDER_THICKNESS_DIPS * density); in SlidingTabStrip() 83 mSelectedIndicatorThickness = (int) (SELECTED_INDICATOR_THICKNESS_DIPS * density); in SlidingTabStrip() 88 mDividerPaint.setStrokeWidth((int) (DEFAULT_DIVIDER_THICKNESS_DIPS * density)); in SlidingTabStrip()
|
/development/samples/browseable/SwipeRefreshLayoutBasic/src/com.example.android.common/view/ |
D | SlidingTabStrip.java | 65 final float density = getResources().getDisplayMetrics().density; in SlidingTabStrip() local 79 mBottomBorderThickness = (int) (DEFAULT_BOTTOM_BORDER_THICKNESS_DIPS * density); in SlidingTabStrip() 83 mSelectedIndicatorThickness = (int) (SELECTED_INDICATOR_THICKNESS_DIPS * density); in SlidingTabStrip() 88 mDividerPaint.setStrokeWidth((int) (DEFAULT_DIVIDER_THICKNESS_DIPS * density)); in SlidingTabStrip()
|
/development/samples/browseable/SlidingTabsColors/src/com.example.android.common/view/ |
D | SlidingTabStrip.java | 65 final float density = getResources().getDisplayMetrics().density; in SlidingTabStrip() local 79 mBottomBorderThickness = (int) (DEFAULT_BOTTOM_BORDER_THICKNESS_DIPS * density); in SlidingTabStrip() 83 mSelectedIndicatorThickness = (int) (SELECTED_INDICATOR_THICKNESS_DIPS * density); in SlidingTabStrip() 88 mDividerPaint.setStrokeWidth((int) (DEFAULT_DIVIDER_THICKNESS_DIPS * density)); in SlidingTabStrip()
|
/development/tools/emulator/skins/HVGA/ |
D | hardware.ini | 2 hw.lcd.density=160
|
/development/tools/emulator/skins/WVGA800/ |
D | hardware.ini | 2 hw.lcd.density=240
|
/development/tools/emulator/skins/WVGA854/ |
D | hardware.ini | 2 hw.lcd.density=240
|
/development/tools/emulator/skins/QVGA/ |
D | hardware.ini | 2 hw.lcd.density=120
|
/development/tools/emulator/skins/WQVGA400/ |
D | hardware.ini | 2 hw.lcd.density=120
|
/development/tools/emulator/skins/WQVGA432/ |
D | hardware.ini | 2 hw.lcd.density=120
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
D | PrintCustomContent.java | 136 final int density = Math.max(newAttributes.getResolution().getHorizontalDpi(), in print() 150 final int marginLeft = (int) (density * (float) newAttributes.getMinMargins() in print() 152 final int marginRight = (int) (density * (float) newAttributes.getMinMargins() in print() 154 final int contentWidth = (int) (density * (float) newAttributes.getMediaSize() in print() 164 final int marginTop = (int) (density * (float) newAttributes.getMinMargins() in print() 166 final int marginBottom = (int) (density * (float) newAttributes.getMinMargins() in print() 168 final int contentHeight = (int) (density * (float) newAttributes.getMediaSize() in print() 179 .getConfiguration().densityDpi != density) { in print() 181 configuration.densityDpi = density; in print()
|
/development/samples/browseable/BasicMultitouch/src/com.example.android.basicmultitouch/ |
D | TouchDisplayView.java | 346 float density = getResources().getDisplayMetrics().density; in initialisePaint() local 347 mCircleRadius = CIRCLE_RADIUS_DP * density; in initialisePaint() 348 mCircleHistoricalRadius = CIRCLE_HISTORICAL_RADIUS_DP * density; in initialisePaint() 355 mBorderWidth = INACTIVE_BORDER_DP * density; in initialisePaint()
|
/development/tools/emulator/skins/WXGA800/ |
D | hardware.ini | 2 hw.lcd.density=160
|
/development/tools/emulator/skins/WSVGA/ |
D | hardware.ini | 2 hw.lcd.density=160
|
/development/tools/emulator/skins/WXGA720/ |
D | hardware.ini | 2 hw.lcd.density=320
|
/development/tools/emulator/skins/WXGA800-7in/ |
D | hardware.ini | 2 hw.lcd.density=213
|
/development/apps/Development/src/com/android/development/ |
D | ConfigurationViewer.java | 56 + "density=" + m.density + "\n" in onCreate()
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
D | LayoutAnimation6.java | 62 final int w = (int) (36 * getResources().getDisplayMetrics().density + 0.5f); in getView()
|
D | LayoutAnimation5.java | 62 final int w = (int) (36 * getResources().getDisplayMetrics().density + 0.5f); in getView()
|
D | LayoutAnimation1.java | 62 final int w = (int) (36 * getResources().getDisplayMetrics().density + 0.5f); in getView()
|
D | LayoutAnimation4.java | 63 final int w = (int) (36 * getResources().getDisplayMetrics().density + 0.5f); in getView()
|