Searched refs:secondEvent (Results 1 – 3 of 3) sorted by relevance
129 BrightnessChangeEvent secondEvent = newEvents.get(0); in testBrightnessSliderTracking() local130 assertValidLuxData(secondEvent); in testBrightnessSliderTracking()131 assertEquals(secondEvent.lastBrightness, firstEvent.brightness, 1.0f); in testBrightnessSliderTracking()132 assertTrue(secondEvent.isUserSetBrightness); in testBrightnessSliderTracking()133 assertTrue("failed " + secondEvent.brightness + " not greater than " + in testBrightnessSliderTracking()134 firstEvent.brightness, secondEvent.brightness > firstEvent.brightness); in testBrightnessSliderTracking()180 BrightnessChangeEvent secondEvent = newEvents.get(0); in testBrightnesSliderTrackingDecrease() local181 assertValidLuxData(secondEvent); in testBrightnesSliderTrackingDecrease()182 assertEquals(secondEvent.lastBrightness, firstEvent.brightness, 1.0f); in testBrightnesSliderTrackingDecrease()183 assertTrue(secondEvent.isUserSetBrightness); in testBrightnesSliderTrackingDecrease()[all …]
361 final VirtualSensorEvent secondEvent = in sendEvent_reachesRegisteredListeners() local363 mVirtualSensor.sendEvent(secondEvent); in sendEvent_reachesRegisteredListeners()365 mSensorEventListener.assertReceivedSensorEvent(sensor, secondEvent); in sendEvent_reachesRegisteredListeners()411 final VirtualSensorEvent secondEvent = in sendEvent_invalidValues_eventIsDropped() local413 mVirtualSensor.sendEvent(secondEvent); in sendEvent_invalidValues_eventIsDropped()
652 final AccessibilityEvent secondEvent = in testConstructors() local655 assertEqualsAccessibilityEvent(firstEvent, secondEvent); in testConstructors()