Home
last modified time | relevance | path

Searched refs:otherState (Results 1 – 19 of 19) 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 final Icon otherIcon = ((ImageTransformState) otherState).mIcon; in sameAs()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayBrightnessState.java198 DisplayBrightnessState otherState = (DisplayBrightnessState) other; in equals() local
200 return mBrightness == otherState.getBrightness() in equals()
201 && mSdrBrightness == otherState.getSdrBrightness() in equals()
202 && mBrightnessReason.equals(otherState.getBrightnessReason()) in equals()
204 otherState.getDisplayBrightnessStrategyName()) in equals()
205 && mShouldUseAutoBrightness == otherState.getShouldUseAutoBrightness() in equals()
206 && mIsSlowChange == otherState.isSlowChange() in equals()
207 && mMaxBrightness == otherState.getMaxBrightness() in equals()
208 && mMinBrightness == otherState.getMinBrightness() in equals()
209 && mCustomAnimationRate == otherState.getCustomAnimationRate() in equals()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DHybridNotificationView.java171 TransformState otherState = notification.getCurrentState(TRANSFORMING_VIEW_TITLE); in transformTo() local
173 if (otherState != null) { in transformTo()
174 ownState.transformViewVerticalTo(otherState, transformationAmount); in transformTo()
175 otherState.recycle(); in transformTo()
184 TransformState otherState = notification.getCurrentState(TRANSFORMING_VIEW_TITLE); in transformFrom() local
186 if (otherState != null) { in transformFrom()
187 ownState.transformViewVerticalFrom(otherState, transformationAmount); in transformFrom()
188 otherState.recycle(); in transformFrom()
/frameworks/base/tests/MultiDeviceInput/src/test/multideviceinput/
DDrawingView.kt76 private var otherState: SharedScaledPointerSize? = null variable in test.multideviceinput.DrawingView
81 otherState: SharedScaledPointerSize
84 this.otherState = otherState
103 when (otherState?.state) { in onScale()
105 otherState?.lineSize = (otherState?.lineSize ?: 5f) * scaleFactor in onScale()
108 otherState?.circleSize = (otherState?.circleSize ?: 20f) * scaleFactor in onScale()
/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/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/
DNotificationTemplateViewWrapper.java96 TransformState otherState = notification.getCurrentState( in NotificationTemplateViewWrapper()
100 if (otherState != null) { in NotificationTemplateViewWrapper()
101 ownState.transformViewVerticalTo(otherState, this, in NotificationTemplateViewWrapper()
103 otherState.recycle(); in NotificationTemplateViewWrapper()
110 TransformState otherState) { in NotificationTemplateViewWrapper()
111 float endY = getTransformationY(ownState, otherState); in NotificationTemplateViewWrapper()
122 TransformState otherState = notification.getCurrentState( in NotificationTemplateViewWrapper()
126 if (otherState != null) { in NotificationTemplateViewWrapper()
127 ownState.transformViewVerticalFrom(otherState, this, in NotificationTemplateViewWrapper()
129 otherState.recycle(); in NotificationTemplateViewWrapper()
[all …]
/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/
DPackageSetting.java1021 void setUserState(int userId, PackageUserStateInternal otherState) {
1022 setUserState(userId, otherState.getCeDataInode(), otherState.getDeDataInode(),
1023 otherState.getEnabledState(), otherState.isInstalled(), otherState.isStopped(),
1024 otherState.isNotLaunched(), otherState.isHidden(), otherState.getDistractionFlags(),
1025 otherState.getSuspendParams() == null
1026 ? null : otherState.getSuspendParams().untrackedStorage(),
1027 otherState.isInstantApp(), otherState.isVirtualPreload(),
1028 otherState.getLastDisableAppCaller(),
1029 otherState.getEnabledComponentsNoCopy() == null
1030 ? null : otherState.getEnabledComponentsNoCopy().untrackedStorage(),
[all …]
/frameworks/base/core/tests/PlatformCompatFramework/src/com/android/internal/compat/
DChangeReporterTest.java38 int myState = ChangeReporter.STATE_ENABLED, otherState = ChangeReporter.STATE_DISABLED; in testStatsLogOnce() local
48 assertTrue(reporter.shouldWriteToStatsLog(myUid, myChangeId, otherState)); in testStatsLogOnce()
74 int myState = ChangeReporter.STATE_ENABLED, otherState = ChangeReporter.STATE_LOGGED; in testDebugLogOnce() local
84 assertTrue(reporter.shouldWriteToDebug(myUid, myChangeId, otherState)); in testDebugLogOnce()
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/planner/
DLayerState.h188 const OutputLayerState* otherState = static_cast<const OutputLayerState*>(other);
189 return *this != *otherState ? FIELD : ftl::Flags<LayerStateField>{};
198 const OutputLayerState* otherState = static_cast<const OutputLayerState*>(other);
199 return *this == *otherState;
/frameworks/base/services/core/java/com/android/server/am/
DAppPermissionTracker.java332 final UidGrantedPermissionState otherState = (UidGrantedPermissionState) other; in equals() local
333 return mUid == otherState.mUid && mAppOp == otherState.mAppOp in equals()
334 && Objects.equals(mPermission, otherState.mPermission); in equals()
/frameworks/base/core/java/com/android/internal/app/procstats/
DProcessStats.java305 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()