/frameworks/native/services/surfaceflinger/ |
H A D | Transform.cpp | 36 Transform::Transform(const Transform& other) argument 37 : mMatrix(other.mMatrix), mType(other.mType) {
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
H A D | ApnSetting.java | 78 * This should be spread to other technologies, 86 * This should be spread to other technologies, 519 ApnSetting other = (ApnSetting) o; 521 return carrier.equals(other.carrier) 522 && id == other.id 523 && numeric.equals(other.numeric) 524 && apn.equals(other.apn) 525 && proxy.equals(other.proxy) 526 && mmsc.equals(other.mmsc) 527 && mmsProxy.equals(other 601 similar(ApnSetting other) argument [all...] |
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/ |
H A D | TimeZoneInfo.java | 247 * Returns a negative integer if this instance is less than the other; a 248 * positive integer if this instance is greater than the other; 0 if this 249 * instance has the same order as the other. 252 public int compareTo(TimeZoneInfo other) { argument 253 if (this.getNowOffsetMillis() != other.getNowOffsetMillis()) { 254 return (other.getNowOffsetMillis() < this.getNowOffsetMillis()) ? -1 : 1; 259 if (other.mCountry != null) { 264 if (other.mCountry == null) { 267 int diff = this.mCountry.compareTo(other.mCountry); 275 if (mDisplayName != null && other [all...] |
/frameworks/support/compat/java/android/support/v4/os/ |
H A D | LocaleListHelper.java | 109 public boolean equals(Object other) { argument 110 if (other == this) { 113 if (!(other instanceof LocaleListHelper)) { 116 final Locale[] otherList = ((LocaleListHelper) other).mList; 490 * is an indication that the system has set the default locale to one of the user's other 557 * default locale may have been chosen to be a locale other than the first locale in the locale
|
/frameworks/support/room/runtime/src/main/java/android/arch/persistence/room/ |
H A D | RoomSQLiteQuery.java | 219 * @param other The other query, which holds the arguments to be copied. 221 public void copyArgumentsFrom(RoomSQLiteQuery other) { argument 222 int argCount = other.getArgCount() + 1; // +1 for the binding offsets 223 System.arraycopy(other.mBindingTypes, 0, mBindingTypes, 0, argCount); 224 System.arraycopy(other.mLongBindings, 0, mLongBindings, 0, argCount); 225 System.arraycopy(other.mStringBindings, 0, mStringBindings, 0, argCount); 226 System.arraycopy(other.mBlobBindings, 0, mBlobBindings, 0, argCount); 227 System.arraycopy(other.mDoubleBindings, 0, mDoubleBindings, 0, argCount);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/graphics/ |
H A D | CompositeDrawable.java | 45 CompositeState(CompositeState other, CompositeDrawable parent, Resources res) { argument 46 final int n = other.mChildren.size(); 49 mChildren.add(new ChildDrawable(other.mChildren.get(k), parent, res));
|
H A D | FitWidthBitmapDrawable.java | 51 BitmapState(BitmapState other) { argument 52 mBitmap = other.mBitmap; 53 mPaint = new Paint(other.mPaint); 54 mSource = other.mSource != null ? new Rect(other.mSource) : null; 55 mDefaultSource.set(other.mDefaultSource); 56 mOffset = other.mOffset;
|
/frameworks/support/v7/preference/src/android/support/v7/preference/ |
H A D | PreferenceGroupAdapter.java | 92 public PreferenceLayout(PreferenceLayout other) { argument 93 resId = other.resId; 94 widgetResId = other.widgetResId; 95 name = other.name; 103 final PreferenceLayout other = (PreferenceLayout) o; 104 return resId == other.resId 105 && widgetResId == other.widgetResId 106 && TextUtils.equals(name, other.name);
|
/frameworks/av/media/libstagefright/codec2/include/ |
H A D | C2Param.h | 71 * an error for the specific setting, but should continue to apply other settings. 388 // if other is the same kind of (valid) param as this, copy it into this and return true. 390 inline bool updateFrom(const C2Param &other) { argument 391 if (other._mSize == _mSize && other._mIndex == _mIndex && _mSize > 0) { 392 memcpy(this, &other, _mSize); 548 inline bool operator==(const _C2FieldId &other) const { 549 return _mOffset == other._mOffset && _mSize == other._mSize; 552 inline bool operator<(const _C2FieldId &other) cons [all...] |
/frameworks/base/core/java/android/accessibilityservice/ |
H A D | GestureDescription.java | 421 public void copyFrom(TouchPoint other) { argument 422 mStrokeId = other.mStrokeId; 423 mContinuedStrokeId = other.mContinuedStrokeId; 424 mIsStartOfPath = other.mIsStartOfPath; 425 mIsEndOfPath = other.mIsEndOfPath; 426 mX = other.mX; 427 mY = other.mY;
|
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothCodecConfig.java | 94 BluetoothCodecConfig other = (BluetoothCodecConfig)o; 95 return (other.mCodecType == mCodecType && 96 other.mCodecPriority == mCodecPriority && 97 other.mSampleRate == mSampleRate && 98 other.mBitsPerSample == mBitsPerSample && 99 other.mChannelMode == mChannelMode && 100 other.mCodecSpecific1 == mCodecSpecific1 && 101 other.mCodecSpecific2 == mCodecSpecific2 && 102 other.mCodecSpecific3 == mCodecSpecific3 && 103 other 399 sameAudioFeedingParameters(BluetoothCodecConfig other) argument [all...] |
/frameworks/base/core/java/android/content/ |
H A D | ClipData.java | 82 * creating shortcuts (such as placing icons on the home screen) or other 109 * or other binary data as an attachment. This is accomplished through the 132 * URI consisting of a complicated structure that only other applications with 201 public Item(Item other) { argument 202 mText = other.mText; 203 mHtmlText = other.mHtmlText; 204 mIntent = other.mIntent; 205 mUri = other.mUri; 325 * and other things can be retrieved. 409 * and other thing 727 ClipData(ClipData other) argument [all...] |
/frameworks/base/core/java/android/hardware/display/ |
H A D | DisplayManagerInternal.java | 127 * may choose to make the physical display mirror some other logical display. 184 * have to micro-manage screen off animations, auto-brightness and other effects. 259 public DisplayPowerRequest(DisplayPowerRequest other) { argument 260 copyFrom(other); 271 public void copyFrom(DisplayPowerRequest other) { argument 272 policy = other.policy; 273 useProximitySensor = other.useProximitySensor; 274 screenBrightness = other.screenBrightness; 275 screenAutoBrightnessAdjustment = other.screenAutoBrightnessAdjustment; 276 screenLowPowerBrightnessFactor = other 292 equals(DisplayPowerRequest other) argument [all...] |
/frameworks/base/core/java/android/print/ |
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...] |
/frameworks/base/core/java/android/util/ |
H A D | TypedValue.java | 170 * This tells you how to interpret the other fields in the object. */ 408 * @param base The base value of this fraction. In other words, a 410 * @param pbase The parent base value of this fraction. In other 432 * @param base The base value of this fraction. In other words, a 434 * @param pbase The parent base value of this fraction. In other 512 public void setTo(TypedValue other) argument 514 type = other.type; 515 string = other.string; 516 data = other.data; 517 assetCookie = other [all...] |
/frameworks/base/core/java/android/view/ |
H A D | DisplayInfo.java | 265 public DisplayInfo(DisplayInfo other) { argument 266 copyFrom(other); 278 public boolean equals(DisplayInfo other) { argument 279 return other != null 280 && layerStack == other.layerStack 281 && flags == other.flags 282 && type == other.type 283 && Objects.equal(address, other.address) 284 && Objects.equal(uniqueId, other.uniqueId) 285 && appWidth == other 319 copyFrom(DisplayInfo other) argument [all...] |
H A D | PointerIcon.java | 375 public boolean equals(Object other) { argument 376 if (this == other) { 380 if (other == null || !(other instanceof PointerIcon)) { 384 PointerIcon otherIcon = (PointerIcon) other;
|
/frameworks/base/core/java/com/android/internal/inputmethod/ |
H A D | InputMethodSubtypeSwitchingController.java | 122 * @param other the object to be compared. 124 * to, or greater than the specified <code>other</code> object. 127 public int compareTo(ImeSubtypeListItem other) { argument 128 int result = compareNullableCharSequences(mImeName, other.mImeName); 133 result = (mIsSystemLocale ? -1 : 0) - (other.mIsSystemLocale ? -1 : 0); 138 result = (mIsSystemLanguage ? -1 : 0) - (other.mIsSystemLanguage ? -1 : 0); 142 return compareNullableCharSequences(mSubtypeName, other.mSubtypeName);
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | BatterySipper.java | 143 public int compareTo(BatterySipper other) { argument 145 if (drainType != other.drainType) { 149 } else if (other.drainType == DrainType.OVERCOUNTED) { 154 return Double.compare(other.totalPowerMah, totalPowerMah); 173 * Add stats from other to this BatterySipper. 175 public void add(BatterySipper other) { argument 176 totalPowerMah += other.totalPowerMah; 177 usageTimeMs += other.usageTimeMs; 178 usagePowerMah += other.usagePowerMah; 179 cpuTimeMs += other [all...] |
/frameworks/base/graphics/java/android/graphics/ |
H A D | Region.java | 315 * @param other Region to copy values from for initialization. 319 public static Region obtain(Region other) { argument 321 region.set(other);
|
/frameworks/base/libs/hwui/ |
H A D | ClipArea.cpp | 62 const TransformedRectangle& other) const { 64 return mTransform == other.mTransform; 67 void TransformedRectangle::intersectWith(const TransformedRectangle& other) { argument 68 mBounds.doIntersect(other.mBounds); 267 // existing clipping information from the other modes. 445 SkRegion other; local 452 other.setRect(resultClip.toSkIRect()); 456 other.setPath(transformedRect, createViewportRegion()); 462 other = transformedList.convertToRegion(createViewportRegion()); 466 other 496 const RectangleList& other = getRectList(recordedClip); local 535 SkRegion other; local [all...] |
/frameworks/base/libs/input/ |
H A D | SpriteController.h | 42 inline bool operator== (const SpriteTransformationMatrix& other) { argument 43 return dsdx == other.dsdx 44 && dtdx == other.dtdx 45 && dsdy == other.dsdy 46 && dtdy == other.dtdy; 49 inline bool operator!= (const SpriteTransformationMatrix& other) { argument 50 return !(*this == other); 87 * A sprite is a simple graphical object that is displayed on-screen above other layers. 135 * by other components.
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/flow/ |
H A D | OSUInfo.java | 185 public int compareTo(ScoreEntry other) { argument 186 return Integer.compare(mScore, other.mScore);
|
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/qs/ |
H A D | QSTile.java | 119 public boolean copyTo(State other) { argument 120 if (other == null) throw new IllegalArgumentException(); 121 if (!other.getClass().equals(getClass())) throw new IllegalArgumentException(); 122 final boolean changed = !Objects.equals(other.icon, icon) 123 || !Objects.equals(other.iconSupplier, iconSupplier) 124 || !Objects.equals(other.label, label) 125 || !Objects.equals(other.contentDescription, contentDescription) 126 || !Objects.equals(other.dualLabelContentDescription, 128 || !Objects.equals(other.expandedAccessibilityClassName, 130 || !Objects.equals(other 183 copyTo(State other) argument 214 copyTo(State other) argument 250 copyTo(State other) argument [all...] |
/frameworks/base/services/core/java/com/android/server/ |
H A D | AnyMotionDetector.java | 390 * @param other The other Vector3 vector. 391 * @return angle between this vector and the other given one. 393 public float angleBetween(Vector3 other) { argument 394 Vector3 crossVector = cross(other); 396 Math.atan2(crossVector.norm(), dotProduct(other)))); 398 ", other = " + other.toString() + ", degrees = " + degrees);
|