Home
last modified time | relevance | path

Searched refs:getMetrics (Results 1 – 25 of 43) sorted by relevance

12

/cts/tests/tests/text/src/android/text/cts/
DLayoutMinimumLineHeightTest.kt49 private fun getMetrics(text: String, paint: TextPaint): Pair<Int, Int> { in getMetrics() method in android.text.cts.LayoutMinimumLineHeightTest
105 val originalMetrics = getMetrics(text, paint) in Layout_expandToReserveMinimumFontMetrics()
125 val originalMetrics = getMetrics(text, paint) in StaticLayout_expandToReserveMinimumFontMetrics()
145 val originalMetrics = getMetrics(text, paint) in DynamicLayout_expandToReserveMinimumFontMetrics()
165 val originalMetrics = getMetrics(text, paint) in Layout_useActualFont()
185 val originalMetrics = getMetrics(text, paint) in StaticLayout_useActualFont()
205 val originalMetrics = getMetrics(text, paint) in DynamicLayout_useActualFont()
/cts/tests/mediapc/common/src/android/mediapc/cts/common/
DCodecMetrics.java24 public static CodecMetrics getMetrics(double fps, double fdps) { in getMetrics() method in CodecMetrics
/cts/tests/tests/media/drmframework/src/android/media/drmframework/cts/
DMediaDrmMetricsTest.java72 PersistableBundle metrics = drm.getMetrics(); in testGetMetricsEmpty()
100 PersistableBundle metrics = drm.getMetrics(); in testGetMetricsSession()
157 PersistableBundle metrics = drm.getMetrics(); in testGetMetricsGetKeyRequest()
DMediaDrmTest.java147 PersistableBundle metrics = drm.getMetrics(); in testPlaybackComponent()
/cts/hostsidetests/adpf/src/android/adpf/cts/
DADPFHintSessionHostJUnit4Test.java163 assertNotNull("No metrics were returned.", result.getMetrics()); in testAdpfHintSession()
164 String isSupportedStr = result.getMetrics().get(IS_HINT_SESSION_SUPPORTED_KEY); in testAdpfHintSession()
177 Map<String, String> metrics = result.getMetrics(); in testAdpfHintSession()
/cts/hostsidetests/adpf/app/hintsession/src/android/adpf/hintsession/app/
DADPFHintSessionDeviceTest.java78 Map<String, String> metrics = activity.getMetrics(); in testAdpfHintSession()
DADPFHintSessionDeviceActivity.java161 public Map<String, String> getMetrics() { in getMetrics() method in ADPFHintSessionDeviceActivity
/cts/tests/tests/util/src/android/util/cts/
DDisplayMetricsTest.java66 display.getMetrics(outMetrics); in testDisplayMetricsOp()
/cts/tests/tests/content/src/android/content/pm/cts/
DFeatureTest.java120 mWindowManager.getDefaultDisplay().getMetrics(dm); in getScreenSizeInInches()
/cts/tests/mediapc/src/android/mediapc/cts/
DCodecTranscoderTestBase.java19 import static android.mediapc.cts.common.CodecMetrics.getMetrics;
417 return getMetrics(0.0, 0.0); in doTranscode()
441 return getMetrics(fps, mFrameDrops / 30); in doTranscode()
451 return getMetrics(-1.0, 0.0); in call()
550 return getMetrics(fps, mFrameDrops / 30); in doTranscode()
DCodecTestBase.java21 import static android.mediapc.cts.common.CodecMetrics.getMetrics;
967 return getMetrics(0.0, 0.0); in doDecode()
978 return getMetrics(0.0, 0.0); in doDecode()
1001 return getMetrics(fps, mFrameDrops / 30); in doDecode()
1011 return getMetrics(-1.0, 0.0); in call()
1111 return getMetrics(fps, mFrameDrops / 30); in doEncode()
DMultiCodecPerfTestBase.java22 import static android.mediapc.cts.common.CodecMetrics.getMetrics;
192 return getMetrics(measuredParams, framesDroppedPerSecond); in invokeWithThread()
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/
DRenderService.java75 displayContext.getDisplay().getMetrics(metrics); in getSurfaceControlViewHost()
/cts/tests/autofillservice/src/android/autofillservice/cts/activities/
DDialogLauncherActivity.java80 display.getMetrics(metrics); in maximizeDialog()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/performancehintmanager/
DPerformanceHintManagerStatsTests.java257 String tidsStr = result.getMetrics().get(CONTENT_KEY_RESULT_TIDS); in testAdpfHintSessionTidCleanupIsPushed()
258 int uid = Integer.parseInt(result.getMetrics().get(CONTENT_KEY_UID)); in testAdpfHintSessionTidCleanupIsPushed()
/cts/tests/tests/content/src/android/content/wm/cts/
DContextRegisterComponentCallbacksTest.java171 secondaryDisplay.getMetrics(displayMetrics); in testRegisterComponentCallbacksOnWindowContext()
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/
DActivityManagerGetConfigTests.java372 display.getMetrics(metrics); in testDeviceConfig()
386 display.getMetrics(metrics); in testDeviceConfigWithSecondaryDisplay()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DWindowMetricsTestHelper.java144 display.getMetrics(displayMetrics); in assertMetricsMatchDisplay()
/cts/tests/leanbackjank/app/src/android/leanbackjank/app/ui/
DMainFragment.java138 getActivity().getWindowManager().getDefaultDisplay().getMetrics(mMetrics);
/cts/tests/tests/media/common/src/android/media/cts/
DMediaPlayerTestBase.java230 PersistableBundle metrics = mMediaPlayer.getMetrics(); in playLoadedVideo()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/lib/
DReportUtils.java200 return report.getMetrics(0); in getStatsLogReport()
/cts/tests/tests/hardware/src/android/hardware/cts/
DLowRamDeviceTest.java86 windowManager.getDefaultDisplay().getMetrics(mDisplayMetrics); in setUp()
/cts/tests/framework/base/windowmanager/src/android/server/wm/window/
DWindowPolicyTests.java212 display.getMetrics(displayMetrics); in testOptOutEdgeToEdgeDisplayMetrics()
/cts/tests/tests/media/codec/src/android/media/codec/cts/
DMediaCodecTest.java1178 PersistableBundle metrics = encoder.getMetrics(); in testDequeueSurface()
1256 PersistableBundle metrics = encoder.getMetrics(); in testReconfigureWithoutSurface()
1319 PersistableBundle metrics = mediaCodec.getMetrics(); in testDecodeAfterFlush()
1340 metrics = mediaCodec.getMetrics(); in testDecodeAfterFlush()
1361 PersistableBundle metrics = mediaCodec.getMetrics(); in testDecodeAfterFlush()
1435 PersistableBundle metrics = mediaCodec.getMetrics(); in runDecodeTillFirstOutput()
/cts/hostsidetests/angle/src/android/angle/cts/
DCtsAngleDeveloperOptionHostTest.java108 final String glRenderer = testResult.getMetrics().get(NATIVE_GL_RENDERER); in checkNativeDriver()

12