Searched defs:other (Results 251 - 275 of 293) sorted by relevance

<<1112

/frameworks/base/core/java/android/content/
H A DIntentFilter.java940 public boolean match(AuthorityEntry other) { argument
941 if (mWild != other.mWild) {
944 if (!mHost.equals(other.mHost)) {
947 if (mPort != other.mPort) {
956 final AuthorityEntry other = (AuthorityEntry)obj;
957 return match(other);
1417 * filter in order to match. In other words, adding a category to the
/frameworks/base/core/java/android/content/res/
H A DConfiguration.java1575 * @hide Return true if the sequence of 'other' is better than this. Assumes
1576 * that 'this' is your current sequence and 'other' is a new one you have
1579 public boolean isOtherSeqNewer(Configuration other) { argument
1580 if (other == null) {
1584 if (other.seq == 0) {
1585 // If the other sequence is not specified, then we must assume
1591 // other is better. Yes we have a preference for other. Sue us.
1594 int diff = other.seq - seq;
/frameworks/base/core/java/android/print/
H A DPrintAttributes.java383 PrintAttributes other = (PrintAttributes) obj;
384 if (mColorMode != other.mColorMode) {
387 if (mDuplexMode != other.mDuplexMode) {
391 if (other.mMinMargins != null) {
394 } else if (!mMinMargins.equals(other.mMinMargins)) {
398 if (other.mMediaSize != null) {
401 } else if (!mMediaSize.equals(other.mMediaSize)) {
405 if (other.mResolution != null) {
408 } else if (!mResolution.equals(other.mResolution)) {
445 public void copyFrom(PrintAttributes other) { argument
[all...]
/frameworks/base/core/java/android/view/
H A DDisplay.java1237 public boolean equals(Object other) { argument
1238 if (this == other) {
1241 if (!(other instanceof Mode)) {
1244 Mode that = (Mode) other;
1383 public boolean equals(Object other) { argument
1384 if (this == other) {
1388 if (!(other instanceof HdrCapabilities)) {
1391 HdrCapabilities that = (HdrCapabilities) other;
H A DMotionEvent.java33 * Motion events may hold either absolute or relative movements and other data,
40 * down or up. The axis values describe the position and other movement properties.
49 * other objects that generate movement traces are referred to as <em>pointers</em>.
62 * The MotionEvent class provides many methods to query the position and other properties of
92 * they are still distinct from any other coordinates reported in prior motion events.
569 * by a finger or other tool. The value is normalized to a range from
1391 * such as for a trackball or other non-pointing device.
1621 * zero indicates that the event didn't come from a physical device; other
1661 * zero indicates that the event didn't come from a physical device; other
1713 * zero indicates that the event didn't come from a physical device; other
1809 obtain(MotionEvent other) argument
1823 obtainNoHistory(MotionEvent other) argument
3485 PointerCoords(PointerCoords other) argument
3616 copyFrom(PointerCoords other) argument
3778 PointerProperties(PointerProperties other) argument
3820 copyFrom(PointerProperties other) argument
3826 equals(Object other) argument
3833 equals(PointerProperties other) argument
[all...]
H A DSurfaceControl.java188 * be disabled, but other measures can take place, for instance the
209 * composited on top of each-other into the surface. A pre-multiplied
582 + "Set the other properties and make the surface visible within "
603 public SurfaceControl(SurfaceControl other) { argument
604 mName = other.mName;
605 mWidth = other.mWidth;
606 mHeight = other.mHeight;
607 mNativeObject = other.mNativeObject;
608 other.mCloseGuard.close();
609 other
1002 PhysicalDisplayInfo(PhysicalDisplayInfo other) argument
1011 equals(PhysicalDisplayInfo other) argument
1029 copyFrom(PhysicalDisplayInfo other) argument
1676 merge(Transaction other) argument
[all...]
/frameworks/base/core/java/com/android/internal/app/
H A DChooserActivity.java791 private ChooserTargetInfo(ChooserTargetInfo other, Intent fillInIntent, int flags) { argument
792 mSourceInfo = other.mSourceInfo;
793 mBackupResolveInfo = other.mBackupResolveInfo;
794 mChooserTarget = other.mChooserTarget;
795 mBadgeIcon = other.mBadgeIcon;
796 mBadgeContentDescription = other.mBadgeContentDescription;
797 mDisplayIcon = other.mDisplayIcon;
800 mModifiedScore = other.mModifiedScore;
H A DResolverActivity.java242 * Compatibility version for other bundled services that use this overload without
259 // from managed profile to owner or other way around.
436 * {@link #onCreate(android.os.Bundle)}. If a subclass calls one of the other onCreate
832 // from managed profile to owner or other way around.
1091 private DisplayResolveInfo(DisplayResolveInfo other, Intent fillInIntent, int flags) { argument
1092 mSourceIntents.addAll(other.getAllSourceIntents());
1093 mResolveInfo = other.mResolveInfo;
1094 mDisplayLabel = other.mDisplayLabel;
1095 mDisplayIcon = other.mDisplayIcon;
1096 mExtendedInfo = other
[all...]
/frameworks/base/core/java/com/android/internal/app/procstats/
H A DProcessStats.java239 public void add(ProcessStats other) { argument
241 other.mPackages.getMap();
284 ArrayMap<String, SparseArray<ProcessState>> procMap = other.mProcesses.getMap();
310 + other.mMemFactorDurations[i] + " from "
312 mMemFactorDurations[i] += other.mMemFactorDurations[i];
315 mSysMemUsage.mergeStats(other.mSysMemUsage);
317 if (other.mTimePeriodStartClock < mTimePeriodStartClock) {
318 mTimePeriodStartClock = other.mTimePeriodStartClock;
319 mTimePeriodStartClockStr = other.mTimePeriodStartClockStr;
321 mTimePeriodEndRealtime += other
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DLinearLayoutManager.java206 * this flag to <code>true</code> so that views will be available to other RecyclerViews
462 // 1) by checking children and other variables, find an anchor coordinate and an anchor
2236 public SavedState(SavedState other) { argument
2237 mAnchorPosition = other.mAnchorPosition;
2238 mAnchorOffset = other.mAnchorOffset;
2239 mAnchorLayoutFromEnd = other.mAnchorLayoutFromEnd;
/frameworks/base/core/jni/
H A Dandroid_os_Debug.cpp86 // Dalvik other extra sections.
190 int other; member in struct:android::graphics_memory_pss
222 ALOGW("failed to get other pss: %zd", pss);
225 graphics_mem->other = pss / 1024;
507 stats[HEAP_OTHER_MEMTRACK].pss = graphics_mem.other;
508 stats[HEAP_OTHER_MEMTRACK].privateDirty = graphics_mem.other;
509 stats[HEAP_OTHER_MEMTRACK].rss = graphics_mem.other;
605 pss = uss = memtrack = graphics_mem.graphics + graphics_mem.gl + graphics_mem.other;
1223 // Sanity check the number of other statistics expected in Java matches here.
/frameworks/base/graphics/java/android/graphics/
H A DBitmap.java340 * it simply allows it to be garbage collected if there are no other references.
1070 // No need to initialize the bitmap to zeroes with other configs;
1546 * decode other bitmaps of smaller size, or by manual reconfiguration. See {@link
1985 * If other is null, return false.
1987 public boolean sameAs(Bitmap other) { argument
1990 if (this == other) return true;
1991 if (other == null) return false;
1992 other.noteHardwareBitmapSlowCall();
1993 if (other.isRecycled()) {
1996 return nativeSameAs(mNativePtr, other
[all...]
H A DPaint.java584 public boolean hasEqualAttributes(@NonNull Paint other) { argument
585 return mColorFilter == other.mColorFilter
586 && mMaskFilter == other.mMaskFilter
587 && mPathEffect == other.mPathEffect
588 && mShader == other.mShader
589 && mTypeface == other.mTypeface
590 && mXfermode == other.mXfermode
591 && mHasCompatScaling == other.mHasCompatScaling
592 && mCompatScaling == other.mCompatScaling
593 && mInvCompatScaling == other
2844 equalsForTextMeasurement(@onNull Paint other) argument
[all...]
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DSettingsState.java906 public Setting(Setting other) { argument
907 name = other.name;
908 value = other.value;
909 defaultValue = other.defaultValue;
910 packageName = other.packageName;
911 id = other.id;
912 defaultFromSystem = other.defaultFromSystem;
913 tag = other.tag;
1126 // profile for the purpose of determining whether the other end is a
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DTaskStackLayoutAlgorithm.java1192 * {@param other} rect in the {@param extent} side.
1194 private int getScaleForExtent(Rect instance, Rect other, int value, int minValue, argument
1197 float scale = Utilities.clamp01((float) instance.width() / other.width());
1200 float scale = Utilities.clamp01((float) instance.height() / other.height());
/frameworks/base/services/net/java/android/net/ip/
H A DIpClient.java106 // One holds StateMachine logs and the other connectivity packet logs.
141 * for which there might be contention with other code calling public
156 // expose DHCPv4 results to other APIs (e.g., WifiInfo#setInetAddress).
431 public ProvisioningConfiguration(ProvisioningConfiguration other) { argument
432 mEnableIPv4 = other.mEnableIPv4;
433 mEnableIPv6 = other.mEnableIPv6;
434 mUsingIpReachabilityMonitor = other.mUsingIpReachabilityMonitor;
435 mRequestedPreDhcpActionMs = other.mRequestedPreDhcpActionMs;
436 mInitialConfig = InitialConfiguration.copy(other.mInitialConfig);
437 mStaticIpConfig = other
[all...]
/frameworks/base/telephony/java/android/telephony/data/
H A DApnSetting.java46 * carrier uses the name, type and other configuration in an {@code APNSetting} to decide which IP
748 ApnSetting other = (ApnSetting) o;
750 return mEntryName.equals(other.mEntryName)
751 && Objects.equals(mId, other.mId)
752 && Objects.equals(mOperatorNumeric, other.mOperatorNumeric)
753 && Objects.equals(mApnName, other.mApnName)
754 && Objects.equals(mProxyAddress, other.mProxyAddress)
755 && Objects.equals(mMmsc, other.mMmsc)
756 && Objects.equals(mMmsProxyAddress, other.mMmsProxyAddress)
757 && Objects.equals(mMmsProxyPort, other
828 similar(ApnSetting other) argument
[all...]
/frameworks/native/libs/vr/libvrflinger/
H A Dhardware_composer.cpp1012 // insulate VrFlinger and HWC z-order semantics from each other.
1022 // The bottom layer is opaque, other layers blend.
1275 Layer::Layer(Layer&& other) { *this = std::move(other); } argument
1277 Layer& Layer::operator=(Layer&& other) { argument
1278 if (this != &other) {
1281 swap(composer_, other.composer_);
1282 swap(display_params_, other.display_params_);
1283 swap(hardware_composer_layer_, other.hardware_composer_layer_);
1284 swap(z_order_, other
[all...]
/frameworks/support/recommendation/src/main/java/androidx/recommendation/app/
H A DContentRecommendation.java681 public boolean equals(Object other) { argument
682 if (other instanceof ContentRecommendation) {
683 return TextUtils.equals(mIdTag, ((ContentRecommendation) other).getIdTag());
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
H A DLinearLayoutManager.java214 * this flag to <code>true</code> so that views will be available to other RecyclerViews
474 // 1) by checking children and other variables, find an anchor coordinate and an anchor
2329 public SavedState(SavedState other) { argument
2330 mAnchorPosition = other.mAnchorPosition;
2331 mAnchorOffset = other.mAnchorOffset;
2332 mAnchorLayoutFromEnd = other.mAnchorLayoutFromEnd;
H A DStaggeredGridLayoutManager.java1998 final Span other = mSpans[i];
1999 int otherLine = other.getEndLine(defaultLine);
2001 min = other;
2011 final Span other = mSpans[i];
2012 int otherLine = other.getStartLine(defaultLine);
2014 max = other;
3014 FullSpanItem other = mFullSpanItems.get(i);
3015 if (other.mPosition == fullSpanItem.mPosition) {
3022 if (other.mPosition >= fullSpanItem.mPosition) {
3187 public SavedState(SavedState other) { argument
[all...]
/frameworks/base/core/java/android/os/
H A DParcel.java59 * that will be unflattened on the other side of the IPC (using the various
62 * objects that will result in the other side receiving a proxy IBinder
82 * {@link #writeString}, {@link #readString}. Most other
555 public final int compareData(Parcel other) { argument
556 return nativeCompareData(mNativePtr, other.mNativePtr);
1688 * using the other approaches to writing data in to a Parcel.
1720 * Note that this currently only supports a few exception types; any other
/frameworks/native/libs/binder/
H A DParcel.cpp564 int Parcel::compareData(const Parcel& other) { argument
566 if (size != other.dataSize()) {
567 return size < other.dataSize() ? -1 : 1;
569 return memcmp(data(), other.data(), size);
2530 LOG_ALLOC("Parcel %p: freeing other owner data", this);
/frameworks/support/coordinatorlayout/src/main/java/androidx/coordinatorlayout/widget/
H A DCoordinatorLayout.java98 * that stick to other elements as they move and animate.</p>
104 * other arbitrary content panes.</p>
673 // Now iterate again over the other children, adding any dependencies to the graph
678 final View other = getChildAt(j);
679 if (lp.dependsOn(this, view, other)) {
680 if (!mChildDag.contains(other)) {
681 // Make sure that the other node is added
682 mChildDag.addNode(other);
685 mChildDag.addEdge(other, view);
726 * horizontally (possibly by other childre
3116 shouldDodge(View other, int layoutDirection) argument
[all...]
/frameworks/base/core/java/android/view/accessibility/
H A DAccessibilityNodeInfo.java60 * to the view hierarchy. In other words, a custom view is free to report itself as
1316 * A screen-reader must visit the content of the other node before the content
1331 * A screen-reader must visit the content of the other node before the content
1349 * A screen-reader must visit the content of the other node before the content
2359 * a focusable unit. Screen readers should generally use other signals, such as
3138 * @param info The other info.
3428 * @param other The other instance.
3430 private void init(AccessibilityNodeInfo other) { argument
3431 mSealed = other
4367 equals(Object other) argument
4419 obtain(RangeInfo other) argument
4558 obtain(CollectionInfo other) argument
4700 obtain(CollectionItemInfo other) argument
[all...]

Completed in 472 milliseconds

<<1112