/frameworks/support/tv-provider/src/main/java/androidx/tvprovider/media/tv/ |
H A D | PreviewProgram.java | 108 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 D | PasswordMetrics.java | 161 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 D | MeteringRectangle.java | 224 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 D | WifiDisplay.java | 139 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 D | LinkAddress.java | 222 * 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 D | Rational.java | 179 * <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 D | FrameMetrics.java | 115 * 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 D | InputChannel.java | 54 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 D | RenderProperties.cpp | 60 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 D | WorkQueue.h | 47 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 D | audio.c | 56 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 D | RemoteDisplayState.java | 119 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 D | TaskViewTransform.java | 81 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 D | LocationRequestStatistics.java | 86 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 D | CrossProfileIntentFilter.java | 136 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 D | CellIdentity.java | 172 public boolean equals(Object other) { argument 173 if (!(other instanceof CellIdentity)) { 177 CellIdentity o = (CellIdentity) other;
|
H A D | CellIdentityCdma.java | 180 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 D | CellIdentityTdscdma.java | 150 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 D | CellIdentityWcdma.java | 193 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 D | ProcessErrorsTest.java | 349 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 D | WifiAwareAgentNetworkSpecifier.java | 124 public boolean satisfiedBy(NetworkSpecifier other) { argument 125 if (!(other instanceof WifiAwareAgentNetworkSpecifier)) { 128 WifiAwareAgentNetworkSpecifier otherNs = (WifiAwareAgentNetworkSpecifier) other;
|
H A D | WifiAwareNetworkSpecifier.java | 194 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 D | ModelMethod.java | 92 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 D | FlagSet.java | 66 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 D | Location.java | 58 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...] |