Searched refs:getAspectRatio (Results 1 – 3 of 3) sorted by relevance
76 return getAspectRatio(getInstrumentation().getContext().getSystemService( in getDefaultDisplayAspectRatio()81 return getAspectRatio(getDisplay(activity)); in getActivityAspectRatio()94 private static float getAspectRatio(Display display) { in getAspectRatio() method in AspectRatioTestsBase
51 assertTrue(Float.compare(0.5f, params.getAspectRatio()) == 0); in testBuildParams()61 assertTrue(Float.compare(0f, params.getAspectRatio()) == 0); in testBuildParams()
90 builder.setAspectRatio(getAspectRatio(intent,137 builder.setAspectRatio(getAspectRatio(getIntent(), in onCreate()156 builder.setAspectRatio(getAspectRatio(getIntent(), in onCreate()296 private Rational getAspectRatio(Intent intent, String extraNum, String extraDenom) { in getAspectRatio() method in PipActivity