Home
last modified time | relevance | path

Searched refs:consumers (Results 1 – 24 of 24) 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.cpp305 DisplayEventConsumers consumers; in threadMain() local
342 consumers.push_back(connection); in threadMain()
351 if (!consumers.empty()) { in threadMain()
352 dispatchEvent(*event, consumers); in threadMain()
353 consumers.clear(); in threadMain()
423 const DisplayEventConsumers& consumers) { in dispatchEvent() argument
424 for (const auto& consumer : consumers) { in dispatchEvent()
DEventThread.h165 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.h45 status_t createInternalStreams(const std::vector<sp<Surface>>& consumers,
DDepthCompositeStream.cpp501 status_t DepthCompositeStream::createInternalStreams(const std::vector<sp<Surface>>& consumers, in createInternalStreams() argument
536 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.cpp902 status_t Camera3OutputStream::setConsumers(const std::vector<sp<Surface>>& consumers) { in setConsumers() argument
904 if (consumers.size() != 1) { in setConsumers()
906 __FUNCTION__, consumers.size()); in setConsumers()
909 if (consumers[0] == nullptr) { in setConsumers()
919 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.cpp1724 std::vector<sp<Surface>> consumers; in createStream() local
1725 consumers.push_back(consumer); in createStream()
1727 return createStream(consumers, /*hasDeferredConsumer*/ false, width, height, in createStream()
1732 status_t Camera3Device::createStream(const std::vector<sp<Surface>>& consumers, in createStream() argument
1778 if (consumers.size() == 0 && !hasDeferredConsumer) { in createStream()
1805 newStream = new Camera3OutputStream(mNextStreamId, consumers[0], in createStream()
1814 newStream = new Camera3OutputStream(mNextStreamId, consumers[0], in createStream()
1818 newStream = new Camera3SharedOutputStream(mNextStreamId, consumers, in createStream()
1822 } else if (consumers.size() == 0 && hasDeferredConsumer) { in createStream()
1827 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.
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/docs/swift/
DDesignDoc.md396 Using this approach, proto3 consumers must always have a default case or handle
526 This approach fulfills the needs of proto consumers by providing a