Searched refs:convertDipToPixels (Results 1 – 4 of 4) sorted by relevance
146 int scaledHeight = WidgetTestUtils.convertDipToPixels(getActivity(), mMovie.height()); in testGetMovieProperties()150 int scaledWidth = WidgetTestUtils.convertDipToPixels(getActivity(), mMovie.width()); in testGetMovieProperties()
108 public static int convertDipToPixels(Context context, int dip) { in convertDipToPixels() method in WidgetTestUtils
97 int width = WidgetTestUtils.convertDipToPixels(getActivity(), LITTLE_SPACE); in testOnTouchEventHorizontalMotion()302 int width = WidgetTestUtils.convertDipToPixels(getActivity(), LITTLE_SPACE);417 int width = WidgetTestUtils.convertDipToPixels(getActivity(), LITTLE_SPACE);683 int height = WidgetTestUtils.convertDipToPixels(getActivity(), LITTLE_SPACE);741 int width = WidgetTestUtils.convertDipToPixels(getActivity(), LITTLE_SPACE); in testHorizontalMovement()
518 final int velocityX = WidgetTestUtils.convertDipToPixels(getActivity(), 2000);