/frameworks/base/core/java/android/accessibilityservice/ |
H A D | AccessibilityServiceInfo.java | 554 * @param other The info from which to update the properties. 558 public void updateDynamicallyConfigurableProperties(AccessibilityServiceInfo other) { argument 559 eventTypes = other.eventTypes; 560 packageNames = other.packageNames; 561 feedbackType = other.feedbackType; 562 notificationTimeout = other.notificationTimeout; 563 flags = other.flags; 749 AccessibilityServiceInfo other = (AccessibilityServiceInfo) obj; 751 if (other.mId != null) { 754 } else if (!mId.equals(other [all...] |
H A D | GestureDescription.java | 313 void copyFrom(TouchPoint other) { argument 314 mPathIndex = other.mPathIndex; 315 mIsStartOfPath = other.mIsStartOfPath; 316 mIsEndOfPath = other.mIsEndOfPath; 317 mX = other.mX; 318 mY = other.mY;
|
/frameworks/base/core/java/android/content/ |
H A D | ClipData.java | 76 * creating shortcuts (such as placing icons on the home screen) or other 103 * or other binary data as an attachment. This is accomplished through the 126 * URI consisting of a complicated structure that only other applications with 311 * and other things can be retrieved. 386 * and other things can be retrieved. 436 * and other things can be retrieved. 675 * @param other The existing ClipData that is to be copied. 677 public ClipData(ClipData other) { argument 678 mClipDescription = other.mClipDescription; 679 mIcon = other [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...] |
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...] |
/frameworks/base/core/java/android/util/ |
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...] |
/frameworks/base/core/java/android/view/ |
H A D | DisplayInfo.java | 259 public DisplayInfo(DisplayInfo other) { argument 260 copyFrom(other); 272 public boolean equals(DisplayInfo other) { argument 273 return other != null 274 && layerStack == other.layerStack 275 && flags == other.flags 276 && type == other.type 277 && Objects.equal(address, other.address) 278 && Objects.equal(uniqueId, other.uniqueId) 279 && appWidth == other 312 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 | 99 public int compareTo(ImeSubtypeListItem other) { argument 103 if (TextUtils.isEmpty(other.mImeName)) { 106 if (!TextUtils.equals(mImeName, other.mImeName)) { 107 return mImeName.toString().compareTo(other.mImeName.toString()); 109 if (TextUtils.equals(mSubtypeName, other.mSubtypeName)) { 115 if (other.mIsSystemLocale) { 121 if (other.mIsSystemLanguage) { 127 if (TextUtils.isEmpty(other.mSubtypeName)) { 130 return mSubtypeName.toString().compareTo(other.mSubtypeName.toString());
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | BatterySipper.java | 106 public int compareTo(BatterySipper other) { argument 108 if (drainType != other.drainType) { 112 } else if (other.drainType == DrainType.OVERCOUNTED) { 117 return Double.compare(other.totalPowerMah, totalPowerMah); 136 * Add stats from other to this BatterySipper. 138 public void add(BatterySipper other) { argument 139 totalPowerMah += other.totalPowerMah; 140 usageTimeMs += other.usageTimeMs; 141 usagePowerMah += other.usagePowerMah; 142 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 499 const RectangleList& other = getRectList(recordedClip); 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); 84 * A sprite is a simple graphical object that is displayed on-screen above other layers. 132 * by other components.
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/model/ |
H A D | RootInfo.java | 348 RootInfo other = (RootInfo) o; 349 return Objects.equals(authority, other.authority) 350 && Objects.equals(rootId, other.rootId); 362 public int compareTo(RootInfo other) { argument 364 int score = derivedType - other.derivedType; 369 score = compareToIgnoreCaseNullable(title, other.title); 374 return compareToIgnoreCaseNullable(summary, other.summary);
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | AnyMotionDetector.java | 337 * @param other The other Vector3 vector. 338 * @return angle between this vector and the other given one. 340 public float angleBetween(Vector3 other) { argument 341 Vector3 crossVector = cross(other); 343 Math.atan2(crossVector.norm(), dotProduct(other)))); 345 ", other = " + other.toString() + ", degrees = " + degrees);
|
/frameworks/base/services/core/java/com/android/server/content/ |
H A D | SyncOperation.java | 149 public SyncOperation(SyncOperation other) { argument 150 target = other.target; 151 owningUid = other.owningUid; 152 owningPackage = other.owningPackage; 153 reason = other.reason; 154 syncSource = other.syncSource; 155 allowParallelSyncs = other.allowParallelSyncs; 156 extras = new Bundle(other.extras); 157 wakeLockName = other.wakeLockName(); 158 isPeriodic = other 312 matchesPeriodicOperation(SyncOperation other) argument [all...] |
/frameworks/base/services/core/java/com/android/server/pm/ |
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 613 PermissionData(PermissionData other) argument 747 PermissionState(PermissionState other) argument [all...] |
/frameworks/native/opengl/libs/EGL/ |
H A D | egl_display.h | 206 // egl_display_ptr(egl_display_ptr&& other) { 207 // mDpy = other.mDpy; 208 // other.mDpy = NULL; 211 egl_display_ptr(const egl_display_ptr& other): mDpy(other.mDpy) { argument
|
/frameworks/native/vulkan/libvulkan/ |
H A D | layers_extensions.cpp | 74 LayerLibrary(LayerLibrary&& other) argument 75 : path_(std::move(other.path_)), 76 dlhandle_(other.dlhandle_), 77 refcount_(other.refcount_) { 78 other.dlhandle_ = nullptr; 79 other.refcount_ = 0; 372 // the APK. Loading still may fail for other reasons, but this at least 495 LayerRef::LayerRef(LayerRef&& other) : layer_(other.layer_) { argument 496 other [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/pps/ |
H A D | HomeSP.java | 31 * As a convenience, the object also refers to the other sub-parts of the full 330 public boolean deepEquals(HomeSP other) { argument 331 return mFQDN.equals(other.mFQDN) && 332 mSSIDs.equals(other.mSSIDs) && 333 mOtherHomePartners.equals(other.mOtherHomePartners) && 334 mRoamingConsortiums.equals(other.mRoamingConsortiums) && 335 mMatchAnyOIs.equals(other.mMatchAnyOIs) && 336 mMatchAllOIs.equals(other.mMatchAllOIs) && 337 mFriendlyName.equals(other.mFriendlyName) && 338 Utils.compare(mIconURL, other [all...] |
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
H A D | MediaRouteProviderService.java | 531 public boolean hasMessenger(Messenger other) { argument 532 return mMessenger.getBinder() == other.getBinder(); 589 * This handler should not be used to handle any messages other than those
|
/frameworks/av/media/libmedia/ |
H A D | AudioTrackShared.cpp | 36 // a value between "other" + 1 and "other" + INT32_MAX, the choice of 38 // In general, this means (new_self) returned is max(self, other) + 1. 40 static uint32_t incrementSequence(uint32_t self, uint32_t other) { argument 41 int32_t diff = (int32_t) self - (int32_t) other; 43 return self + 1; // we're already ahead of other. 45 return other + 1; // we're behind, so move just ahead of other. 182 // On the other hand, this barrier is required. 303 case EINTR: // wait was interrupted by signal or other spuriou [all...] |
/frameworks/av/media/libstagefright/foundation/ |
H A D | AMessage.cpp | 764 sp<AMessage> AMessage::changesFrom(const sp<const AMessage> &other, bool deep) const { argument 765 if (other == NULL) { 770 if (mWhat != other->mWhat) { 773 if (mHandler != other->mHandler) { 779 const Item *oitem = other->findItem(item.mName, item.mType);
|
/frameworks/base/core/java/android/hardware/camera2/impl/ |
H A D | CameraMetadataNative.java | 149 * Compare this key against other native keys, request keys, result keys, and 210 // TODO: remove this; other places should use #getTypeReference() instead 274 public CameraMetadataNative(CameraMetadataNative other) { argument 276 mMetadataPtr = nativeAllocateCopy(other); 283 * Move the contents from {@code other} into a new camera metadata instance.</p> 285 * <p>After this call, {@code other} will become empty.</p> 287 * @param other the previous metadata instance which will get pilfered 288 * @return a new metadata instance with the values from {@code other} moved into it 290 public static CameraMetadataNative move(CameraMetadataNative other) { argument 292 newObject.swap(other); 1078 nativeAllocateCopy(CameraMetadataNative other) argument 1083 nativeSwap(CameraMetadataNative other) argument 1109 swap(CameraMetadataNative other) argument [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.
|