Home
last modified time | relevance | path

Searched refs:Composition (Results 1 – 25 of 42) sorted by relevance

12

/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DOutputLayer.cpp351 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/
DHal.h52 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()
DComposerHal.h120 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;
DHWC2.h171 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/
DVibrations.kt20 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/
DOutputLayer.h50 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;
DOutputLayerCompositionState.h97 Hwc2::IComposerClient::Composition hwcCompositionType{
98 Hwc2::IComposerClient::Composition::INVALID};
/frameworks/native/services/surfaceflinger/tests/unittests/
DCompositionTest.cpp990 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/
DVibrationEffect.java379 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 …]
DVibrationEffect.aidl20 parcelable VibrationEffect.Composition.PrimitiveEffect;
DVibrator.java423 @NonNull @VibrationEffect.Composition.Primitive int... primitiveIds) { in arePrimitivesSupported()
434 @NonNull @VibrationEffect.Composition.Primitive int... primitiveIds) { in areAllPrimitivesSupported()
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DOutputLayerTest.cpp764 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 …]
DMockHWC2.h59 MOCK_METHOD1(setCompositionType, Error(hal::Composition));
DDisplayTest.cpp654 {{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/
Dhardware_composer.h74 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;
Dhwc_types.h189 struct Composition final : public Wrapper<HWC2::Composition> {
199 Composition() : Base(Invalid) {}
Dhardware_composer.cpp1070 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/
DLayerFECompositionState.h150 hal::Composition compositionType{hal::Composition::INVALID};
DOutputLayer.h106 virtual void applyDeviceCompositionTypeChange(Hwc2::IComposerClient::Composition) = 0;
/frameworks/base/core/tests/coretests/src/android/os/
DVibrationEffectTest.java64 .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/
Dvr_hwc.cpp134 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 …]
Dvr_hwc.h126 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/
DOutputLayer.h48 MOCK_METHOD1(applyDeviceCompositionTypeChange, void(Hwc2::IComposerClient::Composition));
/frameworks/native/services/surfaceflinger/tests/unittests/mock/DisplayHardware/
DMockComposer.h67 Error(Display, std::vector<Layer>*, std::vector<IComposerClient::Composition>*));
101 MOCK_METHOD3(setLayerCompositionType, Error(Display, Layer, IComposerClient::Composition));
/frameworks/native/services/surfaceflinger/
DEffectLayer.cpp115 compositionState->compositionType = Hwc2::IComposerClient::Composition::SOLID_COLOR; in preparePerFrameCompositionState()

12