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
DMessagingLayoutTransformState.java70 public boolean transformViewTo(TransformState otherState, float transformationAmount) { in transformViewTo() argument
71 if (otherState instanceof MessagingLayoutTransformState) { in transformViewTo()
73 transformViewInternal((MessagingLayoutTransformState) otherState, transformationAmount, 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()
85 transformViewInternal((MessagingLayoutTransformState) otherState, transformationAmount, in transformViewFrom()
88 super.transformViewFrom(otherState, transformationAmount); in transformViewFrom()
332 TransformState otherState = TransformState.createFrom(otherView, mTransformInfo); in transformView() local
334 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()
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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DHybridNotificationView.java79 TransformState otherState = notification.getCurrentState( in onFinishInflate()
82 if (otherState != null) { in onFinishInflate()
83 ownState.transformViewVerticalTo(otherState, transformationAmount); in onFinishInflate()
84 otherState.recycle(); in onFinishInflate()
93 TransformState otherState = notification.getCurrentState( in onFinishInflate()
96 if (otherState != null) { in onFinishInflate()
97 ownState.transformViewVerticalFrom(otherState, transformationAmount); in onFinishInflate()
98 otherState.recycle(); in onFinishInflate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/
DNotificationTemplateViewWrapper.java80 TransformState otherState = notification.getCurrentState( in NotificationTemplateViewWrapper()
84 if (otherState != null) { in NotificationTemplateViewWrapper()
85 ownState.transformViewVerticalTo(otherState, this, in NotificationTemplateViewWrapper()
87 otherState.recycle(); in NotificationTemplateViewWrapper()
94 TransformState otherState) { in NotificationTemplateViewWrapper()
95 float endY = getTransformationY(ownState, otherState); in NotificationTemplateViewWrapper()
106 TransformState otherState = notification.getCurrentState( in NotificationTemplateViewWrapper()
110 if (otherState != null) { in NotificationTemplateViewWrapper()
111 ownState.transformViewVerticalFrom(otherState, this, in NotificationTemplateViewWrapper()
113 otherState.recycle(); in NotificationTemplateViewWrapper()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DViewTransformationHelper.java152 TransformState otherState = notification.getCurrentState(viewType); in transformTo() local
153 if (otherState != null) { in transformTo()
154 ownState.transformViewTo(otherState, transformationAmount); in transformTo()
155 otherState.recycle(); in transformTo()
209 TransformState otherState = notification.getCurrentState(viewType); in transformFrom() local
210 if (otherState != null) { in transformFrom()
211 ownState.transformViewFrom(otherState, transformationAmount); in transformFrom()
212 otherState.recycle(); in transformFrom()
333 TransformState otherState) { in initTransformation() argument
338 TransformState otherState) { in customTransformTarget() argument
/frameworks/base/services/core/java/com/android/server/pm/
DPackageSettingBase.java515 void setUserState(int userId, PackageUserState otherState) { in setUserState() argument
516 setUserState(userId, otherState.ceDataInode, otherState.enabled, otherState.installed, in setUserState()
517 otherState.stopped, otherState.notLaunched, otherState.hidden, in setUserState()
518 otherState.distractionFlags, otherState.suspended, otherState.suspendParams, in setUserState()
519 otherState.instantApp, in setUserState()
520 otherState.virtualPreload, otherState.lastDisableAppCaller, in setUserState()
521 otherState.enabledComponents, otherState.disabledComponents, in setUserState()
522 otherState.domainVerificationStatus, otherState.appLinkGeneration, in setUserState()
523 otherState.installReason, otherState.uninstallReason, 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.java791 PermissionState otherState = other.mUserStates.valueAt(i); in PermissionData() local
792 mUserStates.put(otherUserId, new PermissionState(otherState)); in PermissionData()
/frameworks/base/core/java/com/android/internal/app/procstats/
DProcessStats.java295 final PackageState otherState = versions.valueAt(iv); in add() local
296 final int NPROCS = otherState.mProcesses.size(); in add()
297 final int NSRVS = otherState.mServices.size(); in add()
298 final int NASCS = otherState.mAssociations.size(); in add()
300 ProcessState otherProc = otherState.mProcesses.valueAt(iproc); in add()
319 ServiceState otherSvc = otherState.mServices.valueAt(isvc); in add()
327 AssociationState otherAsc = otherState.mAssociations.valueAt(iasc); in add()