Home
last modified time | relevance | path

Searched refs:getResolution (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/com/android/internal/jank/
DDisplayResolutionTrackerTest.java19 import static com.android.internal.jank.DisplayResolutionTracker.getResolution;
59 assertThat(getResolution(SD)).isEqualTo(DisplayResolutionTracker.RESOLUTION_SD); in testResolutionMapping()
60 assertThat(getResolution(HD)).isEqualTo(DisplayResolutionTracker.RESOLUTION_HD); in testResolutionMapping()
61 assertThat(getResolution(FHD)).isEqualTo(DisplayResolutionTracker.RESOLUTION_FHD); in testResolutionMapping()
62 assertThat(getResolution(QHD)).isEqualTo(DisplayResolutionTracker.RESOLUTION_QHD); in testResolutionMapping()
67 assertThat(mTracker.getResolution(42)) in testResolutionUpdatesOnDisplayChanges()
73 assertThat(mTracker.getResolution(42)) in testResolutionUpdatesOnDisplayChanges()
76 assertThat(mTracker.getResolution(42)) in testResolutionUpdatesOnDisplayChanges()
/frameworks/base/core/java/com/android/internal/jank/
DDisplayResolutionTracker.java103 @Resolution int resolution = getResolution(info); in updateDisplay()
114 public int getResolution(int displayId) { in getResolution() method in DisplayResolutionTracker
123 public static int getResolution(DisplayInfo info) { in getResolution() method in DisplayResolutionTracker
/frameworks/native/libs/sensor/tests/
DSensor_test.cpp36 a.getResolution() == b.getResolution () && in sensorsMatch()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DDisplayMode.h140 ui::Size getResolution() const { return mResolution; } in getResolution() function
185 return lhs.getHwcId() == rhs.getHwcId() && lhs.getResolution() == rhs.getResolution() && in equalsExceptDisplayModeId()
/frameworks/base/tests/Input/src/com/android/test/input/
DInputDeviceTest.java44 assertEquals(range.getResolution(), outRange.getResolution(), DELTA); in assertMotionRangeEquals()
/frameworks/native/services/sensorservice/
DGravitySensor.cpp47 .resolution = mAccelerometer.getResolution(), in GravitySensor()
DCorrectedGyroSensor.cpp48 .resolution = mGyro.getResolution(), in CorrectedGyroSensor()
DLinearAccelerationSensor.cpp42 .resolution = gsensor.getResolution(), in LinearAccelerationSensor()
DLimitedAxesImuSensor.cpp58 .resolution = mImu3dSensor.getResolution(), in LimitedAxesImuSensor()
DSensorList.cpp281 proto->write(RESOLUTION, s.getResolution()); in dump()
/frameworks/native/services/surfaceflinger/tests/unittests/mock/DisplayHardware/
DMockDisplayMode.h62 .setResolution(modePtr->getResolution()) in cloneForDisplay()
/frameworks/native/services/sensorservice/hidl/
Dutils.cpp44 dst.resolution = src.getResolution(); in convertSensor()
/frameworks/native/libs/sensor/include/sensor/
DSensor.h78 float getResolution() const;
/frameworks/base/core/java/android/hardware/
DSensor.java1052 this.mResolution = sensorInfo.getResolution(); in Sensor()
1105 public float getResolution() { in getResolution() method in Sensor
/frameworks/base/core/java/android/companion/virtual/sensor/
DVirtualSensorConfig.java156 public float getResolution() { in getResolution() method in VirtualSensorConfig
/frameworks/base/core/java/android/print/
DPrintAttributes.java135 public @Nullable Resolution getResolution() { in getResolution() method in PrintAttributes
276 Resolution oldResolution = getResolution(); in asPortrait()
314 Resolution oldResolution = getResolution(); in asLandscape()
/frameworks/base/core/java/android/hardware/input/
DInputSensorInfo.java149 public float getResolution() { in getResolution() method in InputSensorInfo
/frameworks/base/native/android/
Dsensor.cpp322 return static_cast<Sensor const*>(sensor)->getResolution(); in ASensor_getResolution()
/frameworks/native/services/sensorservice/aidl/
DSensorManager.cpp152 dst.resolution = src.getResolution(); in convertSensor()
/frameworks/base/services/companion/java/com/android/server/companion/virtual/
DSensorController.java131 config.getResolution(), config.getPower(), config.getMinDelay(), in createSensorInternal()
/frameworks/base/core/java/android/view/
DInputDevice.java799 range.getResolution()); in build()
1522 public float getResolution() { in getResolution() method in InputDevice.MotionRange
/frameworks/base/core/java/com/android/internal/print/
DDumpUtils.java219 PrintAttributes.Resolution res = attributes.getResolution(); in writePrintAttributes()
/frameworks/base/services/core/java/com/android/server/display/
DPersistentDataStore.java383 return state.getResolution(); in getUserPreferredResolution()
717 public Point getResolution() { in getResolution() method in PersistentDataStore.DisplayState
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPrintActivity.java902 Resolution oldResolution = currAttributes.getResolution(); in onAdvancedPrintOptionsActivityResult()
903 Resolution newResolution = newAttributes.getResolution(); in onAdvancedPrintOptionsActivityResult()
1232 Resolution resolution = attributes.getResolution(); in updatePrintAttributesFromCapabilities()
1234 attributes.setResolution(defaults.getResolution()); in updatePrintAttributesFromCapabilities()
2113 if (attributes.getResolution() == null) { in canUpdateDocument()
/frameworks/native/libs/sensor/
DSensor.cpp399 float Sensor::getResolution() const { in getResolution() function in android::Sensor

12