Searched defs:other (Results 26 - 50 of 293) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/hardware/camera2/marshal/
H A DMarshalRegistry.java117 public boolean equals(Object other) { argument
118 if (other instanceof MarshalToken<?>) {
119 MarshalToken<?> otherToken = (MarshalToken<?>)other;
/frameworks/base/core/java/android/text/
H A DTextPaint.java84 public boolean hasEqualAttributes(@NonNull TextPaint other) { argument
85 return bgColor == other.bgColor
86 && baselineShift == other.baselineShift
87 && linkColor == other.linkColor
88 && drawableState == other.drawableState
89 && density == other.density
90 && underlineColor == other.underlineColor
91 && underlineThickness == other.underlineThickness
92 && super.hasEqualAttributes((Paint) other);
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/
H A DTaskKeyStrongCache.java34 final void copyEntries(TaskKeyStrongCache<V> other) { argument
35 for (int i = other.mKeys.size() - 1; i >= 0; i--) {
36 TaskKey key = other.mKeys.valueAt(i);
37 put(key, other.mCache.get(key.id));
/frameworks/base/services/core/java/com/android/server/twilight/
H A DTwilightState.java87 public boolean equals(TwilightState other) { argument
88 return other != null
89 && mSunriseTimeMillis == other.mSunriseTimeMillis
90 && mSunsetTimeMillis == other.mSunsetTimeMillis;
/frameworks/native/libs/vr/libvrflinger/
H A Dacquired_buffer.cpp34 AcquiredBuffer::AcquiredBuffer(AcquiredBuffer&& other) { argument
35 *this = std::move(other);
40 AcquiredBuffer& AcquiredBuffer::operator=(AcquiredBuffer&& other) { argument
41 if (this != &other) {
45 swap(buffer_, other.buffer_);
46 swap(acquire_fence_, other.acquire_fence_);
47 swap(slot_, other.slot_);
/frameworks/rs/cpp/util/
H A DStrongPointer.h68 sp(T* other); // NOLINT, implicit
69 sp(const sp<T>& other);
70 template<typename U> sp(U* other); // NOLINT, implicit
71 template<typename U> sp(const sp<U>& other); // NOLINT, implicit
77 sp& operator = (T* other);
78 sp& operator = (const sp<T>& other);
80 template<typename U> sp& operator = (const sp<U>& other);
81 template<typename U> sp& operator = (U* other);
84 void force_set(T* other);
121 sp<T>::sp(T* other)
141 sp(const sp<U>& other) argument
154 operator =(const sp<T>& other) argument
163 operator =(T* other) argument
172 operator =(const sp<U>& other) argument
182 operator =(U* other) argument
191 force_set(T* other) argument
[all...]
/frameworks/support/compat/src/main/java/androidx/core/os/
H A DLocaleListInterface.java50 boolean equals(Object other); argument
/frameworks/support/room/migration/src/main/java/androidx/room/migration/bundle/
H A DFieldBundle.java64 public boolean isSchemaEqual(FieldBundle other) { argument
65 if (mNonNull != other.mNonNull) return false;
66 if (mColumnName != null ? !mColumnName.equals(other.mColumnName)
67 : other.mColumnName != null) {
70 return mAffinity != null ? mAffinity.equals(other.mAffinity) : other.mAffinity == null;
/frameworks/av/include/media/
H A DModulo.h65 // or equal to the rank of the type of the other operand, the operand with signed
102 Modulo<T> operator +=(const Modulo<S> &other) { argument
104 mValue += other.unsignedValue();
110 Modulo<T> operator -=(const Modulo<S> &other) { argument
112 mValue -= other.unsignedValue();
120 const Modulo<T> operator +(const Modulo<S> &other) const {
122 return Modulo<T>(mValue + other.unsignedValue());
127 const Modulo<T> operator -(const Modulo<S> &other) const {
129 return Modulo<T>(mValue - other.unsignedValue());
139 bool operator >(const Modulo<S> &other) cons
177 operator +=(const S &other) argument
184 operator -=(const S &other) argument
[all...]
/frameworks/av/media/libmedia/include/media/
H A DModulo.h65 // or equal to the rank of the type of the other operand, the operand with signed
102 Modulo<T> operator +=(const Modulo<S> &other) { argument
104 mValue += other.unsignedValue();
110 Modulo<T> operator -=(const Modulo<S> &other) { argument
112 mValue -= other.unsignedValue();
120 const Modulo<T> operator +(const Modulo<S> &other) const {
122 return Modulo<T>(mValue + other.unsignedValue());
127 const Modulo<T> operator -(const Modulo<S> &other) const {
129 return Modulo<T>(mValue - other.unsignedValue());
139 bool operator >(const Modulo<S> &other) cons
177 operator +=(const S &other) argument
184 operator -=(const S &other) argument
[all...]
/frameworks/base/core/java/android/content/
H A DPeriodicSync.java64 public PeriodicSync(PeriodicSync other) { argument
65 this.account = other.account;
66 this.authority = other.authority;
67 this.extras = new Bundle(other.extras);
68 this.period = other.period;
69 this.flexTime = other.flexTime;
127 final PeriodicSync other = (PeriodicSync) o;
128 return account.equals(other.account)
129 && authority.equals(other.authority)
130 && period == other
[all...]
/frameworks/base/core/java/android/content/pm/
H A DVerifierDeviceIdentity.java197 public boolean equals(Object other) { argument
198 if (!(other instanceof VerifierDeviceIdentity)) {
202 final VerifierDeviceIdentity o = (VerifierDeviceIdentity) other;
/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteDatabaseConfiguration.java128 * database and default values for all other parameters.
150 * @param other The other configuration.
152 public SQLiteDatabaseConfiguration(SQLiteDatabaseConfiguration other) { argument
153 if (other == null) {
154 throw new IllegalArgumentException("other must not be null.");
157 this.path = other.path;
158 this.label = other.label;
159 updateParametersFrom(other);
164 * from the other configuratio
168 updateParametersFrom(SQLiteDatabaseConfiguration other) argument
[all...]
/frameworks/base/core/java/android/net/
H A DUidRange.java61 * @return {@code true} if this range contains every UID contained by the {@param other} range.
63 public boolean containsRange(UidRange other) { argument
64 return start <= other.start && other.stop <= stop;
81 UidRange other = (UidRange) o;
82 return start == other.start && stop == other.stop;
/frameworks/base/core/java/android/os/
H A DBatteryProperties.java40 public void set(BatteryProperties other) { argument
41 chargerAcOnline = other.chargerAcOnline;
42 chargerUsbOnline = other.chargerUsbOnline;
43 chargerWirelessOnline = other.chargerWirelessOnline;
44 maxChargingCurrent = other.maxChargingCurrent;
45 maxChargingVoltage = other.maxChargingVoltage;
46 batteryStatus = other.batteryStatus;
47 batteryHealth = other.batteryHealth;
48 batteryPresent = other.batteryPresent;
49 batteryLevel = other
[all...]
H A DHwRemoteBinder.java68 public final native boolean equals(Object other); argument
/frameworks/base/core/java/android/view/
H A DMagnificationSpec.java65 public static MagnificationSpec obtain(MagnificationSpec other) { argument
67 info.scale = other.scale;
68 info.offsetX = other.offsetX;
69 info.offsetY = other.offsetY;
89 public void setTo(MagnificationSpec other) { argument
90 scale = other.scale;
91 offsetX = other.offsetX;
92 offsetY = other.offsetY;
109 public boolean equals(Object other) { argument
110 if (this == other) {
[all...]
H A DWindowInfo.java65 public static WindowInfo obtain(WindowInfo other) { argument
67 window.type = other.type;
68 window.layer = other.layer;
69 window.token = other.token;
70 window.parentToken = other.parentToken;
71 window.activityToken = other.activityToken;
72 window.focused = other.focused;
73 window.boundsInScreen.set(other.boundsInScreen);
74 window.title = other.title;
75 window.accessibilityIdOfAnchor = other
[all...]
/frameworks/base/core/java/com/android/internal/inputmethod/
H A DLocaleUtils.java129 public int compareTo(final ScoreEntry other) { argument
130 return -1 * compare(mScore, other.mScore); // Order by descending order.
/frameworks/base/libs/hwui/
H A DProfileData.cpp80 void ProfileData::mergeWith(const ProfileData& other) { argument
86 for (size_t i = 0; i < other.mJankTypeCounts.size(); i++) {
88 mJankTypeCounts[i] += other.mJankTypeCounts[i];
90 for (size_t i = 0; i < other.mFrameCounts.size(); i++) {
92 mFrameCounts[i] += other.mFrameCounts[i];
95 mJankFrameCount += other.mJankFrameCount;
97 mTotalFrameCount += other.mTotalFrameCount;
98 if (mStatStartTime > other.mStatStartTime || mStatStartTime == 0) {
99 mStatStartTime = other.mStatStartTime;
/frameworks/base/libs/hwui/tests/unit/
H A DThreadBaseTests.cpp100 Counter(const Counter& other) : mCount(other.mCount) { argument
104 Counter(Counter&& other) : mCount(other.mCount) { argument
105 other.mCount = nullptr;
109 Counter& operator=(const Counter& other) { argument
110 mCount = other.mCount;
115 Counter& operator=(Counter&& other) { argument
116 mCount = other.mCount;
117 other
[all...]
/frameworks/base/libs/hwui/utils/
H A DFatVector.h11 * documentation and/or other materials provided with the distribution.
58 InlineStdAllocator(const InlineStdAllocator& other) : mAllocation(other.mAllocation) {} argument
/frameworks/base/media/java/android/media/
H A DMediaRouterClientState.java110 public RouteInfo(RouteInfo other) { argument
111 id = other.id;
112 name = other.name;
113 description = other.description;
114 supportedTypes = other.supportedTypes;
115 enabled = other.enabled;
116 statusCode = other.statusCode;
117 playbackType = other.playbackType;
118 playbackStream = other.playbackStream;
119 volume = other
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/job/
H A DMockPriorityJobService.java89 public boolean equals(Object other) { argument
90 if (other instanceof Event) {
91 Event otherEvent = (Event) other;
/frameworks/base/telecomm/java/android/telecom/
H A DPhoneAccountHandle.java83 * collide with values generated on other phones or after a data wipe of a given phone.
119 public boolean equals(Object other) { argument
120 return other != null &&
121 other instanceof PhoneAccountHandle &&
122 Objects.equals(((PhoneAccountHandle) other).getComponentName(),
124 Objects.equals(((PhoneAccountHandle) other).getId(), getId()) &&
125 Objects.equals(((PhoneAccountHandle) other).getUserHandle(), getUserHandle());

Completed in 619 milliseconds

1234567891011>>