Home
last modified time | relevance | path

Searched refs:consume (Results 1 – 25 of 58) sorted by relevance

123

/packages/apps/Launcher3/src/com/android/launcher3/
DFocusHelper.java89 boolean consume = FocusLogic.shouldConsume(keyCode); in onKey()
91 return consume; in onKey()
123 return consume; in onKey()
187 return consume; in onKey()
205 boolean consume = FocusLogic.shouldConsume(keyCode); in handleHotseatButtonKeyEvent()
206 if (e.getAction() == KeyEvent.ACTION_UP || !consume) { in handleHotseatButtonKeyEvent()
207 return consume; in handleHotseatButtonKeyEvent()
236 return consume; in handleHotseatButtonKeyEvent()
313 return consume; in handleHotseatButtonKeyEvent()
320 boolean consume = FocusLogic.shouldConsume(keyCode); in handleIconKeyEvent()
[all …]
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
DConsumers.java32 accepted = consumer.consume(value); in consumeCloseable()
41 consumer.consume(value); in consumeAsync()
45 consumer.consume(value); in consumeAsync()
67 public boolean consume(A value) { in createAsyncConsumer()
77 public boolean consume(A value) {
DNowOrLaterWrapper.java31 public boolean consume(A value) { in getLater()
32 return consumer.consume(get(value)); in getLater()
DCachedLater.java67 consumer.consume(value); in store()
95 consumer.consume(value); in getLater()
/packages/services/Car/tests/obd2_test/src/com/android/car/obd2/test/
DIntegerArrayStreamTest.java32 assertEquals(1, stream.consume()); in testPeekConsume()
34 assertEquals(2, stream.consume()); in testPeekConsume()
41 stream.consume(); in testResidualLength()
69 stream.consume(); in testIsEmpty()
DMockObd2UnderlyingTransport.java36 if (mStream.hasAtLeast(1)) return mStream.consume(); in read()
51 int expected = mStream.consume(); in write()
/packages/services/Car/obd2-lib/src/com/android/car/obd2/commands/
DEngineRuntime.java30 public Optional<Integer> consume(IntegerArrayStream data) { in consume() method in EngineRuntime
33 theData -> Optional.of(theData.consume() * 256 + theData.consume()), in consume()
DRPM.java30 public Optional<Integer> consume(IntegerArrayStream data) { in consume() method in RPM
33 theData -> Optional.of((theData.consume() * 256 + theData.consume()) / 4), in consume()
DEngineCoolantTemperature.java30 public Optional<Integer> consume(IntegerArrayStream data) { in consume() method in EngineCoolantTemperature
33 theData -> Optional.of(theData.consume() - 40), in consume()
DEngineOilTemperature.java30 public Optional<Integer> consume(IntegerArrayStream data) { in consume() method in EngineOilTemperature
33 theData -> Optional.of(theData.consume() - 40), in consume()
DSpeed.java30 public Optional<Integer> consume(IntegerArrayStream data) { in consume() method in Speed
33 theData -> Optional.of(theData.consume()), in consume()
DFuelSystemStatus.java30 public Optional<Integer> consume(IntegerArrayStream data) { in consume() method in FuelSystemStatus
33 theData -> Optional.of(theData.consume()), in consume()
DThrottlePosition.java30 public Optional<Float> consume(IntegerArrayStream data) { in consume() method in ThrottlePosition
33 theData -> Optional.of(theData.consume() * 0.392157f), in consume()
DCalculatedEngineLoad.java30 public Optional<Float> consume(IntegerArrayStream data) { in consume() method in CalculatedEngineLoad
33 theData -> Optional.of(theData.consume() / 2.25f), in consume()
DAmbientAirTemperature.java30 public Optional<Float> consume(IntegerArrayStream data) { in consume() method in AmbientAirTemperature
33 theData -> Optional.of(theData.consume() * (100.0f / 255.0f)), in consume()
DFuelGaugePressure.java30 public Optional<Integer> consume(IntegerArrayStream data) { in consume() method in FuelGaugePressure
33 theData -> Optional.of(theData.consume() * 3), in consume()
DFuelTankLevel.java30 public Optional<Float> consume(IntegerArrayStream data) { in consume() method in FuelTankLevel
33 theData -> Optional.of(theData.consume() * (100.0f / 255.0f)), in consume()
DFuelTrimCommand.java25 public Optional<Float> consume(IntegerArrayStream data) { in consume() method in FuelTrimCommand
28 theData -> Optional.of(3 * theData.consume() / 1.28f - 100), in consume()
/packages/services/Car/tests/common_utils/src/com/android/car/test/utils/
DTemporaryDirectory.java43 FileVisitResult consume(Path path) throws IOException { in consume() method in TemporaryDirectory.DeletingVisitor
51 return consume(path); in visitFile()
57 return consume(path); in postVisitDirectory()
/packages/services/Car/obd2-lib/src/com/android/car/obd2/
DObd2Command.java57 Optional<ValueType> consume(IntegerArrayStream data); in consume() method
163 return mSemanticHandler.consume(stream); in run()
191 return mSemanticHandler.consume(stream); in run()
DObd2Connection.java305 int byte0 = source.consume(); in getDiagnosticTroubleCode()
306 int byte1 = source.consume(); in getDiagnosticTroubleCode()
330 int count = stream.consume(); in getDiagnosticTroubleCodes()
DIntegerArrayStream.java38 public int consume() { in consume() method in IntegerArrayStream
94 consume(); in expect()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DFilterTypeSet.java104 public void consume(int index, MediaItem item) { in updateData()
129 public void consume(int index, MediaItem item) { in delete()
DClusterAlbum.java85 public void consume(int index, MediaItem item) { in getMediaItemFromPath()
130 public void consume(int index, MediaItem item) { in delete()
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/
DMimeStreamParser.java147 tempIs.consume(); in parseEntity()
152 tempIs.consume(); in parseEntity()

123