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.java96 public void transformViewFrom(TransformState otherState, float transformationAmount) { in transformViewFrom() argument
98 if (sameAs(otherState)) { in transformViewFrom()
103 transformViewFullyFrom(otherState, transformationAmount); in transformViewFrom()
115 public void transformViewFullyFrom(TransformState otherState, float transformationAmount) { in transformViewFullyFrom() argument
116 transformViewFrom(otherState, TRANSFORM_ALL, null, transformationAmount); in transformViewFullyFrom()
119 public void transformViewFullyFrom(TransformState otherState, in transformViewFullyFrom() argument
122 transformViewFrom(otherState, TRANSFORM_ALL, customTransformation, transformationAmount); in transformViewFullyFrom()
125 public void transformViewVerticalFrom(TransformState otherState, in transformViewVerticalFrom() argument
128 transformViewFrom(otherState, TRANSFORM_Y, customTransformation, transformationAmount); in transformViewVerticalFrom()
131 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()
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
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()
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.java88 TransformState otherState = notification.getCurrentState( in NotificationTemplateViewWrapper()
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()
114 TransformState otherState = notification.getCurrentState( in NotificationTemplateViewWrapper()
118 if (otherState != null) { in NotificationTemplateViewWrapper()
119 ownState.transformViewVerticalFrom(otherState, this, in NotificationTemplateViewWrapper()
121 otherState.recycle(); in NotificationTemplateViewWrapper()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DViewTransformationHelper.java148 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
/frameworks/base/core/java/com/android/internal/compat/
DOverrideAllowedState.java163 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()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageSettingBase.java548 void setUserState(int userId, PackageUserState otherState) { in setUserState() argument
549 setUserState(userId, otherState.ceDataInode, otherState.enabled, otherState.installed, in setUserState()
550 otherState.stopped, otherState.notLaunched, otherState.hidden, in setUserState()
551 otherState.distractionFlags, otherState.suspended, otherState.suspendParams, in setUserState()
552 otherState.instantApp, in setUserState()
553 otherState.virtualPreload, otherState.lastDisableAppCaller, in setUserState()
554 otherState.enabledComponents, otherState.disabledComponents, in setUserState()
555 otherState.installReason, otherState.uninstallReason, otherState.harmfulAppWarning, in setUserState()
556 otherState.splashScreenTheme); in setUserState()
/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/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/planner/
DLayerState.h182 const OutputLayerState* otherState = static_cast<const OutputLayerState*>(other);
183 return *this != *otherState ? FIELD : Flags<LayerStateField>{};
192 const OutputLayerState* otherState = static_cast<const OutputLayerState*>(other);
193 return *this == *otherState;
/frameworks/base/core/java/com/android/internal/app/procstats/
DProcessStats.java297 final PackageState otherState = versions.valueAt(iv); in add() local
298 final int NPROCS = otherState.mProcesses.size(); in add()
299 final int NSRVS = otherState.mServices.size(); in add()
300 final int NASCS = otherState.mAssociations.size(); in add()
302 ProcessState otherProc = otherState.mProcesses.valueAt(iproc); in add()
321 ServiceState otherSvc = otherState.mServices.valueAt(isvc); in add()
329 AssociationState otherAsc = otherState.mAssociations.valueAt(iasc); in add()