/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/ |
D | NotificationPanelUnfoldAnimationControllerTest.kt | 96 assertThat(view.translationX).isZero() in whenInKeyguardState_viewDoesNotMove() 99 assertThat(view.translationX).isZero() in whenInKeyguardState_viewDoesNotMove() 102 assertThat(view.translationX).isZero() in whenInKeyguardState_viewDoesNotMove() 105 assertThat(view.translationX).isZero() in whenInKeyguardState_viewDoesNotMove() 116 assertThat(view.translationX).isZero() in whenInShadeState_viewDoesMove() 125 assertThat(view.translationX).isZero() in whenInShadeState_viewDoesMove() 136 assertThat(view.translationX).isZero() in whenInShadeLockedState_viewDoesMove() 145 assertThat(view.translationX).isZero() in whenInShadeLockedState_viewDoesMove() 156 assertThat(view.translationX).isZero() in whenInKeyguardState_statusBarViewDoesNotMove() 159 assertThat(view.translationX).isZero() in whenInKeyguardState_statusBarViewDoesNotMove() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/ |
D | KeyguardUnfoldTransitionTest.kt | 95 assertThat(view.translationX).isZero() in onTransition_centeredViewDoesNotMove() 98 assertThat(view.translationX).isZero() in onTransition_centeredViewDoesNotMove() 101 assertThat(view.translationX).isZero() in onTransition_centeredViewDoesNotMove() 104 assertThat(view.translationX).isZero() in onTransition_centeredViewDoesNotMove() 117 assertThat(view.translationX).isZero() in whenInShadeState_viewDoesNotMove() 120 assertThat(view.translationX).isZero() in whenInShadeState_viewDoesNotMove() 123 assertThat(view.translationX).isZero() in whenInShadeState_viewDoesNotMove() 126 assertThat(view.translationX).isZero() in whenInShadeState_viewDoesNotMove() 140 assertThat(view.translationX).isZero() in whenInKeyguardState_viewDoesMove() 149 assertThat(view.translationX).isZero() in whenInKeyguardState_viewDoesMove()
|
/frameworks/native/libs/ui/include/ui/ |
D | StretchEffect.h | 49 static bool isZero(float value) { in isZero() function 54 bool isNoOp() const { return isZero(vectorX) && isZero(vectorY); } in isNoOp() 60 if (width == 0.f || height == 0.f || isZero(maxAmountX) || in sanitize() 61 isZero(maxAmountY)) { in sanitize()
|
D | Transform.h | 129 static bool isZero(float f);
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | StatusBarMoveFromCenterAnimationControllerTest.kt | 68 assertThat(view.translationX).isZero() in onTransitionProgressAndFinished_resetsTranslations() 77 assertThat(view.translationX).isZero() in onStatusBarWidthChangedWithNoTransitionBefore_noTranslation() 96 assertThat(view.translationX).isZero() in onTransitionProgress_whenDetached_doesNotUpdateTranslations() 106 assertThat(view.translationX).isZero() in detachedAfterProgress_resetsTranslations() 144 assertThat(view.translationX).isZero() in transitionFinished_viewReAttached_noChangesToTranslation()
|
/frameworks/native/libs/ui/ |
D | Transform.cpp | 46 bool Transform::isZero(float f) { in isZero() function in android::ui::Transform 51 return isZero(fabs(f) - 1.0f); in absIsOne() 163 if (isZero(tx) && isZero(ty)) { in set() 193 H.mType |= isZero(w) ? IDENTITY : TRANSLATE; in set() 201 V.mType |= isZero(h) ? IDENTITY : TRANSLATE; in set() 210 R.mType |= isZero(original_w) ? IDENTITY : TRANSLATE; in set() 335 if (isZero(b) && isZero(c)) { in type() 341 } else if (isZero(a) && isZero(d)) { in type() 367 if (!isZero(x) || !isZero(y)) in type()
|
/frameworks/base/libs/hwui/effects/ |
D | StretchEffect.h | 43 bool isEmpty() const { return isZero(mStretchDirection.x()) && isZero(mStretchDirection.y()); } in isEmpty() 122 inline static bool isZero(float value) { in isZero() function
|
/frameworks/base/libs/hwui/ |
D | Layer.cpp | 60 return MathUtils::isZero(roundf(x) - x); in isIntegerAligned() 69 if (MathUtils::isZero(matrix.getScaleX()) && MathUtils::isZero(matrix.getScaleY())) { in shouldFilterRect()
|
D | Matrix.cpp | 69 static bool isZero(float f) { in isZero() function 107 if ((isZero(m00) && isZero(m11) && !isZero(m01) && !isZero(m10)) || in getType() 108 (isZero(m01) && isZero(m10) && !isZero(m00) && !isZero(m11))) { in getType()
|
D | RenderProperties.cpp | 145 if (mPrimitiveFields.mAlpha < 1 && !MathUtils::isZero(mPrimitiveFields.mAlpha)) { in debugOutputProperties() 206 if (MathUtils::isZero(getRotationX()) && MathUtils::isZero(getRotationY())) { in updateMatrix()
|
D | RenderNode.cpp | 100 << (MathUtils::isZero(properties().getAlpha()) ? ", zero alpha" : "") in output() 545 bool applyTranslationZ = true3dTransform && !MathUtils::isZero(properties().getZ()); in applyViewPropertyTransforms()
|
/frameworks/base/libs/hwui/utils/ |
D | MathUtils.h | 33 inline static bool isZero(float value) { in isZero() function 85 inline static bool areEqual(float valueA, float valueB) { return isZero(valueA - valueB); } in areEqual()
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | LayerDrawable.cpp | 47 return MathUtils::isZero(roundf(x) - x); in isIntegerAligned() 56 if (MathUtils::isZero(matrix.getScaleX()) && MathUtils::isZero(matrix.getScaleY())) { in shouldFilterRect()
|
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/common/ |
D | CommonFoldingFeature.java | 19 import static androidx.window.util.ExtensionHelper.isZero; 186 if (isZero(featureRect)) { in parseFromString()
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/mode/ |
D | BaseModeRefreshRateVoteTest.kt | 67 assertThat(summary.appRequestBaseModeRefreshRate).isZero() in keeps summary with base mode refresh rate if vote refresh rate is negative()
|
D | DisplayModeDirectorTest.java | 523 assertThat(modeSpecs.primary.render.min).isZero(); in testDisplayModeVoting() 531 assertThat(modeSpecs.appRequest.render.min).isZero(); in testDisplayModeVoting() 535 assertThat(modeSpecs.appRequest.physical.min).isZero(); in testDisplayModeVoting() 537 assertThat(modeSpecs.appRequest.render.min).isZero(); in testDisplayModeVoting() 2231 assertThat(desiredSpecs.primary.render.min).isZero(); in testAppRequestMaxRefreshRate() 2235 assertThat(desiredSpecs.appRequest.render.min).isZero(); in testAppRequestMaxRefreshRate() 2257 assertThat(desiredSpecs.primary.render.min).isZero(); in testAppRequestMaxRefreshRate() 2259 assertThat(desiredSpecs.appRequest.physical.min).isZero(); in testAppRequestMaxRefreshRate() 2261 assertThat(desiredSpecs.appRequest.render.min).isZero(); in testAppRequestMaxRefreshRate() 2471 assertThat(desiredSpecs.appRequest.render.min).isZero(); in testRefreshRateIsSubsetOfFrameRate() [all …]
|
/frameworks/base/core/jni/ |
D | com_android_internal_content_FileSystemUtils.cpp | 175 bool isZero = std::all_of(buffer.get(), buffer.get() + readLength, in punchHoles() local 177 if (!isZero) { in punchHoles()
|
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/util/ |
D | ExtensionHelper.java | 114 public static boolean isZero(@NonNull Rect rect) { in isZero() method in ExtensionHelper
|
/frameworks/native/libs/ui/include_vndk/ui/ |
D | Transform.h | 129 static bool isZero(float f);
|
/frameworks/native/include/ui/ |
D | Transform.h | 129 static bool isZero(float f);
|
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/layout/ |
D | WindowLayoutComponentImpl.java | 23 import static androidx.window.util.ExtensionHelper.isZero; 371 if (isZero(featureRect)) { in getDisplayFeatures()
|
/frameworks/base/core/java/android/util/ |
D | Rational.java | 205 public boolean isZero() { in isZero() method in Rational
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | LockscreenShadeQsTransitionControllerTest.kt | 73 assertThat(controller.qsTransitionFraction).isZero() in qsTransitionFraction_byDefault_returns0()
|
/frameworks/base/core/java/android/telephony/ |
D | SubscriptionPlan.java | 281 if (period.isZero() || period.isNegative()) { in createRecurring()
|
/frameworks/av/media/libeffects/dynamicsproc/dsp/ |
D | DPFrequency.cpp | 36 static inline bool isZero(float f) { in isZero() function 46 return isZero(a - b); in compareEquality()
|