Home
last modified time | relevance | path

Searched refs:hasRoundedCorners (Results 1 – 18 of 18) sorted by relevance

/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DOutputLayerTest.cpp997 EXPECT_CALL(*mLayerFE, hasRoundedCorners()).WillOnce(Return(false)); in TEST_F()
1022 EXPECT_CALL(*mLayerFE, hasRoundedCorners()).WillOnce(Return(false)); in TEST_F()
1042 EXPECT_CALL(*mLayerFE, hasRoundedCorners()).WillOnce(Return(false)); in TEST_F()
1055 EXPECT_CALL(*mLayerFE, hasRoundedCorners()).WillOnce(Return(false)); in TEST_F()
1068 EXPECT_CALL(*mLayerFE, hasRoundedCorners()).WillOnce(Return(false)); in TEST_F()
1083 EXPECT_CALL(*mLayerFE, hasRoundedCorners()).WillOnce(Return(false)); in TEST_F()
1123 EXPECT_CALL(*mLayerFE, hasRoundedCorners()).WillOnce(Return(false)); in TEST_F()
1137 EXPECT_CALL(*mLayerFE, hasRoundedCorners()).WillOnce(Return(false)); in TEST_F()
1153 EXPECT_CALL(*mLayerFE, hasRoundedCorners()).WillRepeatedly(Return(false)); in TEST_F()
1169 EXPECT_CALL(*mLayerFE, hasRoundedCorners()).WillRepeatedly(Return(false)); in TEST_F()
[all …]
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/mock/
DLayerFE.h56 MOCK_CONST_METHOD0(hasRoundedCorners, bool());
/frameworks/av/media/libstagefright/renderfright/gl/
DProgramCache.cpp564 if (needs.hasRoundedCorners()) { in generateVertexShader()
581 if (needs.hasRoundedCorners()) { in generateVertexShader()
611 if (needs.hasRoundedCorners()) { in generateFragmentShader()
756 if (needs.hasRoundedCorners()) { in generateFragmentShader()
DProgramCache.h136 inline bool hasRoundedCorners() const { in hasRoundedCorners() function
/frameworks/native/libs/renderengine/gl/
DProgramCache.cpp560 if (needs.hasRoundedCorners()) { in generateVertexShader()
577 if (needs.hasRoundedCorners()) { in generateVertexShader()
607 if (needs.hasRoundedCorners()) { in generateFragmentShader()
779 if (needs.hasRoundedCorners()) { in generateFragmentShader()
DProgramCache.h141 inline bool hasRoundedCorners() const { in hasRoundedCorners() function
/frameworks/base/core/java/android/view/animation/
DAnimation.java706 public void setHasRoundedCorners(boolean hasRoundedCorners) { in setHasRoundedCorners() argument
707 mHasRoundedCorners = hasRoundedCorners; in setHasRoundedCorners()
879 public boolean hasRoundedCorners() { in hasRoundedCorners() method in Animation
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowAnimationSpecTest.java96 when(mAnimation.hasRoundedCorners()).thenReturn(true); in testApply_setCornerRadius_noClip()
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/planner/
DCachedSetTest.cpp598 EXPECT_CALL(*layerFE1, hasRoundedCorners()).WillRepeatedly(Return(true)); in TEST_F()
620 EXPECT_CALL(*layerFE, hasRoundedCorners()).WillRepeatedly(Return(true)); in TEST_F()
641 EXPECT_CALL(*layerFE, hasRoundedCorners()).WillRepeatedly(Return(true)); in TEST_F()
657 EXPECT_CALL(*layerFE, hasRoundedCorners()).WillRepeatedly(Return(true)); in TEST_F()
670 EXPECT_CALL(*layerFE, hasRoundedCorners()).WillRepeatedly(Return(true)); in TEST_F()
683 EXPECT_CALL(*layerFE, hasRoundedCorners()).WillRepeatedly(Return(true)); in TEST_F()
697 EXPECT_CALL(*layerFE, hasRoundedCorners()).WillRepeatedly(Return(true)); in TEST_F()
DFlattenerTest.cpp638 EXPECT_CALL(*mTestLayers[2]->layerFE, hasRoundedCorners()).WillRepeatedly(Return(true)); in TEST_F()
712 EXPECT_CALL(*mTestLayers[1]->layerFE, hasRoundedCorners()).WillRepeatedly(Return(true)); in TEST_F()
784 EXPECT_CALL(*mTestLayers[1]->layerFE, hasRoundedCorners()).WillRepeatedly(Return(true)); in TEST_F()
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/
DLayerFE.h169 virtual bool hasRoundedCorners() const = 0;
/frameworks/native/services/surfaceflinger/
DLayer.h144 bool hasRoundedCorners() const { return radius.x > 0.0f && radius.y > 0.0f; } in hasRoundedCorners() function
600 bool hasRoundedCorners() const override { return getRoundedCornerState().hasRoundedCorners(); } in hasRoundedCorners() function
DLayer.cpp409 const bool usesRoundedCorners = hasRoundedCorners(); in prepareBasicGeometryCompositionState()
485 const bool usesRoundedCorners = hasRoundedCorners(); in preparePerFrameCompositionState()
1918 if (parentSettings.hasRoundedCorners()) { in getRoundedCornerState()
1931 const bool layerSettingsValid = layerSettings.hasRoundedCorners() && layerCropRect.isValid(); in getRoundedCornerState()
1933 if (layerSettingsValid && parentSettings.hasRoundedCorners()) { in getRoundedCornerState()
1947 } else if (parentSettings.hasRoundedCorners()) { in getRoundedCornerState()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowAnimationSpec.java148 if (cropSet && mAnimation.hasRoundedCorners() && mWindowCornerRadius > 0) { in apply()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DScreenDecorations.java554 if (hasRoundedCorners() || shouldDrawCutout() || isPrivacyDotEnabled() in setupDecorationsInner()
1098 private boolean hasRoundedCorners() { in hasRoundedCorners() method in ScreenDecorations
1105 || (!hasRoundedCorners() && !shouldDrawCutout()) in shouldOptimizeVisibility()
/frameworks/native/services/surfaceflinger/CompositionEngine/src/planner/
DCachedSet.cpp325 return layerFE.hasRoundedCorners(); in requiresHolePunch()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/
DDefaultTransitionHandler.java421 if (a.hasRoundedCorners() && isTask) { in startAnimation()
809 if (anim.hasRoundedCorners() && cornerRadius > 0 && clipRect != null) { in applyTransformation()
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DOutputLayer.cpp745 (!isPeekingThrough && getLayerFE().hasRoundedCorners()); in isClientCompositionForced()