Searched refs:expectedMetrics (Results 1 – 2 of 2) sorted by relevance
80 DisplayMetrics expectedMetrics = new DisplayMetrics(); in testRotateRearDisplayMetrics_transformNeeded() local81 expectedMetrics.setTo(mTestDisplayMetrics); in testRotateRearDisplayMetrics_transformNeeded()82 expectedMetrics.widthPixels = mTestDisplayMetrics.heightPixels; in testRotateRearDisplayMetrics_transformNeeded()83 expectedMetrics.heightPixels = mTestDisplayMetrics.widthPixels; in testRotateRearDisplayMetrics_transformNeeded()84 expectedMetrics.noncompatWidthPixels = mTestDisplayMetrics.noncompatHeightPixels; in testRotateRearDisplayMetrics_transformNeeded()85 expectedMetrics.noncompatHeightPixels = mTestDisplayMetrics.noncompatWidthPixels; in testRotateRearDisplayMetrics_transformNeeded()89 assertEquals(expectedMetrics, mTestDisplayMetrics); in testRotateRearDisplayMetrics_transformNeeded()94 assertEquals(expectedMetrics, mTestDisplayMetrics); in testRotateRearDisplayMetrics_transformNeeded()
304 std::string expectedMetrics = in TEST_F() local327 ASSERT_TRUE(TextFormat::MergeFromString(expectedMetrics, &expectedMetricsProto)); in TEST_F()354 std::string expectedMetrics = in TEST_F() local373 ASSERT_TRUE(TextFormat::MergeFromString(expectedMetrics, &expectedMetricsProto)); in TEST_F()404 std::string expectedMetrics = in TEST_F() local415 ASSERT_TRUE(TextFormat::MergeFromString(expectedMetrics, &expectedMetricsProto)); in TEST_F()