Home
last modified time | relevance | path

Searched refs:consumers (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/core/java/android/view/
DInsetsAnimationControlImpl.java79 public InsetsAnimationControlImpl(SparseArray<InsetsSourceConsumer> consumers, Rect frame, in InsetsAnimationControlImpl() argument
84 mConsumers = consumers; in InsetsAnimationControlImpl()
91 mHiddenInsets = calculateInsets(mInitialInsetsState, frame, consumers, false /* shown */, in InsetsAnimationControlImpl()
93 mShownInsets = calculateInsets(mInitialInsetsState, frame, consumers, true /* shown */, in InsetsAnimationControlImpl()
205 SparseArray<InsetsSourceConsumer> consumers, boolean shown, in calculateInsets() argument
207 for (int i = consumers.size() - 1; i >= 0; i--) { in calculateInsets()
208 state.getSource(consumers.valueAt(i).getType()).setVisible(shown); in calculateInsets()
268 SparseArray<InsetsSourceConsumer> consumers) { in buildTypeSourcesMap() argument
272 sideSourcesMap.add(side, consumers.get(type)); in buildTypeSourcesMap()
DInsetsController.java297 final SparseArray<InsetsSourceConsumer> consumers = new SparseArray<>(); in controlAnimationUnchecked() local
299 Pair<Integer, Boolean> typesReadyPair = collectConsumers(fromIme, internalTypes, consumers); in controlAnimationUnchecked()
310 typesReady = collectPendingConsumers(typesReady, consumers); in controlAnimationUnchecked()
317 final InsetsAnimationControlImpl controller = new InsetsAnimationControlImpl(consumers, in controlAnimationUnchecked()
327 ArraySet<Integer> internalTypes, SparseArray<InsetsSourceConsumer> consumers) { in collectConsumers() argument
358 consumers.put(consumer.getType(), consumer); in collectConsumers()
368 SparseArray<InsetsSourceConsumer> consumers) { in collectPendingConsumers() argument
374 consumers.put(consumer.getType(), consumer); in collectPendingConsumers()
/frameworks/base/tools/aapt2/tools/
Dfix_resources.py13 from consumers.duplicates import DuplicateRemover
14 from consumers.positional_arguments import PositionalArgumentFixer
16 def do_it(res_path, consumers): argument
18 eligible_consumers = filter(lambda c: c.matches(file_path), consumers)
/frameworks/native/services/surfaceflinger/Scheduler/
DEventThread.cpp313 DisplayEventConsumers consumers; in threadMain() local
350 consumers.push_back(connection); in threadMain()
359 if (!consumers.empty()) { in threadMain()
360 dispatchEvent(*event, consumers); in threadMain()
361 consumers.clear(); in threadMain()
433 const DisplayEventConsumers& consumers) { in dispatchEvent() argument
434 for (const auto& consumer : consumers) { in dispatchEvent()
DEventThread.h169 const DisplayEventConsumers& consumers) REQUIRES(mMutex);
/frameworks/base/core/tests/coretests/src/android/view/
DInsetsAnimationControlImplTest.java115 SparseArray<InsetsSourceConsumer> consumers = new SparseArray<>(); in setup() local
116 consumers.put(TYPE_TOP_BAR, topConsumer); in setup()
117 consumers.put(TYPE_NAVIGATION_BAR, navConsumer); in setup()
118 mController = new InsetsAnimationControlImpl(consumers, in setup()
/frameworks/av/services/camera/libcameraservice/api2/
DCompositeStream.h44 status_t createStream(const std::vector<sp<Surface>>& consumers,
52 virtual status_t createInternalStreams(const std::vector<sp<Surface>>& consumers,
DCompositeStream.cpp47 status_t CompositeStream::createStream(const std::vector<sp<Surface>>& consumers, in createStream() argument
69 … return createInternalStreams(consumers, hasDeferredConsumer, width, height, format, rotation, id, in createStream()
DDepthCompositeStream.h51 status_t createInternalStreams(const std::vector<sp<Surface>>& consumers,
DHeicCompositeStream.h46 status_t createInternalStreams(const std::vector<sp<Surface>>& consumers,
DDepthCompositeStream.cpp508 status_t DepthCompositeStream::createInternalStreams(const std::vector<sp<Surface>>& consumers, in createInternalStreams() argument
543 mOutputSurface = consumers[0]; in createInternalStreams()
DHeicCompositeStream.cpp114 status_t HeicCompositeStream::createInternalStreams(const std::vector<sp<Surface>>& consumers, in createInternalStreams() argument
189 mOutputSurface = consumers[0]; in createInternalStreams()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3OutputStreamInterface.h52 virtual status_t setConsumers(const std::vector<sp<Surface>>& consumers) = 0;
DCamera3OutputStream.cpp916 status_t Camera3OutputStream::setConsumers(const std::vector<sp<Surface>>& consumers) { in setConsumers() argument
918 if (consumers.size() != 1) { in setConsumers()
920 __FUNCTION__, consumers.size()); in setConsumers()
923 if (consumers[0] == nullptr) { in setConsumers()
933 mConsumer = consumers[0]; in setConsumers()
DCamera3DummyStream.h83 virtual status_t setConsumers(const std::vector<sp<Surface>>& consumers);
DCamera3SharedOutputStream.h50 virtual status_t setConsumers(const std::vector<sp<Surface>>& consumers);
DCamera3OutputStream.h147 virtual status_t setConsumers(const std::vector<sp<Surface>>& consumers);
DCamera3Device.cpp1730 std::vector<sp<Surface>> consumers; in createStream() local
1731 consumers.push_back(consumer); in createStream()
1733 return createStream(consumers, /*hasDeferredConsumer*/ false, width, height, in createStream()
1738 status_t Camera3Device::createStream(const std::vector<sp<Surface>>& consumers, in createStream() argument
1784 if (consumers.size() == 0 && !hasDeferredConsumer) { in createStream()
1811 newStream = new Camera3OutputStream(mNextStreamId, consumers[0], in createStream()
1820 newStream = new Camera3OutputStream(mNextStreamId, consumers[0], in createStream()
1824 newStream = new Camera3SharedOutputStream(mNextStreamId, consumers, in createStream()
1828 } else if (consumers.size() == 0 && hasDeferredConsumer) { in createStream()
1833 newStream = new Camera3OutputStream(mNextStreamId, consumers[0], in createStream()
[all …]
DCamera3Device.h119 status_t createStream(const std::vector<sp<Surface>>& consumers,
180 int streamId, const std::vector<sp<Surface>>& consumers,
/frameworks/av/services/camera/libcameraservice/common/
DCameraDeviceBase.h149 virtual status_t createStream(const std::vector<sp<Surface>>& consumers,
371 const std::vector<sp<Surface>>& consumers, std::vector<int> *surfaceIds /*out*/) = 0;
/frameworks/minikin/doc/
Dhyb_file_format.md93 implementation for consumers of the data would be to build a hash table at load time.
/frameworks/base/core/proto/android/os/
Dincident.proto299 // The history can be large and may cause issues in consumers, so put the
/frameworks/hardware/interfaces/cameraservice/device/2.0/
Dtypes.hal326 * mechanisms to synchronize read and write accesses between consumers.