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()
110 builder.setAspectRatio(getAspectRatio(intent,160 builder.setAspectRatio(getAspectRatio(getIntent(), in onCreate()179 builder.setAspectRatio(getAspectRatio(getIntent(), in onCreate()362 private Rational getAspectRatio(Intent intent, String extraNum, String extraDenom) { in getAspectRatio() method in PipActivity