/frameworks/base/core/java/android/print/ |
H A D | PrintJobInfo.java | 205 public PrintJobInfo(PrintJobInfo other) { argument 206 mId = other.mId; 207 mLabel = other.mLabel; 208 mPrinterId = other.mPrinterId; 209 mPrinterName = other.mPrinterName; 210 mState = other.mState; 211 mAppId = other.mAppId; 212 mTag = other.mTag; 213 mCreationTime = other.mCreationTime; 214 mCopies = other [all...] |
H A D | PrinterCapabilitiesInfo.java | 86 public void copyFrom(PrinterCapabilitiesInfo other) { argument 87 if (this == other) { 91 mMinMargins = other.mMinMargins; 93 if (other.mMediaSizes != null) { 96 mMediaSizes.addAll(other.mMediaSizes); 98 mMediaSizes = new ArrayList<MediaSize>(other.mMediaSizes); 104 if (other.mResolutions != null) { 107 mResolutions.addAll(other.mResolutions); 109 mResolutions = new ArrayList<Resolution>(other.mResolutions); 115 mColorModes = other [all...] |
H A D | PrinterId.java | 96 PrinterId other = (PrinterId) object; 97 if (!mServiceName.equals(other.mServiceName)) { 100 if (!mLocalId.equals(other.mLocalId)) {
|
H A D | PrinterInfo.java | 307 * @param other the other {@link PrinterInfo} 311 public boolean equalsIgnoringStatus(PrinterInfo other) { argument 312 if (!mId.equals(other.mId)) { 315 if (!mName.equals(other.mName)) { 318 if (!TextUtils.equals(mDescription, other.mDescription)) { 322 if (other.mCapabilities != null) { 325 } else if (!mCapabilities.equals(other.mCapabilities)) { 328 if (mIconResourceId != other.mIconResourceId) { 331 if (mHasCustomPrinterIcon != other 419 Builder(@onNull PrinterInfo other) argument [all...] |
/frameworks/base/core/java/android/printservice/ |
H A D | PrintJob.java | 449 PrintJob other = (PrintJob) obj; 450 return (mCachedInfo.getId().equals(other.mCachedInfo.getId()));
|
H A D | PrintServiceInfo.java | 285 PrintServiceInfo other = (PrintServiceInfo) obj; 287 if (other.mId != null) { 290 } else if (!mId.equals(other.mId)) {
|
/frameworks/base/core/java/android/security/net/config/ |
H A D | Domain.java | 46 public boolean equals(Object other) { argument 47 if (other == this) { 50 if (!(other instanceof Domain)) { 53 Domain otherDomain = (Domain) other;
|
H A D | Pin.java | 66 Pin other = (Pin) obj; 67 if (other.hashCode() != mHashCode) { 70 if (!Arrays.equals(digest, other.digest)) { 73 if (!digestAlgorithm.equals(other.digestAlgorithm)) {
|
/frameworks/base/core/java/android/service/notification/ |
H A D | Condition.java | 87 * might still be enabled globally if other conditions are in a {@link #STATE_TRUE} state. 181 final Condition other = (Condition) o; 182 return Objects.equals(other.id, id) 183 && Objects.equals(other.summary, summary) 184 && Objects.equals(other.line1, line1) 185 && Objects.equals(other.line2, line2) 186 && other.icon == icon 187 && other.state == state 188 && other.flags == flags;
|
H A D | ZenModeConfig.java | 333 final ZenModeConfig other = (ZenModeConfig) o; 334 return other.allowCalls == allowCalls 335 && other.allowRepeatCallers == allowRepeatCallers 336 && other.allowMessages == allowMessages 337 && other.allowCallsFrom == allowCallsFrom 338 && other.allowMessagesFrom == allowMessagesFrom 339 && other.allowReminders == allowReminders 340 && other.allowEvents == allowEvents 341 && other.allowWhenScreenOff == allowWhenScreenOff 342 && other [all...] |
/frameworks/base/core/java/android/speech/tts/ |
H A D | Voice.java | 221 Voice other = (Voice) obj; 223 if (other.mFeatures != null) { 226 } else if (!mFeatures.equals(other.mFeatures)) { 229 if (mLatency != other.mLatency) { 233 if (other.mLocale != null) { 236 } else if (!mLocale.equals(other.mLocale)) { 240 if (other.mName != null) { 243 } else if (!mName.equals(other.mName)) { 246 if (mQuality != other.mQuality) { 249 if (mRequiresNetworkConnection != other [all...] |
/frameworks/base/core/java/android/text/ |
H A D | Layout.java | 144 * width, and other standard properties. 164 * width, and other standard properties. 898 * the direction other than the paragraph's primary direction. 1210 float other = Math.abs(getHorizontal(aft, primary) - horiz); 1212 if (other < dist) { 1213 dist = other;
|
H A D | SpannableStringBuilder.java | 1081 * @param right Index of the other element to compare. 1545 Spanned other = (Spanned) o; 1547 Object[] otherSpans = other.getSpans(0, other.length(), Object.class); 1553 if (other != otherSpan || 1554 getSpanStart(thisSpan) != other.getSpanStart(otherSpan) || 1555 getSpanEnd(thisSpan) != other.getSpanEnd(otherSpan) || 1556 getSpanFlags(thisSpan) != other.getSpanFlags(otherSpan)) { 1560 getSpanStart(thisSpan) != other.getSpanStart(otherSpan) || 1561 getSpanEnd(thisSpan) != other [all...] |
H A D | SpannableStringInternal.java | 444 Spanned other = (Spanned) o; 446 Object[] otherSpans = other.getSpans(0, other.length(), Object.class); 452 if (other != otherSpan || 453 getSpanStart(thisSpan) != other.getSpanStart(otherSpan) || 454 getSpanEnd(thisSpan) != other.getSpanEnd(otherSpan) || 455 getSpanFlags(thisSpan) != other.getSpanFlags(otherSpan)) { 459 getSpanStart(thisSpan) != other.getSpanStart(otherSpan) || 460 getSpanEnd(thisSpan) != other.getSpanEnd(otherSpan) || 461 getSpanFlags(thisSpan) != other [all...] |
/frameworks/base/core/java/android/text/format/ |
H A D | Time.java | 191 * @param other 193 public Time(Time other) { argument 194 initialize(other.timezone); 195 set(other); 255 * the other fields. Requires that it be normalized for MONTH_DAY and 734 * field. On the other hand, if you are adding 992 * hour at 12am on April 25, 2008 and there are a few other places that 1261 // Read-only fields that are derived from other information above.
|
/frameworks/base/core/java/android/text/util/ |
H A D | Rfc822Token.java | 198 Rfc822Token other = (Rfc822Token) o; 199 return (stringEquals(mName, other.mName) && 200 stringEquals(mAddress, other.mAddress) && 201 stringEquals(mComment, other.mComment));
|
/frameworks/base/core/java/android/transition/ |
H A D | TransitionValues.java | 31 * be unique to avoid clobbering values stored by other transitions, 62 public boolean equals(Object other) { argument 63 if (other instanceof TransitionValues) { 64 if (view == ((TransitionValues) other).view) { 65 if (values.equals(((TransitionValues) other).values)) {
|
/frameworks/base/core/java/android/util/ |
H A D | DisplayMetrics.java | 44 * density, instead allow the platform to scale from other densities 288 * Returns true if these display metrics equal the other display metrics. 290 * @param other The display metrics with which to compare. 293 public boolean equals(DisplayMetrics other) { argument 294 return equalsPhysical(other) 295 && scaledDensity == other.scaledDensity 296 && noncompatScaledDensity == other.noncompatScaledDensity; 304 * @param other The display metrics with which to compare. 308 public boolean equalsPhysical(DisplayMetrics other) { argument 309 return other ! [all...] |
H A D | MemoryIntArray.java | 35 * each other. 64 * @param clientWritable Whether other processes can write to the array. 191 MemoryIntArray other = (MemoryIntArray) obj; 193 if (other.mFd != null) { 196 } else if (mFd.getFd() != other.mFd.getFd()) {
|
H A D | Range.java | 156 Range other = (Range) obj; 157 return mLower.equals(other.mLower) && mUpper.equals(other.mUpper); 199 * @return the intersection of this range and the other range. 231 * @return the intersection of this range and the other range 268 * @return the extension of this range and the other range. 279 // other includes this 282 // this inludes other 299 * @return the extension of this range and the other range. 312 // this inludes other [all...] |
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...] |
H A D | Size.java | 59 * A size object is never equal to any other type of object. 73 Size other = (Size) obj; 74 return mWidth == other.mWidth && mHeight == other.mHeight;
|
H A D | SizeF.java | 83 final SizeF other = (SizeF) obj; 84 return mWidth == other.mWidth && mHeight == other.mHeight;
|
H A D | SparseBooleanArray.java | 259 SparseBooleanArray other = (SparseBooleanArray) that; 260 if (mSize != other.mSize) { 265 if (mKeys[i] != other.mKeys[i]) { 268 if (mValues[i] != other.mValues[i]) {
|
H A D | TypedValue.java | 170 * This tells you how to interpret the other fields in the object. */ 387 * @param base The base value of this fraction. In other words, a 389 * @param pbase The parent base value of this fraction. In other 411 * @param base The base value of this fraction. In other words, a 413 * @param pbase The parent base value of this fraction. In other 491 public void setTo(TypedValue other) argument 493 type = other.type; 494 string = other.string; 495 data = other.data; 496 assetCookie = other [all...] |