Searched refs:preview1 (Results 1 – 2 of 2) sorted by relevance
1523 public int compare(RenderPreview preview1, RenderPreview preview2) { in sortPreviewsByScreenSize()1524 Configuration config1 = preview1.getConfiguration(); in sortPreviewsByScreenSize()1551 return preview1.getDisplayName().compareTo(preview2.getDisplayName()); in sortPreviewsByScreenSize()1561 public int compare(RenderPreview preview1, RenderPreview preview2) { in sortPreviewsByOrientation()1562 Configuration config1 = preview1.getConfiguration(); in sortPreviewsByOrientation()1570 return preview1.getDisplayName().compareTo(preview2.getDisplayName()); in sortPreviewsByOrientation()1615 SwapAnimation(RenderPreview preview1, RenderPreview preview2) { in SwapAnimation() argument1619 initialRect1 = new Rect(preview1.getX(), preview1.getY(), in SwapAnimation()1620 preview1.getWidth(), preview1.getHeight()); in SwapAnimation()
1318 public int compare(RenderPreview preview1, RenderPreview preview2) {1319 return (int) Math.signum(preview1.mAspectRatio - preview2.mAspectRatio);1325 public int compare(RenderPreview preview1, RenderPreview preview2) {1326 int delta = preview1.mY - preview2.mY;1328 delta = preview1.mX - preview2.mX;