Home
last modified time | relevance | path

Searched refs:other (Results 1 – 25 of 64) sorted by relevance

123

/platform_testing/libraries/flicker/src/android/tools/flicker/subject/region/
DRegionTraceSubject.kt47 override fun isHigherOrEqual(other: Rect): RegionTraceSubject = isHigherOrEqual(Region(other)) in isHigherOrEqual()
50 override fun isHigherOrEqual(other: Region): RegionTraceSubject = apply { in isHigherOrEqual()
51 addAssertion("isHigherOrEqual($other, $componentsAsString)") { it.isHigherOrEqual(other) } in isHigherOrEqual()
55 override fun isLowerOrEqual(other: Rect): RegionTraceSubject = isLowerOrEqual(Region(other)) in isLowerOrEqual()
58 override fun isLowerOrEqual(other: Region): RegionTraceSubject = apply { in isLowerOrEqual()
59 addAssertion("isLowerOrEqual($other, $componentsAsString)") { it.isLowerOrEqual(other) } in isLowerOrEqual()
63 override fun isToTheRight(other: Region): RegionTraceSubject = apply { in <lambda>()
64 addAssertion("isToTheRight($other, $componentsAsString)") { it.isToTheRight(other) } in <lambda>()
68 override fun isHigher(other: Rect): RegionTraceSubject = isHigher(Region(other)) in isHigher()
71 override fun isHigher(other: Region): RegionTraceSubject = apply { in isHigher()
[all …]
DIRegionSubject.kt32 fun isHigherOrEqual(other: Rect): IRegionSubject
42 fun isHigherOrEqual(other: Region): IRegionSubject
52 fun isLowerOrEqual(other: Rect): IRegionSubject
62 fun isLowerOrEqual(other: Region): IRegionSubject
71 fun isToTheRight(other: Region): IRegionSubject
80 fun isHigher(other: Rect): IRegionSubject
89 fun isHigher(other: Region): IRegionSubject
98 fun isLower(other: Rect): IRegionSubject
107 fun isLower(other: Region): IRegionSubject
116 fun coversAtMost(other: Region): IRegionSubject
[all …]
DRegionSubject.kt113 fun minus(other: Region): RegionSubject { in <lambda>()
115 remainingRegion.op(other, Region.Op.XOR) in <lambda>()
120 fun plus(other: Region): RegionSubject { in <lambda>()
122 remainingRegion.op(other, Region.Op.UNION) in <lambda>()
130 override fun isHigherOrEqual(other: Rect): RegionSubject = isHigherOrEqual(Region(other)) in <lambda>()
133 override fun isHigherOrEqual(other: Region): RegionSubject = apply { in <lambda>()
134 assertLeftRightAndAreaEquals(other) in <lambda>()
137 other, in <lambda>()
143 other, in <lambda>()
153 override fun isLowerOrEqual(other: Rect): RegionSubject = isLowerOrEqual(Region(other)) in <lambda>()
[all …]
/platform_testing/libraries/flicker/utils/src/android/tools/traces/wm/
DWindowLayoutParams.kt62 override fun equals(other: Any?): Boolean { in equals()
63 if (this === other) return true in equals()
64 if (other !is WindowLayoutParams) return false in equals()
66 if (type != other.type) return false in equals()
67 if (x != other.x) return false in equals()
68 if (y != other.y) return false in equals()
69 if (width != other.width) return false in equals()
70 if (height != other.height) return false in equals()
71 if (horizontalMargin != other.horizontalMargin) return false in equals()
72 if (verticalMargin != other.verticalMargin) return false in equals()
[all …]
DWindowState.kt75 override fun equals(other: Any?): Boolean { in <lambda>()
76 if (this === other) return true in <lambda>()
77 if (other !is WindowState) return false in <lambda>()
79 if (attributes != other.attributes) return false in <lambda>()
80 if (displayId != other.displayId) return false in <lambda>()
81 if (stackId != other.stackId) return false in <lambda>()
82 if (layer != other.layer) return false in <lambda>()
83 if (isSurfaceShown != other.isSurfaceShown) return false in <lambda>()
84 if (windowType != other.windowType) return false in <lambda>()
85 if (requestedSize != other.requestedSize) return false in <lambda>()
[all …]
DDisplayContent.kt115 override fun equals(other: Any?): Boolean { in <lambda>()
116 if (this === other) return true in <lambda>()
117 if (other !is DisplayContent) return false in <lambda>()
118 if (!super.equals(other)) return false in <lambda>()
120 if (displayId != other.displayId) return false in <lambda>()
121 if (focusedRootTaskId != other.focusedRootTaskId) return false in <lambda>()
122 if (resumedActivity != other.resumedActivity) return false in <lambda>()
123 if (defaultPinnedStackBounds != other.defaultPinnedStackBounds) return false in <lambda>()
124 if (pinnedStackMovementBounds != other.pinnedStackMovementBounds) return false in <lambda>()
125 if (stableBounds != other.stableBounds) return false in <lambda>()
[all …]
DDisplayArea.kt54 override fun equals(other: Any?): Boolean { in <lambda>()
55 if (this === other) return true in <lambda>()
56 if (other !is DisplayArea) return false in <lambda>()
58 if (isTaskDisplayArea != other.isTaskDisplayArea) return false in <lambda>()
59 if (isVisible != other.isVisible) return false in <lambda>()
60 if (orientation != other.orientation) return false in <lambda>()
61 if (title != other.title) return false in <lambda>()
62 if (token != other.token) return false in <lambda>()
63 if (windowContainer != other.windowContainer) return false in <lambda>()
DActivity.kt62 override fun equals(other: Any?): Boolean { in <lambda>()
63 if (this === other) return true in <lambda>()
64 if (other !is Activity) return false in <lambda>()
66 if (state != other.state) return false in <lambda>()
67 if (frontOfTask != other.frontOfTask) return false in <lambda>()
68 if (procId != other.procId) return false in <lambda>()
69 if (isTranslucent != other.isTranslucent) return false in <lambda>()
70 if (orientation != other.orientation) return false in <lambda>()
71 if (title != other.title) return false in <lambda>()
72 if (token != other.token) return false in <lambda>()
[all …]
DConfiguration.kt49 override fun equals(other: Any?): Boolean { in equals()
50 if (this === other) return true in equals()
51 if (other !is Configuration) return false in equals()
53 if (windowConfiguration != other.windowConfiguration) return false in equals()
54 if (densityDpi != other.densityDpi) return false in equals()
55 if (orientation != other.orientation) return false in equals()
56 if (screenHeightDp != other.screenHeightDp) return false in equals()
57 if (screenWidthDp != other.screenWidthDp) return false in equals()
58 if (smallestScreenWidthDp != other.smallestScreenWidthDp) return false in equals()
59 if (screenLayout != other.screenLayout) return false in equals()
[all …]
DWindowManagerPolicy.kt67 override fun equals(other: Any?): Boolean { in equals()
68 if (this === other) return true in equals()
69 if (other !is WindowManagerPolicy) return false in equals()
71 if (focusedAppToken != other.focusedAppToken) return false in equals()
72 if (forceStatusBar != other.forceStatusBar) return false in equals()
73 if (forceStatusBarFromKeyguard != other.forceStatusBarFromKeyguard) return false in equals()
74 if (keyguardDrawComplete != other.keyguardDrawComplete) return false in equals()
75 if (keyguardOccluded != other.keyguardOccluded) return false in equals()
76 if (keyguardOccludedChanged != other.keyguardOccludedChanged) return false in equals()
77 if (keyguardOccludedPending != other.keyguardOccludedPending) return false in equals()
[all …]
DDisplayCutout.kt33 override fun equals(other: Any?): Boolean { in equals()
34 if (this === other) return true in equals()
35 if (other !is DisplayCutout) return false in equals()
37 if (insets != other.insets) return false in equals()
38 if (boundLeft != other.boundLeft) return false in equals()
39 if (boundTop != other.boundTop) return false in equals()
40 if (boundRight != other.boundRight) return false in equals()
41 if (boundBottom != other.boundBottom) return false in equals()
42 if (waterfallInsets != other.waterfallInsets) return false in equals()
DTask.kt125 override fun equals(other: Any?): Boolean { in <lambda>()
126 if (this === other) return true in <lambda>()
127 if (other !is Task) return false in <lambda>()
129 if (activityType != other.activityType) return false in <lambda>()
130 if (isFullscreen != other.isFullscreen) return false in <lambda>()
131 if (bounds != other.bounds) return false in <lambda>()
132 if (taskId != other.taskId) return false in <lambda>()
133 if (rootTaskId != other.rootTaskId) return false in <lambda>()
134 if (displayId != other.displayId) return false in <lambda>()
135 if (realActivity != other.realActivity) return false in <lambda>()
[all …]
DWindowConfiguration.kt43 override fun equals(other: Any?): Boolean { in equals()
44 if (this === other) return true in equals()
45 if (other !is WindowConfiguration) return false in equals()
47 if (windowingMode != other.windowingMode) return false in equals()
48 if (activityType != other.activityType) return false in equals()
49 if (appBounds != other.appBounds) return false in equals()
50 if (bounds != other.bounds) return false in equals()
51 if (maxBounds != other.maxBounds) return false in equals()
DTaskFragment.kt65 override fun equals(other: Any?): Boolean { in <lambda>()
66 if (this === other) return true in <lambda>()
67 if (other !is TaskFragment) return false in <lambda>()
69 if (activityType != other.activityType) return false in <lambda>()
70 if (displayId != other.displayId) return false in <lambda>()
71 if (minWidth != other.minWidth) return false in <lambda>()
72 if (minHeight != other.minHeight) return false in <lambda>()
73 if (windowContainer != other.windowContainer) return false in <lambda>()
DKeyguardControllerState.kt39 override fun equals(other: Any?): Boolean { in equals()
40 if (this === other) return true in equals()
41 if (other !is KeyguardControllerState) return false in equals()
43 if (isAodShowing != other.isAodShowing) return false in equals()
44 if (isKeyguardShowing != other.isKeyguardShowing) return false in equals()
45 if (keyguardOccludedStates != other.keyguardOccludedStates) return false in equals()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/inputmethod/
DEditorInfo.kt38 override fun equals(other: Any?): Boolean { in equals()
39 if (this === other) return true in equals()
40 if (other !is EditorInfo) return false in equals()
42 if (inputType != other.inputType) return false in equals()
43 if (imeOptions != other.imeOptions) return false in equals()
44 if (privateImeOptions != other.privateImeOptions) return false in equals()
45 if (packageName != other.packageName) return false in equals()
46 if (fieldId != other.fieldId) return false in equals()
47 if (targetInputMethodUserId != other.targetInputMethodUserId) return false in equals()
DInsets.kt37 override fun equals(other: Any?): Boolean { in equals()
38 if (this === other) return true in equals()
39 if (other !is Insets) return false in equals()
41 if (contentTopInsets != other.contentTopInsets) return false in equals()
42 if (visibleTopInsets != other.visibleTopInsets) return false in equals()
43 if (touchableInsets != other.touchableInsets) return false in equals()
44 if (touchableRegion != other.touchableRegion) return false in equals()
DSoftInputWindow.kt35 override fun equals(other: Any?): Boolean { in equals()
36 if (this === other) return true in equals()
37 if (other !is SoftInputWindow) return false in equals()
39 if (bounds != other.bounds) return false in equals()
40 if (windowState != other.windowState) return false in equals()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/view/
DViewNode.kt46 override fun equals(other: Any?): Boolean { in equals()
47 if (this === other) return true in equals()
48 if (other !is ViewNode) return false in equals()
50 if (classNameIndex != other.classNameIndex) return false in equals()
51 if (hashcode != other.hashcode) return false in equals()
52 if (id != other.id) return false in equals()
53 if (bounds != other.bounds) return false in equals()
54 if (scroll != other.scroll) return false in equals()
55 if (translation != other.translation) return false in equals()
56 if (scale != other.scale) return false in equals()
[all …]
/platform_testing/libraries/flicker/utils/src/android/tools/traces/surfaceflinger/
DLayerProperties.kt89 override fun equals(other: Any?): Boolean { in equals()
90 if (this === other) return true in equals()
91 if (other !is LayerProperties) return false in equals()
93 if (visibleRegion != other.visibleRegion) return false in equals()
94 if (activeBuffer != other.activeBuffer) return false in equals()
95 if (flags != other.flags) return false in equals()
96 if (bounds != other.bounds) return false in equals()
97 if (color != other.color) return false in equals()
98 if (_isOpaque != other._isOpaque) return false in equals()
99 if (shadowRadius != other.shadowRadius) return false in equals()
[all …]
DLayer.kt212 fun overlaps(other: Layer, crop: RectF = RectF()): Boolean { in overlaps()
217 otherBounds = other.screenBounds.crop(crop) in overlaps()
220 otherBounds = other.screenBounds in overlaps()
240 override fun equals(other: Any?): Boolean { in equals()
241 if (this === other) return true in equals()
242 if (other !is Layer) return false in equals()
244 if (name != other.name) return false in equals()
245 if (id != other.id) return false in equals()
246 if (parentId != other.parentId) return false in equals()
247 if (z != other.z) return false in equals()
[all …]
/platform_testing/libraries/flicker/utils/src/android/tools/datatypes/
DDataType.kt33 final override fun equals(other: Any?): Boolean { in doPrintValue()
34 if (this === other) return true in doPrintValue()
35 if (other !is DataType) return false in doPrintValue()
36 if (this::class != other::class) return false in doPrintValue()
38 return hashCode == other.hashCode in doPrintValue()
/platform_testing/libraries/flicker/utils/src/android/tools/
DTimestamp.kt145 override fun equals(other: Any?): Boolean { in equals()
146 if (other !is Timestamp) { in equals()
149 return compareTo(other) == 0 in equals()
152 override fun compareTo(other: Timestamp): Int { in compareTo()
154 if (other.preferredType == this.preferredType) { in compareTo()
157 useType = other.preferredType in compareTo()
158 } else if (other.preferredType == PreferredType.ANY) { in compareTo()
163 PreferredType.ELAPSED -> this.elapsedNanos.compareTo(other.elapsedNanos) in compareTo()
164 PreferredType.SYSTEM_UPTIME -> this.systemUptimeNanos.compareTo(other.systemUptimeNanos) in compareTo()
170 this.hasUnixTimestamp && other.hasUnixTimestamp -> in compareTo()
[all …]
DScenarioImpl.kt75 override fun equals(other: Any?): Boolean { in getConfigValue()
76 if (this === other) return true in getConfigValue()
77 if (other !is ScenarioImpl) return false in getConfigValue()
79 if (testClass != other.testClass) return false in getConfigValue()
80 if (startRotation != other.startRotation) return false in getConfigValue()
81 if (endRotation != other.endRotation) return false in getConfigValue()
82 if (navBarMode != other.navBarMode) return false in getConfigValue()
83 if (description != other.description) return false in getConfigValue()
84 if (extraConfig != other.extraConfig) return false in getConfigValue()
/platform_testing/libraries/flicker/src/android/tools/flicker/assertors/assertions/
DAssertionTemplateWithComponent.kt28 override fun equals(other: Any?): Boolean { in <lambda>()
29 if (other !is AssertionTemplateWithComponent) { in <lambda>()
34 if (this::class != other::class) { in <lambda>()
38 if (components.size != other.components.size) { in <lambda>()
44 return components.zip(other.components).all { it.first == it.second } in <lambda>()

123