/development/ndk/platforms/android-14/samples/native-media/ |
D | default.properties | 1 # Indicates whether an apk should be generated for each density. 2 split.density=false
|
/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/ndk/platforms/android-9/samples/native-audio/ |
D | default.properties | 12 # Indicates whether an apk should be generated for each density. 13 split.density=false
|
/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/FragmentTransition/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/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()
|
/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/samples/browseable/AdapterTransition/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/Support4Demos/src/com/example/android/supportv4/app/ |
D | SharingReceiverSupport.java | 48 final float density = getResources().getDisplayMetrics().density; in onCreate() local 49 final int iconSize = (int) (ICON_SIZE * density + 0.5f); in onCreate()
|
/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/SupportLeanbackDemos/src/com/example/android/leanback/ |
D | CardPresenter.java | 40 float density = context.getResources().getDisplayMetrics().density; in setupRowHeights() local 41 int height = (int) (IMAGE_HEIGHT_DP * density + 0.5f); in setupRowHeights()
|
/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/QVGA/ |
D | hardware.ini | 2 hw.lcd.density=120 key
|
/development/tools/emulator/skins/HVGA/ |
D | hardware.ini | 2 hw.lcd.density=160 key
|
/development/tools/emulator/skins/WVGA800/ |
D | hardware.ini | 2 hw.lcd.density=240 key
|
/development/tools/emulator/skins/WVGA854/ |
D | hardware.ini | 2 hw.lcd.density=240 key
|
/development/tools/emulator/skins/WQVGA432/ |
D | hardware.ini | 2 hw.lcd.density=120 key
|
/development/tools/emulator/skins/WQVGA400/ |
D | hardware.ini | 2 hw.lcd.density=120 key
|
/development/tools/emulator/skins/WXGA800/ |
D | hardware.ini | 2 hw.lcd.density=160 key
|
/development/tools/emulator/skins/WSVGA/ |
D | hardware.ini | 2 hw.lcd.density=160 key
|
/development/tools/emulator/skins/WXGA800-7in/ |
D | hardware.ini | 2 hw.lcd.density=213 key
|
/development/tools/emulator/skins/WXGA720/ |
D | hardware.ini | 2 hw.lcd.density=320 key
|