/frameworks/native/services/surfaceflinger/CompositionEngine/src/ |
D | OutputLayer.cpp | 351 HWC2::Layer* hwcLayer, hal::Composition requestedCompositionType) { in writeOutputDependentGeometryStateToHWC() 379 const auto bufferTransform = requestedCompositionType != hal::Composition::SOLID_COLOR in writeOutputDependentGeometryStateToHWC() 463 case hal::Composition::SOLID_COLOR: in writeOutputIndependentPerFrameStateToHWC() 466 case hal::Composition::SIDEBAND: in writeOutputIndependentPerFrameStateToHWC() 469 case hal::Composition::CURSOR: in writeOutputIndependentPerFrameStateToHWC() 470 case hal::Composition::DEVICE: in writeOutputIndependentPerFrameStateToHWC() 473 case hal::Composition::INVALID: in writeOutputIndependentPerFrameStateToHWC() 474 case hal::Composition::CLIENT: in writeOutputIndependentPerFrameStateToHWC() 482 if (outputIndependentState.compositionType != hal::Composition::SOLID_COLOR) { in writeSolidColorStateToHWC() 535 hal::Composition requestedCompositionType) { in writeCompositionTypeToHWC() [all …]
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | Hal.h | 52 using Composition = IComposerClient::Composition; variable 98 inline std::string to_string(hardware::graphics::composer::hal::Composition composition) { in to_string() 100 case hardware::graphics::composer::hal::Composition::INVALID: in to_string() 102 case hardware::graphics::composer::hal::Composition::CLIENT: in to_string() 104 case hardware::graphics::composer::hal::Composition::DEVICE: in to_string() 106 case hardware::graphics::composer::hal::Composition::SOLID_COLOR: in to_string() 108 case hardware::graphics::composer::hal::Composition::CURSOR: in to_string() 110 case hardware::graphics::composer::hal::Composition::SIDEBAND: in to_string()
|
D | ComposerHal.h | 120 std::vector<IComposerClient::Composition>* outTypes) = 0; 178 IComposerClient::Composition type) = 0; 270 std::vector<IComposerClient::Composition>* outTypes); 307 std::vector<IComposerClient::Composition> compositionTypes; 372 std::vector<IComposerClient::Composition>* outTypes) override; 426 IComposerClient::Composition type) override;
|
D | HWC2.h | 171 std::unordered_map<Layer*, hal::Composition>* outTypes) = 0; 257 std::unordered_map<Layer*, hal::Composition>* outTypes) override; 368 [[clang::warn_unused_result]] virtual hal::Error setCompositionType(hal::Composition type) = 0; 414 hal::Error setCompositionType(hal::Composition type) override;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/ |
D | Vibrations.kt | 20 import android.os.VibrationEffect.Composition.PRIMITIVE_TICK 28 composition.addPrimitive(VibrationEffect.Composition.PRIMITIVE_TICK, 0.5f) in initRangeEdgeEffect() 34 composition.addPrimitive(VibrationEffect.Composition.PRIMITIVE_TICK, 0.1f) in initRangeMiddleEffect()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/ |
D | OutputLayer.h | 50 void applyDeviceCompositionTypeChange(Hwc2::IComposerClient::Composition) override; 68 void writeOutputDependentGeometryStateToHWC(HWC2::Layer*, Hwc2::IComposerClient::Composition); 75 void writeCompositionTypeToHWC(HWC2::Layer*, Hwc2::IComposerClient::Composition); 76 void detectDisallowedCompositionTypeChange(Hwc2::IComposerClient::Composition from, 77 Hwc2::IComposerClient::Composition to) const;
|
D | OutputLayerCompositionState.h | 97 Hwc2::IComposerClient::Composition hwcCompositionType{ 98 Hwc2::IComposerClient::Composition::INVALID};
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | CompositionTest.cpp | 990 template <IComposerClient::Composition CompositionType> 992 static constexpr hal::Composition TYPE = CompositionType; 1007 template <IComposerClient::Composition InitialCompositionType, 1008 IComposerClient::Composition FinalCompositionType> 1010 static constexpr hal::Composition TYPE = FinalCompositionType; 1024 SetArgPointee<2>(std::vector<IComposerClient::Composition>{ in setupHwcGetCallExpectations() 1221 KeepCompositionTypeVariant<IComposerClient::Composition::DEVICE>, in TEST_F() 1228 KeepCompositionTypeVariant<IComposerClient::Composition::DEVICE>, in TEST_F() 1235 ChangeCompositionTypeVariant<IComposerClient::Composition::DEVICE, in TEST_F() 1236 IComposerClient::Composition::CLIENT>, in TEST_F() [all …]
|
/frameworks/base/core/java/android/os/ |
D | VibrationEffect.java | 379 public static VibrationEffect.Composition startComposition() { in startComposition() 380 return new VibrationEffect.Composition(); in startComposition() 865 private final ArrayList<Composition.PrimitiveEffect> mPrimitiveEffects; 878 public Composed(List<Composition.PrimitiveEffect> effects) { in Composed() 886 public List<Composition.PrimitiveEffect> getPrimitiveEffects() { in getPrimitiveEffects() 914 List<Composition.PrimitiveEffect> scaledPrimitives = new ArrayList<>(); in scale() 915 for (Composition.PrimitiveEffect primitive : mPrimitiveEffects) { in scale() 918 scaledPrimitives.add(new Composition.PrimitiveEffect( in scale() 929 for (Composition.PrimitiveEffect effect : mPrimitiveEffects) { in validate() 930 Composition.checkPrimitive(effect.id); in validate() [all …]
|
D | VibrationEffect.aidl | 20 parcelable VibrationEffect.Composition.PrimitiveEffect;
|
D | Vibrator.java | 423 @NonNull @VibrationEffect.Composition.Primitive int... primitiveIds) { in arePrimitivesSupported() 434 @NonNull @VibrationEffect.Composition.Primitive int... primitiveIds) { in areAllPrimitivesSupported()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
D | OutputLayerTest.cpp | 764 void expectSetCompositionTypeCall(Hwc2::IComposerClient::Composition compositionType) { in expectSetCompositionTypeCall() 871 mLayerFEState.compositionType = Hwc2::IComposerClient::Composition::SOLID_COLOR; in TEST_F() 879 expectSetCompositionTypeCall(Hwc2::IComposerClient::Composition::SOLID_COLOR); in TEST_F() 886 mLayerFEState.compositionType = Hwc2::IComposerClient::Composition::SIDEBAND; in TEST_F() 890 expectSetCompositionTypeCall(Hwc2::IComposerClient::Composition::SIDEBAND); in TEST_F() 896 mLayerFEState.compositionType = Hwc2::IComposerClient::Composition::CURSOR; in TEST_F() 900 expectSetCompositionTypeCall(Hwc2::IComposerClient::Composition::CURSOR); in TEST_F() 906 mLayerFEState.compositionType = Hwc2::IComposerClient::Composition::DEVICE; in TEST_F() 910 expectSetCompositionTypeCall(Hwc2::IComposerClient::Composition::DEVICE); in TEST_F() 917 Hwc2::IComposerClient::Composition::SOLID_COLOR; in TEST_F() [all …]
|
D | MockHWC2.h | 59 MOCK_METHOD1(setCompositionType, Error(hal::Composition));
|
D | DisplayTest.cpp | 654 {{nullptr, hal::Composition::CLIENT}}, in TEST_F() 761 applyDeviceCompositionTypeChange(Hwc2::IComposerClient::Composition::CLIENT)) in TEST_F() 764 applyDeviceCompositionTypeChange(Hwc2::IComposerClient::Composition::DEVICE)) in TEST_F() 768 {&mLayer1.hwc2Layer, hal::Composition::CLIENT}, in TEST_F() 769 {&mLayer2.hwc2Layer, hal::Composition::DEVICE}, in TEST_F() 770 {&hwc2LayerUnknown, hal::Composition::SOLID_COLOR}, in TEST_F()
|
/frameworks/native/libs/vr/libvrflinger/ |
D | hardware_composer.h | 74 HWC::BlendMode blending, HWC::Composition composition_type, 88 HWC::Composition composition_type, size_t z_order); 127 HWC::Composition GetCompositionType() const { return composition_type_; } in GetCompositionType() 189 HWC::Composition composition_type_ = HWC::Composition::Invalid; 190 HWC::Composition target_composition_type_ = HWC::Composition::Device;
|
D | hwc_types.h | 189 struct Composition final : public Wrapper<HWC2::Composition> { 199 Composition() : Base(Invalid) {}
|
D | hardware_composer.cpp | 1070 HWC::Composition::Device, layer_index); in UpdateLayerConfig() 1332 composition_type_ = HWC::Composition::Invalid; in Reset() 1344 HWC::BlendMode blending, HWC::Composition composition_type, in Layer() 1357 HWC::Composition composition_type, size_t z_order) in Layer() 1514 if (composition_type_ == HWC::Composition::Invalid) { in Prepare() 1515 composition_type_ = HWC::Composition::SolidColor; in Prepare() 1518 composition_type_.cast<Hwc2::IComposerClient::Composition>()); in Prepare() 1531 composition_type_.cast<Hwc2::IComposerClient::Composition>()); in Prepare()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/ |
D | LayerFECompositionState.h | 150 hal::Composition compositionType{hal::Composition::INVALID};
|
D | OutputLayer.h | 106 virtual void applyDeviceCompositionTypeChange(Hwc2::IComposerClient::Composition) = 0;
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | VibrationEffectTest.java | 64 .addPrimitive(VibrationEffect.Composition.PRIMITIVE_CLICK) 65 .addPrimitive(VibrationEffect.Composition.PRIMITIVE_CLICK, 0.5f, 10) 66 .addPrimitive(VibrationEffect.Composition.PRIMITIVE_CLICK, 0, 100) 227 .addPrimitive(VibrationEffect.Composition.PRIMITIVE_TICK, TEST_AMPLITUDE / 255f)
|
/frameworks/native/services/vr/hardware_composer/impl/ |
D | vr_hwc.cpp | 134 std::vector<IComposerClient::Composition>* types) { in GetChangedCompositionTypes() 144 case IComposerClient::Composition::SOLID_COLOR: in GetChangedCompositionTypes() 145 case IComposerClient::Composition::CURSOR: in GetChangedCompositionTypes() 146 case IComposerClient::Composition::SIDEBAND: in GetChangedCompositionTypes() 159 if (layers_[i].composition_type != IComposerClient::Composition::CLIENT) { in GetChangedCompositionTypes() 161 types->push_back(IComposerClient::Composition::CLIENT); in GetChangedCompositionTypes() 162 layers_[i].composition_type = IComposerClient::Composition::CLIENT; in GetChangedCompositionTypes() 168 if (layers_[i].composition_type != IComposerClient::Composition::DEVICE) { in GetChangedCompositionTypes() 170 types->push_back(IComposerClient::Composition::DEVICE); in GetChangedCompositionTypes() 171 layers_[i].composition_type = IComposerClient::Composition::DEVICE; in GetChangedCompositionTypes() [all …]
|
D | vr_hwc.h | 126 using Composition = member 127 hardware::graphics::composer::V2_3::IComposerClient::Composition; 133 Composition composition_type; 156 std::vector<IComposerClient::Composition>* composition); 257 std::vector<IComposerClient::Composition>* outCompositionTypes,
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/mock/ |
D | OutputLayer.h | 48 MOCK_METHOD1(applyDeviceCompositionTypeChange, void(Hwc2::IComposerClient::Composition));
|
/frameworks/native/services/surfaceflinger/tests/unittests/mock/DisplayHardware/ |
D | MockComposer.h | 67 Error(Display, std::vector<Layer>*, std::vector<IComposerClient::Composition>*)); 101 MOCK_METHOD3(setLayerCompositionType, Error(Display, Layer, IComposerClient::Composition));
|
/frameworks/native/services/surfaceflinger/ |
D | EffectLayer.cpp | 115 compositionState->compositionType = Hwc2::IComposerClient::Composition::SOLID_COLOR; in preparePerFrameCompositionState()
|