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.java90 boolean consume = FocusLogic.shouldConsume(keyCode); in onKey()
92 return consume; in onKey()
124 return consume; in onKey()
188 return consume; in onKey()
206 boolean consume = FocusLogic.shouldConsume(keyCode); in handleHotseatButtonKeyEvent()
207 if (e.getAction() == KeyEvent.ACTION_UP || !consume) { in handleHotseatButtonKeyEvent()
208 return consume; in handleHotseatButtonKeyEvent()
237 return consume; in handleHotseatButtonKeyEvent()
314 return consume; in handleHotseatButtonKeyEvent()
321 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/
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()
DEngineRuntime.java30 public Optional<Integer> consume(IntegerArrayStream data) { in consume() method in EngineRuntime
33 theData -> Optional.of(theData.consume() * 256 + 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()
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()
DSpeed.java30 public Optional<Integer> consume(IntegerArrayStream data) { in consume() method in Speed
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()
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()
DCalculatedEngineLoad.java30 public Optional<Float> consume(IntegerArrayStream data) { in consume() method in CalculatedEngineLoad
33 theData -> Optional.of(theData.consume() / 2.25f), 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()
DFuelGaugePressure.java30 public Optional<Integer> consume(IntegerArrayStream data) { in consume() method in FuelGaugePressure
33 theData -> Optional.of(theData.consume() * 3), 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()
DIntegerArrayStream.java38 public int consume() { in consume() method in IntegerArrayStream
94 consume(); in expect()
DObd2Connection.java305 int byte0 = source.consume(); in getDiagnosticTroubleCode()
306 int byte1 = source.consume(); in getDiagnosticTroubleCode()
330 int count = stream.consume(); in getDiagnosticTroubleCodes()
/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()
DMediaSet.java196 void consume(int index, MediaItem item); in consume() method
210 consumer.consume(startIndex + start + i, item); in enumerateMediaItems()

123