Home
last modified time | relevance | path

Searched refs:COMPLEX_UNIT_DIP (Results 1 – 18 of 18) sorted by relevance

/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/util/
DPixelUtils.java103 return TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dp, metrics); in dpToPix()
149 m.put("dip", TypedValue.COMPLEX_UNIT_DIP); in initDimensionConstantLookup()
150 m.put("dp", TypedValue.COMPLEX_UNIT_DIP); in initDimensionConstantLookup()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DResourceHelper2.java54 new UnitEntry("dip", TypedValue.TYPE_DIMENSION, TypedValue.COMPLEX_UNIT_DIP, 1.0f),
55 new UnitEntry("dp", TypedValue.TYPE_DIMENSION, TypedValue.COMPLEX_UNIT_DIP, 1.0f),
DResourceHelper.java146 new UnitEntry("dip", TypedValue.TYPE_DIMENSION, TypedValue.COMPLEX_UNIT_DIP, 1.0f),
147 new UnitEntry("dp", TypedValue.TYPE_DIMENSION, TypedValue.COMPLEX_UNIT_DIP, 1.0f),
/external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/
DRecognitionScoreView.java41 TypedValue.COMPLEX_UNIT_DIP, TEXT_SIZE_DIP, getResources().getDisplayMetrics()); in RecognitionScoreView()
DClassifierActivity.java109 TypedValue.COMPLEX_UNIT_DIP, TEXT_SIZE_DIP, getResources().getDisplayMetrics()); in onPreviewSizeChosen()
DDetectorActivity.java125 TypedValue.COMPLEX_UNIT_DIP, TEXT_SIZE_DIP, getResources().getDisplayMetrics()); in onPreviewSizeChosen()
DStylizeActivity.java361 TypedValue.COMPLEX_UNIT_DIP, TEXT_SIZE_DIP, getResources().getDisplayMetrics()); in onPreviewSizeChosen()
/external/tensorflow/tensorflow/lite/examples/android/app/src/main/java/org/tensorflow/demo/
DRecognitionScoreView.java39 TypedValue.COMPLEX_UNIT_DIP, TEXT_SIZE_DIP, getResources().getDisplayMetrics()); in RecognitionScoreView()
DClassifierActivity.java98 TypedValue.COMPLEX_UNIT_DIP, TEXT_SIZE_DIP, getResources().getDisplayMetrics()); in onPreviewSizeChosen()
DDetectorActivity.java100 TypedValue.COMPLEX_UNIT_DIP, TEXT_SIZE_DIP, getResources().getDisplayMetrics()); in onPreviewSizeChosen()
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/
DBluetoothDeviceList.java114 view.setTextSize(TypedValue.COMPLEX_UNIT_DIP, 20); in getView()
DLogcatViewer.java186 view.setTextSize(TypedValue.COMPLEX_UNIT_DIP, 15); in getView()
DApiBrowser.java320 view.setTextSize(TypedValue.COMPLEX_UNIT_DIP, 16); in getView()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowTextViewTest.java444 textView.setTextSize(TypedValue.COMPLEX_UNIT_DIP, 10); in setTextSize_shouldHandleDips()
446 textView.setTextSize(TypedValue.COMPLEX_UNIT_DIP, 20); in setTextSize_shouldHandleDips()
/external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/tracking/
DMultiBoxTracker.java112 TypedValue.COMPLEX_UNIT_DIP, TEXT_SIZE_DIP, context.getResources().getDisplayMetrics()); in MultiBoxTracker()
/external/tensorflow/tensorflow/lite/examples/android/app/src/main/java/org/tensorflow/demo/tracking/
DMultiBoxTracker.java112 TypedValue.COMPLEX_UNIT_DIP, TEXT_SIZE_DIP, context.getResources().getDisplayMetrics()); in MultiBoxTracker()
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DResourceTypes.java267 public static final int COMPLEX_UNIT_DIP = 1; field in ResourceTypes.Res_value
/external/subsampling-scale-image-view/library/src/main/java/com/davemorrissey/labs/subscaleview/
DSubsamplingScaleImageView.java333 …quickScaleThreshold = TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, 20, context.getResour… in SubsamplingScaleImageView()