Searched refs:newEvent (Results 1 – 4 of 4) sorted by relevance
41 AccessibilityEvent newEvent = AccessibilityEvent.obtain(event); in shouldBeEqualToClonedEvent() local42 assertThat(event.getEventType()).isEqualTo(newEvent.getEventType()); in shouldBeEqualToClonedEvent()43 assertThat(event.isEnabled()).isEqualTo(newEvent.isEnabled()); in shouldBeEqualToClonedEvent()44 assertThat(event.getContentDescription()).isEqualTo(newEvent.getContentDescription()); in shouldBeEqualToClonedEvent()45 assertThat(event.getPackageName()).isEqualTo(newEvent.getPackageName()); in shouldBeEqualToClonedEvent()46 assertThat(event.getClassName()).isEqualTo(newEvent.getClassName()); in shouldBeEqualToClonedEvent()47 assertThat(event.getParcelableData()).isEqualTo(newEvent.getParcelableData()); in shouldBeEqualToClonedEvent()49 newEvent.recycle(); in shouldBeEqualToClonedEvent()
92 Event newEvent = iter2.next(); in _testEmitter() local93 assertEquals(event.getClass().getName(), newEvent.getClass().getName()); in _testEmitter()96 NodeEvent e2 = (NodeEvent) newEvent; in _testEmitter()101 CollectionStartEvent e2 = (CollectionStartEvent) newEvent; in _testEmitter()106 ScalarEvent e2 = (ScalarEvent) newEvent; in _testEmitter()171 Event newEvent = newIter.next(); in testEmitterStyles() local172 assertEquals(event.getClass(), newEvent.getClass()); in testEmitterStyles()175 ((NodeEvent) newEvent).getAnchor()); in testEmitterStyles()179 ((CollectionStartEvent) newEvent).getTag()); in testEmitterStyles()183 ScalarEvent scalarNew = (ScalarEvent) newEvent; in testEmitterStyles()[all …]
41 AccessibilityEvent newEvent = AccessibilityEvent.obtain(event); in shouldBeEqualToClonedEvent() local42 assertThat(event.getEventType()).isEqualTo(newEvent.getEventType()); in shouldBeEqualToClonedEvent()43 assertThat(event.isEnabled()).isEqualTo(newEvent.isEnabled()); in shouldBeEqualToClonedEvent()45 .isEqualTo(nullOrString(newEvent.getContentDescription())); in shouldBeEqualToClonedEvent()47 .isEqualTo(nullOrString(newEvent.getPackageName())); in shouldBeEqualToClonedEvent()48 assertThat(nullOrString(event.getClassName())).isEqualTo(nullOrString(newEvent.getClassName())); in shouldBeEqualToClonedEvent()49 assertThat(event.getParcelableData()).isEqualTo(newEvent.getParcelableData()); in shouldBeEqualToClonedEvent()51 newEvent.recycle(); in shouldBeEqualToClonedEvent()
20 id<MTLEvent> event = [gpu->device() newEvent];