/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
H A D | TransformState.java | 98 if (sameAs(otherState)) { in transformViewFrom() 103 transformViewFullyFrom(otherState, transformationAmount); in transformViewFrom() 119 public void transformViewFullyFrom(TransformState otherState, in transformViewFullyFrom() argument 142 int otherContentHeight = otherState.getContentHeight(); in transformViewFrom() 146 int otherContentWidth = otherState.getContentWidth(); in transformViewFrom() 272 return sameAs(otherState); in transformScale() 276 boolean alignEnd = mAlignEnd && otherState.mAlignEnd; in transformRightEdge() 289 if (sameAs(otherState)) { in transformViewTo() 331 boolean transformScale = transformScale(otherState); in transformViewTo() 334 int otherContentWidth = otherState.getContentWidth(); in transformViewTo() [all …]
|
H A D | CustomInterpolatorTransformation.java | 43 TransformState otherState = notification.getCurrentState(mViewType); in transformTo() local 44 if (otherState == null) { in transformTo() 49 ownState.transformViewFullyTo(otherState, this, transformationAmount); in transformTo() 50 otherState.recycle(); in transformTo() 64 TransformState otherState = notification.getCurrentState(mViewType); in transformFrom() local 65 if (otherState == null) { in transformFrom() 70 ownState.transformViewFullyFrom(otherState, this, transformationAmount); in transformFrom() 71 otherState.recycle(); in transformFrom()
|
H A D | MessagingImageTransformState.java | 43 protected boolean sameAs(TransformState otherState) { in sameAs() argument 44 if (super.sameAs(otherState)) { in sameAs() 47 if (otherState instanceof MessagingImageTransformState) { in sameAs() 48 MessagingImageTransformState otherMessage = (MessagingImageTransformState) otherState; in sameAs() 63 protected boolean transformScale(TransformState otherState) { in transformScale() argument 68 protected void transformViewFrom(TransformState otherState, int transformationFlags, in transformViewFrom() argument 71 super.transformViewFrom(otherState, transformationFlags, customTransformation, in transformViewFrom() 75 if (otherState instanceof MessagingImageTransformState && sameAs(otherState)) { in transformViewFrom() 77 = ((MessagingImageTransformState) otherState).mImageMessage; in transformViewFrom()
|
H A D | TextViewTransformState.java | 42 protected boolean sameAs(TransformState otherState) { in sameAs() argument 43 if (super.sameAs(otherState)) { in sameAs() 46 if (otherState instanceof TextViewTransformState) { in sameAs() 47 TextViewTransformState otherTvs = (TextViewTransformState) otherState; in sameAs() 90 protected boolean transformScale(TransformState otherState) { in transformScale() argument 91 if (!(otherState instanceof TextViewTransformState)) { in transformScale() 94 TextViewTransformState otherTvs = (TextViewTransformState) otherState; in transformScale()
|
H A D | ActionListTransformState.java | 30 protected boolean sameAs(TransformState otherState) { in sameAs() argument 31 return otherState instanceof ActionListTransformState; in sameAs() 43 public void transformViewFullyFrom(TransformState otherState, float transformationAmount) { in transformViewFullyFrom() argument 48 public void transformViewFullyTo(TransformState otherState, float transformationAmount) { in transformViewFullyTo() argument
|
H A D | MessagingLayoutTransformState.java | 71 if (otherState instanceof MessagingLayoutTransformState) { in transformViewTo() 77 return super.transformViewTo(otherState, transformationAmount); in transformViewTo() 82 public void transformViewFrom(TransformState otherState, float transformationAmount) { in transformViewFrom() argument 83 if (otherState instanceof MessagingLayoutTransformState) { in transformViewFrom() 88 super.transformViewFrom(otherState, transformationAmount); in transformViewFrom() 334 ownState.transformViewTo(otherState, transformationAmount); in transformView() 344 - otherState.getLaidOutLocationOnScreen()[1]; in transformView() 345 otherState.recycle(); in transformView() 353 ownState.transformViewFrom(otherState, transformationAmount); in transformView() 363 - otherState.getLaidOutLocationOnScreen()[1]; in transformView() [all …]
|
H A D | ProgressTransformState.java | 30 protected boolean sameAs(TransformState otherState) { in sameAs() argument 31 if (otherState instanceof ProgressTransformState) { in sameAs() 34 return super.sameAs(otherState); in sameAs()
|
H A D | ImageTransformState.java | 51 protected boolean sameAs(TransformState otherState) { in sameAs() argument 52 if (super.sameAs(otherState)) { in sameAs() 55 if (otherState instanceof ImageTransformState) { in sameAs() 56 final Icon otherIcon = ((ImageTransformState) otherState).mIcon; in sameAs()
|
/aosp14/frameworks/base/services/core/java/com/android/server/display/ |
H A D | DisplayBrightnessState.java | 119 DisplayBrightnessState otherState = (DisplayBrightnessState) other; in equals() local 121 return mBrightness == otherState.getBrightness() in equals() 122 && mSdrBrightness == otherState.getSdrBrightness() in equals() 123 && mBrightnessReason.equals(otherState.getBrightnessReason()) in equals() 125 otherState.getDisplayBrightnessStrategyName()) in equals() 126 && mShouldUseAutoBrightness == otherState.getShouldUseAutoBrightness() in equals() 127 && mIsSlowChange == otherState.isSlowChange(); in equals()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/ |
H A D | NotificationTemplateViewWrapper.java | 92 if (otherState != null) { in NotificationTemplateViewWrapper() 93 ownState.transformViewVerticalTo(otherState, this, in NotificationTemplateViewWrapper() 95 otherState.recycle(); in NotificationTemplateViewWrapper() 102 TransformState otherState) { in NotificationTemplateViewWrapper() 103 float endY = getTransformationY(ownState, otherState); in NotificationTemplateViewWrapper() 118 if (otherState != null) { in NotificationTemplateViewWrapper() 119 ownState.transformViewVerticalFrom(otherState, this, in NotificationTemplateViewWrapper() 121 otherState.recycle(); in NotificationTemplateViewWrapper() 128 TransformState otherState) { in NotificationTemplateViewWrapper() 135 TransformState otherState) { in NotificationTemplateViewWrapper() [all …]
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
H A D | HybridNotificationView.java | 172 TransformState otherState = notification.getCurrentState(TRANSFORMING_VIEW_TITLE); in transformTo() local 174 if (otherState != null) { in transformTo() 175 ownState.transformViewVerticalTo(otherState, transformationAmount); in transformTo() 176 otherState.recycle(); in transformTo() 185 TransformState otherState = notification.getCurrentState(TRANSFORMING_VIEW_TITLE); in transformFrom() local 187 if (otherState != null) { in transformFrom() 188 ownState.transformViewVerticalFrom(otherState, transformationAmount); in transformFrom() 189 otherState.recycle(); in transformFrom()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | ViewTransformationHelper.java | 148 TransformState otherState = notification.getCurrentState(viewType); in transformTo() local 149 if (otherState != null) { in transformTo() 150 ownState.transformViewTo(otherState, transformationAmount); in transformTo() 151 otherState.recycle(); in transformTo() 201 TransformState otherState = notification.getCurrentState(viewType); in transformFrom() local 202 if (otherState != null) { in transformFrom() 203 ownState.transformViewFrom(otherState, transformationAmount); in transformFrom() 204 otherState.recycle(); in transformFrom() 325 TransformState otherState) { in initTransformation() argument 330 TransformState otherState) { in customTransformTarget() argument
|
/aosp14/frameworks/base/core/java/com/android/internal/compat/ |
H A D | OverrideAllowedState.java | 163 OverrideAllowedState otherState = (OverrideAllowedState) obj; in equals() local 164 return state == otherState.state in equals() 165 && appTargetSdk == otherState.appTargetSdk in equals() 166 && changeIdTargetSdk == otherState.changeIdTargetSdk; in equals()
|
/aosp14/frameworks/base/core/tests/PlatformCompatFramework/src/com/android/internal/compat/ |
H A D | ChangeReporterTest.java | 30 int myState = ChangeReporter.STATE_ENABLED, otherState = ChangeReporter.STATE_DISABLED; in testStatsLogOnce() local 40 assertTrue(reporter.shouldWriteToStatsLog(myUid, myChangeId, otherState)); in testStatsLogOnce() 66 int myState = ChangeReporter.STATE_ENABLED, otherState = ChangeReporter.STATE_DISABLED; in testDebugLogOnce() local 76 assertTrue(reporter.shouldWriteToDebug(myUid, myChangeId, otherState)); in testDebugLogOnce()
|
/aosp14/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | PackageSetting.java | 903 setUserState(userId, otherState.getCeDataInode(), otherState.getEnabledState(), 904 otherState.isInstalled(), otherState.isStopped(), otherState.isNotLaunched(), 905 otherState.isHidden(), otherState.getDistractionFlags(), 906 otherState.getSuspendParams() == null 908 otherState.isInstantApp(), 909 otherState.isVirtualPreload(), otherState.getLastDisableAppCaller(), 910 otherState.getEnabledComponentsNoCopy() == null 912 otherState.getDisabledComponentsNoCopy() == null 914 otherState.getInstallReason(), otherState.getUninstallReason(), 915 otherState.getHarmfulAppWarning(), otherState.getSplashScreenTheme(), [all …]
|
/aosp14/frameworks/base/services/core/java/com/android/server/am/ |
H A D | AppPermissionTracker.java | 331 final UidGrantedPermissionState otherState = (UidGrantedPermissionState) other; in equals() local 332 return mUid == otherState.mUid && mAppOp == otherState.mAppOp in equals() 333 && Objects.equals(mPermission, otherState.mPermission); in equals()
|
/aosp14/frameworks/base/core/java/com/android/internal/app/procstats/ |
H A D | ProcessStats.java | 305 final PackageState otherState = versions.valueAt(iv); in add() local 306 final int NPROCS = otherState.mProcesses.size(); in add() 307 final int NSRVS = otherState.mServices.size(); in add() 308 final int NASCS = otherState.mAssociations.size(); in add() 310 ProcessState otherProc = otherState.mProcesses.valueAt(iproc); in add() 329 ServiceState otherSvc = otherState.mServices.valueAt(isvc); in add() 337 AssociationState otherAsc = otherState.mAssociations.valueAt(iasc); in add()
|