Home
last modified time | relevance | path

Searched refs:BlurRegion (Results 1 – 24 of 24) sorted by relevance

/frameworks/native/libs/ui/include/ui/
DBlurRegion.h27 struct BlurRegion { struct
39 inline bool operator==(const BlurRegion& other) const { argument
47 inline bool operator!=(const BlurRegion& other) const { return !(*this == other); }
50 static inline void PrintTo(const BlurRegion& blurRegion, ::std::ostream* os) { in PrintTo()
69 struct hash<android::BlurRegion> {
70 size_t operator()(const android::BlurRegion& region) const {
/frameworks/base/core/tests/coretests/src/android/view/
DBlurAggregatorTest.java34 import com.android.internal.graphics.drawable.BackgroundBlurDrawable.BlurRegion;
67 final BlurRegion[] blurRegions = mAggregator.getBlurRegionsCopyForRT(); in createTestBackgroundBlurDrawable()
79 BlurRegion[] blurRegions = mAggregator.getBlurRegionsCopyForRT(); in testBlurRadiusUpdatePropagatesToRenderThreadIfNeeded()
96 BlurRegion[] blurRegions = mAggregator.getBlurRegionsCopyForRT(); in testAlphaUpdatePropagatesToRenderThreadIfNeeded()
115 final BlurRegion[] blurRegions = mAggregator.getBlurRegionsCopyForRT(); in testCornerRadiusUpdatePropagatesToRenderThreadIfNeeded()
128 BlurRegion[] blurRegions = mAggregator.getBlurRegionsCopyForRT(); in testVisibleUpdatePropagatesToRenderThreadIfNeeded()
143 BlurRegion[] blurRegions1 = mAggregator.getBlurRegionsCopyForRT(); in testBlurRegionCopyForRtIsSameIfNoUiUpdates()
147 BlurRegion[] blurRegions2 = mAggregator.getBlurRegionsCopyForRT(); in testBlurRegionCopyForRtIsSameIfNoUiUpdates()
153 BlurRegion[] blurRegions = mAggregator.getBlurRegionsCopyForRT(); in testPositionUpdateAppearsInBlurRegion()
169 final BlurRegion[] blurRegions = mAggregator.getBlurRegionsCopyForRT(); in testNoBlurRegionsDispatchedWhenNoUpdates()
[all …]
/frameworks/base/core/java/com/android/internal/graphics/drawable/
DBackgroundBlurDrawable.java237 private BlurRegion[] mLastFrameBlurRegions = null;
239 private BlurRegion[] mTmpBlurRegionsForFrame = new BlurRegion[0];
296 final BlurRegion[] blurRegionsForNextFrame = getBlurRegionsCopyForRT(); in registerPreDrawListener()
360 public BlurRegion[] getBlurRegionsCopyForRT() { in getBlurRegionsCopyForRT()
362 mTmpBlurRegionsForFrame = new BlurRegion[mDrawables.size()]; in getBlurRegionsCopyForRT()
364 mTmpBlurRegionsForFrame[i] = new BlurRegion(mDrawables.valueAt(i)); in getBlurRegionsCopyForRT()
380 BlurRegion[] blurRegionsForFrame, boolean forceUpdate) { in getBlurRegionsForFrameLocked()
417 private void handleDispatchBlurTransactionLocked(long frameNumber, BlurRegion[] blurRegions, in handleDispatchBlurTransactionLocked()
432 public static final class BlurRegion { class in BackgroundBlurDrawable
441 BlurRegion(BackgroundBlurDrawable drawable) { in BlurRegion() method in BackgroundBlurDrawable.BlurRegion
/frameworks/native/services/surfaceflinger/
DLayerProtoHelper.h71 static void writeToProto(const android::BlurRegion region, perfetto::protos::BlurRegion*);
72 static void readFromProto(const perfetto::protos::BlurRegion& proto,
73 android::BlurRegion& outRegion);
DLayerProtoHelper.cpp238 void LayerProtoHelper::writeToProto(const android::BlurRegion region, in writeToProto()
239 perfetto::protos::BlurRegion* proto) { in writeToProto()
252 void LayerProtoHelper::readFromProto(const perfetto::protos::BlurRegion& proto, in readFromProto()
253 android::BlurRegion& outRegion) { in readFromProto()
DLayer.h180 std::vector<BlurRegion> blurRegions;
290 virtual bool setBlurRegions(const std::vector<BlurRegion>& effectRegions);
1245 const std::vector<BlurRegion> getBlurRegions() const;
DLayer.cpp1070 bool Layer::setBlurRegions(const std::vector<BlurRegion>& blurRegions) { in setBlurRegions()
2076 const std::vector<BlurRegion> Layer::getBlurRegions() const { in getBlurRegions()
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/
DLayerFECompositionState.h139 std::vector<BlurRegion> blurRegions;
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/planner/
DLayerState.h464 OutputLayerState<std::vector<BlurRegion>, LayerStateField::BlurRegions>;
468 [](const std::vector<BlurRegion>& regions) {
488 [](const std::vector<BlurRegion>& regions) {
/frameworks/native/libs/renderengine/include/renderengine/
DLayerSettings.h130 std::vector<BlurRegion> blurRegions;
/frameworks/native/libs/gui/include/gui/
DLayerState.h337 std::vector<BlurRegion> blurRegions;
DSurfaceComposerClient.h552 const std::vector<BlurRegion>& regions);
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/planner/
DLayerStateTest.cpp71 const BlurRegion sBlurRegionOne = BlurRegion{1, 2.f, 3.f, 4.f, 5.f, 6.f, 7, 8, 9, 10};
72 const BlurRegion sBlurRegionTwo = BlurRegion{2, 3.f, 4.f, 5.f, 6.f, 7.f, 8, 9, 10, 11};
DCachedSetTest.cpp950 BlurRegion{1, 0, 0, 0, 0, 0, 0, 0, 0, 0}); in TEST_F()
/frameworks/native/services/surfaceflinger/Tracing/
DTransactionProtoParser.cpp452 android::BlurRegion region; in fromProto()
/frameworks/native/libs/renderengine/skia/
DSkiaRenderEngine.cpp633 static SkRRect getBlurRRect(const BlurRegion& region) { in getBlurRRect()
/frameworks/native/libs/gui/
DLayerState.cpp294 BlurRegion region; in read()
DSurfaceComposerClient.cpp1581 const sp<SurfaceControl>& sc, const std::vector<BlurRegion>& blurRegions) { in setBlurRegions()
/frameworks/base/core/jni/
Dandroid_view_SurfaceControl.cpp748 std::vector<BlurRegion> blurRegionVector; in nativeSetBlurRegions()
765 blurRegionVector.push_back(BlurRegion{.blurRadius = static_cast<uint32_t>(blurRadius), in nativeSetBlurRegions()
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DOutputTest.cpp5159 BlurRegion region; in TEST_F()
/frameworks/base/boot/
Dpreloaded-classes11165 com.android.internal.graphics.drawable.BackgroundBlurDrawable$BlurRegion
14480 [Lcom.android.internal.graphics.drawable.BackgroundBlurDrawable$BlurRegion;
Dboot-image-profile.txt33591 Lcom/android/internal/graphics/drawable/BackgroundBlurDrawable$BlurRegion;
36928 [Lcom/android/internal/graphics/drawable/BackgroundBlurDrawable$BlurRegion;
/frameworks/base/config/
Dpreloaded-classes11196 com.android.internal.graphics.drawable.BackgroundBlurDrawable$BlurRegion
17506 [Lcom.android.internal.graphics.drawable.BackgroundBlurDrawable$BlurRegion;
Dboot-image-profile.txt43752 Lcom/android/internal/graphics/drawable/BackgroundBlurDrawable$BlurRegion;
50098 [Lcom/android/internal/graphics/drawable/BackgroundBlurDrawable$BlurRegion;