Searched refs:convertDipToPixels (Results 1 – 4 of 4) sorted by relevance
150 int scaledHeight = WidgetTestUtils.convertDipToPixels(mContext, mMovie.height()); in testGetMovieProperties()154 int scaledWidth = WidgetTestUtils.convertDipToPixels(mContext, mMovie.width()); in testGetMovieProperties()
125 final int tmpWidth = WidgetTestUtils.convertDipToPixels(mActivity, LITTLE_SPACE); in testOnTouchEventHorizontalMotion()141 final int width = WidgetTestUtils.convertDipToPixels(mActivity, LITTLE_SPACE); in testOnTouchEventHorizontalMotion()336 final int width = WidgetTestUtils.convertDipToPixels(mActivity, LITTLE_SPACE);422 final int width = WidgetTestUtils.convertDipToPixels(mActivity, LITTLE_SPACE); in testOnKeyDownHorizontalMovement()649 final int height = WidgetTestUtils.convertDipToPixels(mActivity, LITTLE_SPACE); in testOnTakeFocus()
126 public static int convertDipToPixels(Context context, int dip) { in convertDipToPixels() method in WidgetTestUtils
766 final int velocityX = WidgetTestUtils.convertDipToPixels(mActivity, 2000);