/frameworks/support/room/runtime/src/main/java/androidx/room/ |
H A D | RoomSQLiteQuery.java | 269 * @param other The other query, which holds the arguments to be copied. 271 public void copyArgumentsFrom(RoomSQLiteQuery other) { argument 272 int argCount = other.getArgCount() + 1; // +1 for the binding offsets 273 System.arraycopy(other.mBindingTypes, 0, mBindingTypes, 0, argCount); 274 System.arraycopy(other.mLongBindings, 0, mLongBindings, 0, argCount); 275 System.arraycopy(other.mStringBindings, 0, mStringBindings, 0, argCount); 276 System.arraycopy(other.mBlobBindings, 0, mBlobBindings, 0, argCount); 277 System.arraycopy(other.mDoubleBindings, 0, mDoubleBindings, 0, argCount);
|
/frameworks/av/packages/MediaComponents/src/com/android/media/update/ |
H A D | ApiFactory.java | 122 SessionCommandGroup2 instance, SessionCommandGroup2 other) { 124 (other == null) ? null : other.getProvider()); 121 createMediaSession2CommandGroup( SessionCommandGroup2 instance, SessionCommandGroup2 other) argument
|
/frameworks/av/packages/MediaComponents/src/com/android/support/mediarouter/media/ |
H A D | MediaRouteProviderService.java | 592 public boolean hasMessenger(Messenger other) { argument 593 return mMessenger.getBinder() == other.getBinder(); 651 * This handler should not be used to handle any messages other than those
|
/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/app/ |
H A D | WindowConfiguration.java | 35 * Class that contains windowing configuration/state for other objects that contain windows directly 66 /** Always on-top (always visible). of other siblings in its parent container. */ 264 // affect how other things is the system is managed. 279 public void setTo(WindowConfiguration other) { argument 280 setBounds(other.mBounds); 281 setAppBounds(other.mAppBounds); 282 setWindowingMode(other.mWindowingMode); 283 setActivityType(other.mActivityType); 334 * Does not change the values of either. Any undefined fields in <var>other</var> are ignored. 335 * @param other Th 343 diff(WindowConfiguration other, boolean compareUndefined) argument [all...] |
/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 400 sameAudioFeedingParameters(BluetoothCodecConfig other) argument [all...] |
/frameworks/base/core/java/android/content/ |
H A D | ClipData.java | 84 * creating shortcuts (such as placing icons on the home screen) or other 111 * or other binary data as an attachment. This is accomplished through the 134 * URI consisting of a complicated structure that only other applications with 203 public Item(Item other) { argument 204 mText = other.mText; 205 mHtmlText = other.mHtmlText; 206 mIntent = other.mIntent; 207 mUri = other.mUri; 327 * and other things can be retrieved. 411 * and other thing 748 ClipData(ClipData other) argument [all...] |
H A D | SyncStatusInfo.java | 281 public SyncStatusInfo(SyncStatusInfo other) { argument 282 authorityId = other.authorityId; 284 other.totalStats.copyTo(totalStats); 285 other.todayStats.copyTo(todayStats); 286 other.yesterdayStats.copyTo(yesterdayStats); 288 lastTodayResetTime = other.lastTodayResetTime; 290 lastSuccessTime = other.lastSuccessTime; 291 lastSuccessSource = other.lastSuccessSource; 292 lastFailureTime = other.lastFailureTime; 293 lastFailureSource = other [all...] |
/frameworks/base/core/java/android/hardware/display/ |
H A D | DisplayManagerInternal.java | 128 * may choose to make the physical display mirror some other logical display. 195 * have to micro-manage screen off animations, auto-brightness and other effects. 264 public DisplayPowerRequest(DisplayPowerRequest other) { argument 265 copyFrom(other); 276 public void copyFrom(DisplayPowerRequest other) { argument 277 policy = other.policy; 278 useProximitySensor = other.useProximitySensor; 279 screenBrightnessOverride = other.screenBrightnessOverride; 280 useAutoBrightness = other.useAutoBrightness; 281 screenAutoBrightnessAdjustmentOverride = other 296 equals(DisplayPowerRequest other) argument [all...] |
/frameworks/base/core/java/android/os/ |
H A D | WorkSource.java | 182 WorkSource other = (WorkSource) o; 184 if (diff(other)) { 189 return mChains.equals(other.mChains); 191 return other.mChains == null || other.mChains.isEmpty(); 219 * @param other The WorkSource to compare against. 224 public boolean diff(WorkSource other) { argument 226 if (N != other.mNum) { 230 final int[] uids2 = other.mUids; 232 final String[] names2 = other 249 set(WorkSource other) argument 331 setReturningDiffs(WorkSource other) argument 352 add(WorkSource other) argument 382 addReturningNewbs(WorkSource other) argument 437 remove(WorkSource other) argument 506 transferWorkChains(WorkSource other) argument 523 removeUids(WorkSource other) argument 555 removeUidsAndNames(WorkSource other) argument 593 updateLocked(WorkSource other, boolean set, boolean returnNewbs) argument 617 updateUidsLocked(WorkSource other, boolean set, boolean returnNewbs) argument 693 compare(WorkSource other, int i1, int i2) argument 709 updateUidsAndNamesLocked(WorkSource other, boolean set, boolean returnNewbs) argument 876 WorkChain(WorkChain 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 | 279 public DisplayInfo(DisplayInfo other) { argument 280 copyFrom(other); 292 public boolean equals(DisplayInfo other) { argument 293 return other != null 294 && layerStack == other.layerStack 295 && flags == other.flags 296 && type == other.type 297 && Objects.equals(address, other.address) 298 && Objects.equals(uniqueId, other.uniqueId) 299 && appWidth == other 334 copyFrom(DisplayInfo other) argument [all...] |
H A D | PointerIcon.java | 379 public boolean equals(Object other) { argument 380 if (this == other) { 384 if (other == null || !(other instanceof PointerIcon)) { 388 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 | 148 public int compareTo(BatterySipper other) { argument 150 if (drainType != other.drainType) { 154 } else if (other.drainType == DrainType.OVERCOUNTED) { 159 return Double.compare(other.totalPowerMah, totalPowerMah); 178 * Add stats from other to this BatterySipper. 180 public void add(BatterySipper other) { argument 181 totalPowerMah += other.totalPowerMah; 182 usageTimeMs += other.usageTimeMs; 183 usagePowerMah += other.usagePowerMah; 184 audioTimeMs += 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 | 57 bool TransformedRectangle::canSimplyIntersectWith(const TransformedRectangle& other) const { 58 return mTransform == other.mTransform; 61 void TransformedRectangle::intersectWith(const TransformedRectangle& other) { argument 62 mBounds.doIntersect(other.mBounds); 253 // existing clipping information from the other modes. 427 SkRegion other; local 434 other.setRect(resultClip.toSkIRect()); 438 other.setPath(transformedRect, createViewportRegion()); 444 other = transformedList.convertToRegion(createViewportRegion()); 448 other 478 const RectangleList& other = getRectList(recordedClip); local 517 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/SettingsLib/src/com/android/settingslib/ |
H A D | RestrictedLockUtils.java | 750 public EnforcedAdmin(EnforcedAdmin other) { argument 751 if (other == null) { 754 this.component = other.component; 755 this.enforcedRestriction = other.enforcedRestriction; 756 this.userId = other.userId;
|
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/qs/ |
H A D | QSTile.java | 120 public boolean copyTo(State other) { argument 121 if (other == null) throw new IllegalArgumentException(); 122 if (!other.getClass().equals(getClass())) throw new IllegalArgumentException(); 123 final boolean changed = !Objects.equals(other.icon, icon) 124 || !Objects.equals(other.iconSupplier, iconSupplier) 125 || !Objects.equals(other.label, label) 126 || !Objects.equals(other.secondaryLabel, secondaryLabel) 127 || !Objects.equals(other.contentDescription, contentDescription) 128 || !Objects.equals(other.dualLabelContentDescription, 130 || !Objects.equals(other 187 copyTo(State other) argument 218 copyTo(State other) argument 254 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);
|
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/ |
H A D | OffloadHardwareInterface.java | 79 public void add(ForwardedStats other) { argument 80 rxBytes += other.rxBytes; 81 txBytes += other.txBytes;
|
/frameworks/base/services/core/java/com/android/server/content/ |
H A D | SyncOperation.java | 156 public SyncOperation(SyncOperation other) { argument 157 target = other.target; 158 owningUid = other.owningUid; 159 owningPackage = other.owningPackage; 160 reason = other.reason; 161 syncSource = other.syncSource; 162 allowParallelSyncs = other.allowParallelSyncs; 163 extras = new Bundle(other.extras); 164 wakeLockName = other.wakeLockName(); 165 isPeriodic = other 328 matchesPeriodicOperation(SyncOperation other) argument [all...] |
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
H A D | PermissionsState.java | 93 * @param other The other instance. 95 public void copyFrom(PermissionsState other) { argument 96 if (other == this) { 100 if (other.mPermissions == null) { 106 if (other.mPermissions != null) { 110 final int permissionCount = other.mPermissions.size(); 112 String name = other.mPermissions.keyAt(i); 113 PermissionData permissionData = other.mPermissions.valueAt(i); 119 if (other 659 PermissionData(PermissionData other) argument 793 PermissionState(PermissionState other) argument [all...] |