/frameworks/base/graphics/java/android/graphics/ |
H A D | Paint.java | 594 public boolean hasEqualAttributes(@NonNull Paint other) { argument 595 return mColorFilter == other.mColorFilter 596 && mMaskFilter == other.mMaskFilter 597 && mPathEffect == other.mPathEffect 598 && mShader == other.mShader 599 && mTypeface == other.mTypeface 600 && mXfermode == other.mXfermode 601 && mHasCompatScaling == other.mHasCompatScaling 602 && mCompatScaling == other.mCompatScaling 603 && mInvCompatScaling == other [all...] |
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/androidfw/ |
H A D | ResourceTypes.cpp | 466 // The data is at least as big as a ResChunk_header, so we can safely validate the other 2241 // than the other. 2247 // than the other. 2264 // because one doesn't have a language and the other has a matching 2276 // better match if the other resource has a country other than 2303 // See if any of the regions is better than the other. 2385 ALOGI("Comparing this %dx%d to other %dx%d in %dx%d: myDelta=%d otherDelta=%d", 2414 // undefined, then the other is really a better match. 3424 // be shared by other ResTabl 3586 setTo(const Theme& other) argument 6651 addMappings(const DynamicRefTable& other) argument [all...] |
/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...] |
H A D | ProfileData.cpp | 86 void ProfileData::mergeWith(const ProfileData& other) { argument 92 for (size_t i = 0; i < other.mJankTypeCounts.size(); i++) { 94 mJankTypeCounts[i] += other.mJankTypeCounts[i]; 96 for (size_t i = 0; i < other.mFrameCounts.size(); i++) { 98 mFrameCounts[i] += other.mFrameCounts[i]; 101 mJankFrameCount += other.mJankFrameCount; 103 mTotalFrameCount += other.mTotalFrameCount; 104 if (mStatStartTime > other.mStatStartTime 106 mStatStartTime = other.mStatStartTime;
|
H A D | Rect.h | 239 /* For other geometry, we do the regular rounding in order to snap, but also outset the 268 void expandToCover(const Rect& other) { argument 269 left = std::min(left, other.left); 270 top = std::min(top, other.top); 271 right = std::max(right, other.right); 272 bottom = std::max(bottom, other.bottom);
|
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()); 87 RenderProperties& RenderProperties::operator=(const RenderProperties& other) { argument 88 if (this != &other) { 89 mPrimitiveFields = other.mPrimitiveFields; 90 setStaticMatrix(other [all...] |
/frameworks/base/libs/hwui/hwui/ |
H A D | PaintImpl.cpp | 41 Paint& Paint::operator=(const Paint& other) { argument 42 SkPaint::operator=(other); 43 mLetterSpacing = other.mLetterSpacing; 44 mWordSpacing = other.mWordSpacing; 45 mFontFeatureSettings = other.mFontFeatureSettings; 46 mMinikinLangListId = other.mMinikinLangListId; 47 mFontVariant = other.mFontVariant; 48 mHyphenEdit = other.mHyphenEdit;
|
/frameworks/base/libs/hwui/utils/ |
H A D | FatVector.h | 11 * documentation and/or other materials provided with the distribution. 58 InlineStdAllocator(const InlineStdAllocator& other) argument 59 : mAllocation(other.mAllocation) {}
|
H A D | LinearAllocator.h | 11 * documentation and/or other materials provided with the distribution. 120 LinearAllocator(const LinearAllocator& other); 162 LinearStdAllocator(const LinearStdAllocator& other) argument 163 : linearAllocator(other.linearAllocator) {} 169 typedef LinearStdAllocator<U> other; typedef in struct:android::uirenderer::LinearStdAllocator::rebind 171 // enable allocators to be constructed from other templated types 173 LinearStdAllocator(const LinearStdAllocator<U>& other) // NOLINT(implicit) argument 174 : linearAllocator(other.linearAllocator) {}
|
/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/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 | MediaRouterClientState.java | 110 public RouteInfo(RouteInfo other) { argument 111 id = other.id; 112 name = other.name; 113 description = other.description; 114 supportedTypes = other.supportedTypes; 115 enabled = other.enabled; 116 statusCode = other.statusCode; 117 playbackType = other.playbackType; 118 playbackStream = other.playbackStream; 119 volume = other [all...] |
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/media/java/android/media/session/ |
H A D | MediaController.java | 46 * other commands can be sent to the session. A callback may be registered to 123 * be sent by this method, other keys will be ignored. 440 public boolean controlsSameSession(MediaController other) { argument 441 if (other == null) return false; 442 return mSessionBinder.asBinder() == other.getSessionBinder().asBinder(); 569 * @param extras The extras that can include other information associated with the 595 * Request that the player prepare its playback. In other words, other sessions can continue 610 * Request that the player prepare playback for a specific media id. In other words, other [all...] |
/frameworks/base/core/java/android/content/pm/ |
H A D | VerifierDeviceIdentity.java | 194 public boolean equals(Object other) { argument 195 if (!(other instanceof VerifierDeviceIdentity)) { 199 final VerifierDeviceIdentity o = (VerifierDeviceIdentity) other;
|
/frameworks/base/core/java/android/content/res/ |
H A D | Configuration.java | 1470 * @hide Return true if the sequence of 'other' is better than this. Assumes 1471 * that 'this' is your current sequence and 'other' is a new one you have 1474 public boolean isOtherSeqNewer(Configuration other) { argument 1475 if (other == null) { 1479 if (other.seq == 0) { 1480 // If the other sequence is not specified, then we must assume 1486 // other is better. Yes we have a preference for other. Sue us. 1489 int diff = other.seq - seq;
|
H A D | Resources.java | 322 * some other type of CharSequence if it is styled. 523 * some other type of CharSequence if it is styled. 736 * @param base The base value of this fraction. In other words, a 738 * @param pbase The parent base value of this fraction. In other 1364 * In other words, a Theme is a set of values for resource attributes; 1410 * <var>other</var>. If both of these themes are from the same 1415 * @param other The existing Theme to copy from. 1417 public void setTo(Theme other) { argument 1418 mThemeImpl.setTo(other.mThemeImpl); 1494 * taking precedence over the following ones. In other word 1705 setTo(ThemeKey other) argument [all...] |
H A D | ResourcesImpl.java | 723 // simply turning off all preloading), as well as any other configs specified 1284 void setTo(ThemeImpl other) { argument 1286 synchronized (other.mKey) { 1287 AssetManager.copyTheme(mTheme, other.mTheme); 1289 mThemeResId = other.mThemeResId; 1290 mKey.setTo(other.getKey());
|
/frameworks/base/core/java/android/database/sqlite/ |
H A D | SQLiteDatabaseConfiguration.java | 115 * database and default values for all other parameters. 137 * @param other The other configuration. 139 public SQLiteDatabaseConfiguration(SQLiteDatabaseConfiguration other) { argument 140 if (other == null) { 141 throw new IllegalArgumentException("other must not be null."); 144 this.path = other.path; 145 this.label = other.label; 146 updateParametersFrom(other); 151 * from the other configuratio 155 updateParametersFrom(SQLiteDatabaseConfiguration other) argument [all...] |
/frameworks/base/core/java/android/hardware/ |
H A D | Camera.java | 97 * use by other applications. Applications should release the camera 256 * error retrieving the information (generally due to a hardware or other 337 * the same camera is opened by other applications, this will throw a 341 * otherwise it will remain locked and be unavailable to other applications. 346 * <p>Callbacks from other methods are delivered to the event loop of the 391 * given hal API version. If the same camera is opened by other applications 396 * otherwise it will remain locked and be unavailable to other applications. 401 * Callbacks from other methods are delivered to the event loop of the 504 * <p>Intended to use by the camera2 shim only, do <i>not</i> use this for other code.</p> 575 * temporarily for another process to use; once the other proces 2506 copyFrom(Parameters other) argument 2524 same(Parameters other) argument [all...] |
/frameworks/base/core/java/android/hardware/camera2/ |
H A D | CaptureRequest.java | 415 * @param other Another instance of CaptureRequest. 420 public boolean equals(Object other) { argument 421 return other instanceof CaptureRequest 422 && equals((CaptureRequest)other); 425 private boolean equals(CaptureRequest other) { argument 426 return other != null 427 && Objects.equals(mUserTag, other.mUserTag) 428 && mSurfaceSet.equals(other.mSurfaceSet) 429 && mSettings.equals(other.mSettings) 430 && mIsReprocess == other [all...] |
/frameworks/base/core/java/android/hardware/camera2/impl/ |
H A D | CameraMetadataNative.java | 167 * Compare this key against other native keys, request keys, result keys, and 228 // TODO: remove this; other places should use #getTypeReference() instead 301 public CameraMetadataNative(CameraMetadataNative other) { argument 303 mMetadataPtr = nativeAllocateCopy(other); 310 * Move the contents from {@code other} into a new camera metadata instance.</p> 312 * <p>After this call, {@code other} will become empty.</p> 314 * @param other the previous metadata instance which will get pilfered 315 * @return a new metadata instance with the values from {@code other} moved into it 317 public static CameraMetadataNative move(CameraMetadataNative other) { argument 319 newObject.swap(other); 1108 nativeAllocateCopy(CameraMetadataNative other) argument 1113 nativeSwap(CameraMetadataNative other) argument 1142 swap(CameraMetadataNative other) argument [all...] |
/frameworks/base/core/java/android/hardware/camera2/marshal/ |
H A D | MarshalRegistry.java | 117 public boolean equals(Object other) { argument 118 if (other instanceof MarshalToken<?>) { 119 MarshalToken<?> otherToken = (MarshalToken<?>)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...] |