Searched defs:other (Results 76 - 100 of 293) sorted by relevance

1234567891011>>

/frameworks/support/tv-provider/src/main/java/androidx/tvprovider/media/tv/
H A DPreviewProgram.java108 public boolean equals(Object other) { argument
109 if (!(other instanceof PreviewProgram)) {
112 return mValues.equals(((PreviewProgram) other).mValues);
116 * Indicates whether some other PreviewProgram has any set attribute that is different from
209 * @param other The Program you're copying from.
211 public Builder(PreviewProgram other) { argument
212 mValues = new ContentValues(other.mValues);
/frameworks/base/core/java/android/app/admin/
H A DPasswordMetrics.java161 public boolean equals(Object other) { argument
162 if (!(other instanceof PasswordMetrics)) {
165 PasswordMetrics o = (PasswordMetrics) other;
/frameworks/base/core/java/android/hardware/camera2/params/
H A DMeteringRectangle.java224 public boolean equals(final Object other) { argument
225 return other instanceof MeteringRectangle && equals((MeteringRectangle)other);
234 * @param other Another MeteringRectangle
238 public boolean equals(final MeteringRectangle other) { argument
239 if (other == null) {
243 return (mX == other.mX
244 && mY == other.mY
245 && mWidth == other.mWidth
246 && mHeight == other
[all...]
/frameworks/base/core/java/android/hardware/display/
H A DWifiDisplay.java139 public boolean equals(WifiDisplay other) { argument
140 return other != null
141 && mDeviceAddress.equals(other.mDeviceAddress)
142 && mDeviceName.equals(other.mDeviceName)
143 && Objects.equals(mDeviceAlias, other.mDeviceAlias);
147 * Returns true if the other display is not null and has the same address as this one.
151 public boolean hasSameAddress(WifiDisplay other) { argument
152 return other != null && mDeviceAddress.equals(other.mDeviceAddress);
/frameworks/base/core/java/android/net/
H A DLinkAddress.java222 * the other is not.
253 * @param other the {@code LinkAddress} to compare to.
258 public boolean isSameAddressAs(LinkAddress other) { argument
259 return address.equals(other.address) && prefixLength == other.prefixLength;
/frameworks/base/core/java/android/util/
H A DRational.java179 * <p>A finite value occurs when the denominator is not {@code 0}; in other words
213 * other type will return {@code false}).</p>
243 private boolean equals(Rational other) { argument
244 return (mNumerator == other.mNumerator && mDenominator == other.mDenominator);
255 * <li>All other values will return {@code "numerator/denominator"} where {@code numerator}
446 * <p>{@link #NaN} is considered to be equal to itself and greater than all other
451 * <li>Positive infinity is greater than any other finite number (or negative infinity)
452 * <li>Negative infinity is less than any other finite number (or positive infinity)
454 * against the other finit
[all...]
/frameworks/base/core/java/android/view/
H A DFrameMetrics.java115 * Equal to the sum of the values of all other time-valued metric
130 * and are usually hidden by window animations or other tricks.
261 * @param other the FrameMetrics object to copy.
263 public FrameMetrics(FrameMetrics other) { argument
265 System.arraycopy(other.mTimingData, 0, mTimingData, 0, mTimingData.length);
H A DInputChannel.java54 private native void nativeTransferTo(InputChannel other); argument
80 * dispatcher and the other to the application's input queue.
119 * @param other The other input channel instance.
/frameworks/base/libs/hwui/
H A DRenderProperties.cpp60 LayerProperties& LayerProperties::operator=(const LayerProperties& other) { argument
61 setType(other.type());
62 setOpaque(other.opaque());
63 setAlpha(other.alpha());
64 setXferMode(other.xferMode());
65 setColorFilter(other.colorFilter());
82 RenderProperties& RenderProperties::operator=(const RenderProperties& other) { argument
83 if (this != &other) {
84 mPrimitiveFields = other.mPrimitiveFields;
85 setStaticMatrix(other
[all...]
/frameworks/base/libs/hwui/thread/
H A DWorkQueue.h47 WorkItem(const WorkItem& other) = delete; member in struct:android::uirenderer::WorkQueue::WorkItem
48 WorkItem& operator=(const WorkItem& other) = delete; member in struct:android::uirenderer::WorkQueue::WorkItem
49 WorkItem(WorkItem&& other) = default; member in struct:android::uirenderer::WorkQueue::WorkItem
50 WorkItem& operator=(WorkItem&& other) = default; member in struct:android::uirenderer::WorkQueue::WorkItem
/frameworks/base/libs/usb/tests/accessorytest/
H A Daudio.c56 int index, other; local
64 other = (index == 0 ? 1 : 0);
66 if (buffer_states[other] == BUFFER_EMPTY)
67 empty_index = other;
90 int index, other; local
98 other = (index == 0 ? 1 : 0);
100 if (buffer_states[other] == BUFFER_FULL)
101 full_index = other;
/frameworks/base/media/java/android/media/
H A DRemoteDisplayState.java119 public RemoteDisplayInfo(RemoteDisplayInfo other) { argument
120 id = other.id;
121 name = other.name;
122 description = other.description;
123 status = other.status;
124 volume = other.volume;
125 volumeMax = other.volumeMax;
126 volumeHandling = other.volumeHandling;
127 presentationDisplayId = other.presentationDisplayId;
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DTaskViewTransform.java81 public void copyFrom(TaskViewTransform other) { argument
82 translationZ = other.translationZ;
83 scale = other.scale;
84 alpha = other.alpha;
85 visible = other.visible;
86 dimAlpha = other.dimAlpha;
87 viewOutlineAlpha = other.viewOutlineAlpha;
88 rect.set(other.rect);
92 * @return whether {@param other} is the same transform as this
94 public boolean isSame(TaskViewTransform other) { argument
[all...]
/frameworks/base/services/core/java/com/android/server/location/
H A DLocationRequestStatistics.java86 public boolean equals(Object other) { argument
87 if (!(other instanceof PackageProviderKey)) {
91 PackageProviderKey otherKey = (PackageProviderKey) other;
/frameworks/base/services/core/java/com/android/server/pm/
H A DCrossProfileIntentFilter.java136 boolean equalsIgnoreFilter(CrossProfileIntentFilter other) { argument
137 return mTargetUserId == other.mTargetUserId
138 && mOwnerPackage.equals(other.mOwnerPackage)
139 && mFlags == other.mFlags;
/frameworks/base/telephony/java/android/telephony/
H A DCellIdentity.java172 public boolean equals(Object other) { argument
173 if (!(other instanceof CellIdentity)) {
177 CellIdentity o = (CellIdentity) other;
H A DCellIdentityCdma.java180 public boolean equals(Object other) { argument
181 if (this == other) {
185 if (!(other instanceof CellIdentityCdma)) {
189 CellIdentityCdma o = (CellIdentityCdma) other;
196 && super.equals(other);
H A DCellIdentityTdscdma.java150 public boolean equals(Object other) { argument
151 if (this == other) {
155 if (!(other instanceof CellIdentityTdscdma)) {
159 CellIdentityTdscdma o = (CellIdentityTdscdma) other;
165 && super.equals(other);
H A DCellIdentityWcdma.java193 public boolean equals(Object other) { argument
194 if (this == other) {
198 if (!(other instanceof CellIdentityWcdma)) {
202 CellIdentityWcdma o = (CellIdentityWcdma) other;
209 && super.equals(other);
/frameworks/base/tests/SmokeTest/tests/src/com/android/smoketest/
H A DProcessErrorsTest.java349 public boolean equals(Object other) { argument
350 if (other == null) return false;
351 if (!(other instanceof ProcessError)) return false;
352 ProcessError peOther = (ProcessError) other;
/frameworks/base/wifi/java/android/net/wifi/aware/
H A DWifiAwareAgentNetworkSpecifier.java124 public boolean satisfiedBy(NetworkSpecifier other) { argument
125 if (!(other instanceof WifiAwareAgentNetworkSpecifier)) {
128 WifiAwareAgentNetworkSpecifier otherNs = (WifiAwareAgentNetworkSpecifier) other;
H A DWifiAwareNetworkSpecifier.java194 public boolean satisfiedBy(NetworkSpecifier other) { argument
196 if (other instanceof WifiAwareAgentNetworkSpecifier) {
197 return ((WifiAwareAgentNetworkSpecifier) other).satisfiesAwareNetworkSpecifier(this);
199 return equals(other);
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/
H A DModelMethod.java92 public boolean isBetterArgMatchThan(ModelMethod other, List<ModelClass> args) { argument
94 final ModelClass[] otherParameterTypes = other.getParameterTypes();
98 final ModelClass thatParameter = other.getParameter(i, otherParameterTypes);
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/writer/
H A DFlagSet.java66 public boolean intersect(FlagSet other, int bucketIndex) { argument
67 return (buckets[bucketIndex] & other.buckets[bucketIndex]) != 0;
90 public FlagSet andNot(FlagSet other) { argument
92 final int min = Math.min(buckets.length, other.buckets.length);
94 result.buckets[i] &= ~(other.buckets[i]);
99 public FlagSet or(FlagSet other) { argument
100 final FlagSet result = new FlagSet(buckets, other.buckets.length);
101 for (int i = 0; i < other.buckets.length; i ++) {
102 result.buckets[i] |= other.buckets[i];
132 public boolean bitsEqual(FlagSet other) { argument
[all...]
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/store/
H A DLocation.java58 public Location(Location other) { argument
59 startOffset = other.startOffset;
60 endOffset = other.endOffset;
61 startLine = other.startLine;
62 endLine = other.endLine;
152 public boolean contains(Location other) { argument
153 if (startLine > other.startLine) {
156 if (startLine == other.startLine && startOffset > other.startOffset) {
159 if (endLine < other
[all...]

Completed in 438 milliseconds

1234567891011>>