/packages/apps/Gallery2/src/com/android/photos/ |
D | MultiChoiceManager.java | 133 private void updateActionItemVisibilities(Menu menu, int supportedOperations) { in updateActionItemVisibilities() argument 142 editItem.setVisible((supportedOperations & MediaObject.SUPPORT_EDIT) > 0); in updateActionItemVisibilities() 143 deleteItem.setVisible((supportedOperations & MediaObject.SUPPORT_DELETE) > 0); in updateActionItemVisibilities() 144 shareItem.setVisible((supportedOperations & MediaObject.SUPPORT_SHARE) > 0); in updateActionItemVisibilities() 145 cropItem.setVisible((supportedOperations & MediaObject.SUPPORT_CROP) > 0); in updateActionItemVisibilities() 146 trimItem.setVisible((supportedOperations & MediaObject.SUPPORT_TRIM) > 0); in updateActionItemVisibilities() 147 muteItem.setVisible((supportedOperations & MediaObject.SUPPORT_MUTE) > 0); in updateActionItemVisibilities() 148 setAsItem.setVisible((supportedOperations & MediaObject.SUPPORT_SETAS) > 0); in updateActionItemVisibilities()
|
/packages/modules/NeuralNetworks/driver/sample_aidl/ |
D | SampleDriverFull.cpp | 47 const aidl_hal::Model& model, std::vector<bool>* supportedOperations) { in getSupportedOperations() argument 54 *supportedOperations = std::vector<bool>(count, true); in getSupportedOperations() 57 supportedOperations->at(i) = !isExtensionOperationType(operation.type); in getSupportedOperations()
|
D | SampleDriverPartial.cpp | 39 const aidl_hal::Model& model, std::vector<bool>* supportedOperations) { in getSupportedOperations() argument 45 *supportedOperations = getSupportedOperationsImpl(canonicalModel.value()); in getSupportedOperations()
|
D | SampleDriverFull.h | 34 std::vector<bool>* supportedOperations) override;
|
D | SampleDriverPartial.h | 42 std::vector<bool>* supportedOperations) override;
|
/packages/modules/NeuralNetworks/driver/sample/ |
D | LimitedSupportDevice.cpp | 94 const auto supportedOperations = NN_TRY(kSupportedOperationsFunction(model)); in prepareModel() local 96 if (!std::all_of(supportedOperations.begin(), supportedOperations.end(), id)) { in prepareModel()
|
/packages/modules/NeuralNetworks/runtime/test/ |
D | TestMemoryDomain.cpp | 80 TestDriverLatest(const char* name, std::set<V1_3::OperationType> supportedOperations, in TestDriverLatest() argument 83 kSupportedOperations(std::move(supportedOperations)), in TestDriverLatest() 256 std::set<V1_3::OperationType> supportedOperations, in createAndRegisterDriver() argument 261 new TestDriverLatest(name, supportedOperations, AllocateReturn::NOT_SUPPORTED); in createAndRegisterDriver() 267 new TestDriverLatest(name, std::move(supportedOperations), allocateReturn))); in createAndRegisterDriver()
|
D | TestPartitioningRandom.cpp | 600 const hardware::hidl_vec<bool>& supportedOperations) { in prepareModel_1_3() argument 602 if (std::all_of(supportedOperations.begin(), supportedOperations.end(), in prepareModel_1_3()
|
D | TestPartitioning.cpp | 371 const hardware::hidl_vec<bool>& supportedOperations) { in prepareModel_1_3() argument 373 if (std::all_of(supportedOperations.begin(), supportedOperations.end(), in prepareModel_1_3()
|
/packages/modules/NeuralNetworks/runtime/ |
D | Manager.cpp | 303 std::vector<bool>& supportedOperations = result.value(); in getSupportedOperations() local 306 return supportedOperations; in getSupportedOperations() 310 for (size_t operationIndex = 0; operationIndex < supportedOperations.size(); operationIndex++) { in getSupportedOperations() 311 if (!supportedOperations[operationIndex]) { in getSupportedOperations() 336 supportedOperations[operationIndex] = false; in getSupportedOperations() 341 return supportedOperations; in getSupportedOperations()
|
/packages/modules/NeuralNetworks/shim_and_sl/ |
D | ShimDevice.cpp | 477 std::vector<bool>* supportedOperations) { in getSupportedOperations() argument 479 supportedOperations->resize(numOperations); in getSupportedOperations() 497 std::copy(supportedOps.get(), supportedOps.get() + numOperations, supportedOperations->begin()); in getSupportedOperations()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | PhotoPage.java | 774 int supportedOperations = mCurrentPhoto.getSupportedOperations(); in updateMenuOperations() local 776 supportedOperations ^= MediaObject.SUPPORT_EDIT; in updateMenuOperations() 779 supportedOperations &= MediaObject.SUPPORT_DELETE; in updateMenuOperations() 783 supportedOperations &= ~MediaObject.SUPPORT_EDIT; in updateMenuOperations() 786 MenuExecutor.updateMenuOperation(menu, supportedOperations); in updateMenuOperations()
|
/packages/modules/NeuralNetworks/shim_and_sl/include/ |
D | ShimDevice.h | 52 std::vector<bool>* supportedOperations) override;
|