Home
last modified time | relevance | path

Searched refs:getNear (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/sensors/
DProximitySensorTest.java64 assertFalse(listener.mLastEvent.getNear()); in testSingleListener()
67 assertTrue(listener.mLastEvent.getNear()); in testSingleListener()
91 assertFalse(listenerA.mLastEvent.getNear()); in testMultiListener()
92 assertFalse(listenerB.mLastEvent.getNear()); in testMultiListener()
96 assertTrue(listenerA.mLastEvent.getNear()); in testMultiListener()
97 assertTrue(listenerB.mLastEvent.getNear()); in testMultiListener()
121 assertFalse(listenerA.mLastEvent.getNear()); in testDuplicateListener()
124 assertTrue(listenerA.mLastEvent.getNear()); in testDuplicateListener()
141 assertFalse(listener.mLastEvent.getNear()); in testUnregister()
160 assertFalse(listener.mLastEvent.getNear()); in testPauseAndResume()
[all …]
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
DDepthTransform.java14 public float getNear(); in getNear() method
DDepthImage.java63 decode.getNear(), decode.getDepthBitmap(), in createFromXMPMetadata()
184 public double getNear() { in getNear() method in DepthImage
DXmpDepthDecode.java102 public double getNear() { in getNear() method in XmpDepthDecode
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/sensors/
DProximitySensor.java217 return getSensorAvailable() && mLastEvent != null ? mLastEvent.getNear() : null; in isNear()
297 proximityEvent == null ? null : proximityEvent.getNear()));
322 public boolean getNear() { in getNear() method in ProximityEvent
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/image/
DRangeLinearDepthTransform.java24 public float getNear() { in getNear() method in RangeLinearDepthTransform
DRangeInverseDepthTransform.java23 public float getNear() { in getNear() method in RangeInverseDepthTransform
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/brightline/
DProximityClassifier.java105 boolean near = proximityEvent.getNear(); in onProximityEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeSensors.java182 mProxCallback.accept(!proximityEvent.getNear()); in DozeSensors()