Home
last modified time | relevance | path

Searched refs:otherState (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DTransformState.java93 public void transformViewFrom(TransformState otherState, float transformationAmount) { in transformViewFrom() argument
95 if (sameAs(otherState)) { in transformViewFrom()
100 transformViewFullyFrom(otherState, transformationAmount); in transformViewFrom()
112 public void transformViewFullyFrom(TransformState otherState, float transformationAmount) { in transformViewFullyFrom() argument
113 transformViewFrom(otherState, TRANSFORM_ALL, null, transformationAmount); in transformViewFullyFrom()
116 public void transformViewFullyFrom(TransformState otherState, in transformViewFullyFrom() argument
119 transformViewFrom(otherState, TRANSFORM_ALL, customTransformation, transformationAmount); in transformViewFullyFrom()
122 public void transformViewVerticalFrom(TransformState otherState, in transformViewVerticalFrom() argument
125 transformViewFrom(otherState, TRANSFORM_Y, customTransformation, transformationAmount); in transformViewVerticalFrom()
128 public void transformViewVerticalFrom(TransformState otherState, float transformationAmount) { in transformViewVerticalFrom() argument
[all …]
DCustomInterpolatorTransformation.java43 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()
DMessagingImageTransformState.java43 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()
DTextViewTransformState.java42 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()
DActionListTransformState.java30 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
DImageTransformState.java51 protected boolean sameAs(TransformState otherState) { in sameAs() argument
52 if (super.sameAs(otherState)) { in sameAs()
55 if (otherState instanceof ImageTransformState) { in sameAs()
56 return mIcon != null && mIcon.sameAs(((ImageTransformState) otherState).getIcon()); in sameAs()
120 protected boolean transformScale(TransformState otherState) { in transformScale() argument
121 return sameAs(otherState); in transformScale()
DMessagingLayoutTransformState.java68 public boolean transformViewTo(TransformState otherState, float transformationAmount) { in transformViewTo() argument
69 if (otherState instanceof MessagingLayoutTransformState) { in transformViewTo()
71 transformViewInternal((MessagingLayoutTransformState) otherState, transformationAmount, in transformViewTo()
75 return super.transformViewTo(otherState, transformationAmount); in transformViewTo()
80 public void transformViewFrom(TransformState otherState, float transformationAmount) { in transformViewFrom() argument
81 if (otherState instanceof MessagingLayoutTransformState) { in transformViewFrom()
83 transformViewInternal((MessagingLayoutTransformState) otherState, transformationAmount, in transformViewFrom()
86 super.transformViewFrom(otherState, transformationAmount); in transformViewFrom()
297 TransformState otherState = TransformState.createFrom(otherView, mTransformInfo); in transformView() local
298 ownState.transformViewTo(otherState, transformationAmount); in transformView()
[all …]
DProgressTransformState.java30 protected boolean sameAs(TransformState otherState) { in sameAs() argument
31 if (otherState instanceof ProgressTransformState) { in sameAs()
34 return super.sameAs(otherState); in sameAs()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DHybridNotificationView.java81 TransformState otherState = notification.getCurrentState( in onFinishInflate()
84 if (otherState != null) { in onFinishInflate()
85 ownState.transformViewVerticalTo(otherState, transformationAmount); in onFinishInflate()
86 otherState.recycle(); in onFinishInflate()
95 TransformState otherState = notification.getCurrentState( in onFinishInflate()
98 if (otherState != null) { in onFinishInflate()
99 ownState.transformViewVerticalFrom(otherState, transformationAmount); in onFinishInflate()
100 otherState.recycle(); in onFinishInflate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/
DNotificationTemplateViewWrapper.java82 TransformState otherState = notification.getCurrentState( in NotificationTemplateViewWrapper()
86 if (otherState != null) { in NotificationTemplateViewWrapper()
87 ownState.transformViewVerticalTo(otherState, this, in NotificationTemplateViewWrapper()
89 otherState.recycle(); in NotificationTemplateViewWrapper()
96 TransformState otherState) { in NotificationTemplateViewWrapper()
97 float endY = getTransformationY(ownState, otherState); in NotificationTemplateViewWrapper()
108 TransformState otherState = notification.getCurrentState( in NotificationTemplateViewWrapper()
112 if (otherState != null) { in NotificationTemplateViewWrapper()
113 ownState.transformViewVerticalFrom(otherState, this, in NotificationTemplateViewWrapper()
115 otherState.recycle(); in NotificationTemplateViewWrapper()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DViewTransformationHelper.java117 TransformState otherState = notification.getCurrentState(viewType); in transformTo() local
118 if (otherState != null) { in transformTo()
119 ownState.transformViewTo(otherState, transformationAmount); in transformTo()
120 otherState.recycle(); in transformTo()
174 TransformState otherState = notification.getCurrentState(viewType); in transformFrom() local
175 if (otherState != null) { in transformFrom()
176 ownState.transformViewFrom(otherState, transformationAmount); in transformFrom()
177 otherState.recycle(); in transformFrom()
298 TransformState otherState) { in initTransformation() argument
303 TransformState otherState) { in customTransformTarget() argument
/frameworks/base/services/core/java/com/android/server/pm/
DPackageSettingBase.java467 void setUserState(int userId, PackageUserState otherState) { in setUserState() argument
468 setUserState(userId, otherState.ceDataInode, otherState.enabled, otherState.installed, in setUserState()
469 otherState.stopped, otherState.notLaunched, otherState.hidden, in setUserState()
470 otherState.distractionFlags, otherState.suspended, otherState.suspendingPackage, in setUserState()
471 otherState.dialogInfo, otherState.suspendedAppExtras, in setUserState()
472 otherState.suspendedLauncherExtras, otherState.instantApp, in setUserState()
473 otherState.virtualPreload, otherState.lastDisableAppCaller, in setUserState()
474 otherState.enabledComponents, otherState.disabledComponents, in setUserState()
475 otherState.domainVerificationStatus, otherState.appLinkGeneration, in setUserState()
476 otherState.installReason, otherState.harmfulAppWarning); in setUserState()
/frameworks/base/core/java/com/android/internal/compat/
DOverrideAllowedState.java157 OverrideAllowedState otherState = (OverrideAllowedState) obj; in equals() local
158 return state == otherState.state in equals()
159 && appTargetSdk == otherState.appTargetSdk in equals()
160 && changeIdTargetSdk == otherState.changeIdTargetSdk; in equals()
/frameworks/base/core/tests/PlatformCompatFramework/src/com/android/internal/compat/
DChangeReporterTest.java30 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()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionsState.java723 PermissionState otherState = other.mUserStates.valueAt(i); in PermissionData() local
724 mUserStates.put(otherUserId, new PermissionState(otherState)); in PermissionData()
/frameworks/base/core/java/com/android/internal/app/procstats/
DProcessStats.java275 final PackageState otherState = versions.valueAt(iv); in add() local
276 final int NPROCS = otherState.mProcesses.size(); in add()
277 final int NSRVS = otherState.mServices.size(); in add()
278 final int NASCS = otherState.mAssociations.size(); in add()
280 ProcessState otherProc = otherState.mProcesses.valueAt(iproc); in add()
299 ServiceState otherSvc = otherState.mServices.valueAt(isvc); in add()
307 AssociationState otherAsc = otherState.mAssociations.valueAt(iasc); in add()