/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 | Display.java | 1223 public boolean equals(Object other) { argument 1224 if (this == other) { 1227 if (!(other instanceof Mode)) { 1230 Mode that = (Mode) other; 1369 public boolean equals(Object other) { argument 1370 if (this == other) { 1374 if (!(other instanceof HdrCapabilities)) { 1377 HdrCapabilities that = (HdrCapabilities) other;
|
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 | FrameMetrics.java | 115 * Equal to the sum of the values of all other time-valued metric 130 * and are usually hidden by window animations or other tricks. 261 * @param other the FrameMetrics object to copy. 263 public FrameMetrics(FrameMetrics other) { argument 265 System.arraycopy(other.mTimingData, 0, mTimingData, 0, mTimingData.length);
|
H A D | InputChannel.java | 54 private native void nativeTransferTo(InputChannel other); argument 80 * dispatcher and the other to the application's input queue. 119 * @param other The other input channel instance.
|
H A D | KeyEvent.java | 59 * Ice Cream Sandwich or earlier. Be aware that other software input methods may 432 * This key alters the behavior of other keys on the numeric keypad. */ 497 * On TV remotes, toggles picture-in-picture mode or other windowing functions. 643 * devices or game controllers, especially if no other input mode is 1580 public static KeyEvent obtain(KeyEvent other) { argument 1582 ev.mDownTime = other.mDownTime; 1583 ev.mEventTime = other.mEventTime; 1584 ev.mAction = other.mAction; 1585 ev.mKeyCode = other.mKeyCode; 1586 ev.mRepeatCount = other [all...] |
H A D | MagnificationSpec.java | 65 public static MagnificationSpec obtain(MagnificationSpec other) { argument 67 info.scale = other.scale; 68 info.offsetX = other.offsetX; 69 info.offsetY = other.offsetY; 89 public void setTo(MagnificationSpec other) { argument 90 scale = other.scale; 91 offsetX = other.offsetX; 92 offsetY = other.offsetY; 109 public boolean equals(Object other) { argument 110 if (this == other) { [all...] |
H A D | MotionEvent.java | 31 * Motion events may hold either absolute or relative movements and other data, 38 * down or up. The axis values describe the position and other movement properties. 47 * other objects that generate movement traces are referred to as <em>pointers</em>. 60 * The MotionEvent class provides many methods to query the position and other properties of 90 * they are still distinct from any other coordinates reported in prior motion events. 565 * by a finger or other tool. The value is normalized to a range from 1387 * such as for a trackball or other non-pointing device. 1617 * zero indicates that the event didn't come from a physical device; other 1657 * zero indicates that the event didn't come from a physical device; other 1709 * zero indicates that the event didn't come from a physical device; other 1805 obtain(MotionEvent other) argument 1819 obtainNoHistory(MotionEvent other) argument 3470 PointerCoords(PointerCoords other) argument 3601 copyFrom(PointerCoords other) argument 3763 PointerProperties(PointerProperties other) argument 3805 copyFrom(PointerProperties other) argument 3811 equals(Object other) argument 3818 equals(PointerProperties 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;
|
H A D | Surface.java | 420 * @param other {@link SurfaceControl} to copy from. 424 public void copyFrom(SurfaceControl other) { argument 425 if (other == null) { 426 throw new IllegalArgumentException("other must not be null"); 429 long surfaceControlPtr = other.mNativeObject; 452 * @param other {@link SurfaceControl} to create surface from. 456 public void createFrom(SurfaceControl other) { argument 457 if (other == null) { 458 throw new IllegalArgumentException("other must not be null"); 461 long surfaceControlPtr = other 483 transferFrom(Surface other) argument [all...] |
H A D | SurfaceControl.java | 132 * be disabled, but other measures can take place, for instance the 153 * composited on top of each-other into the surface. A pre-multiplied 335 + "Set the other properties and make the surface visible within " 354 public SurfaceControl(SurfaceControl other) { argument 355 mName = other.mName; 356 mNativeObject = other.mNativeObject; 357 other.mCloseGuard.close(); 358 other.mNativeObject = 0; 626 public PhysicalDisplayInfo(PhysicalDisplayInfo other) { argument 627 copyFrom(other); 635 equals(PhysicalDisplayInfo other) argument 653 copyFrom(PhysicalDisplayInfo other) argument [all...] |
H A D | ViewTreeObserver.java | 290 InternalInsetsInfo other = (InternalInsetsInfo)o; 291 return mTouchableInsets == other.mTouchableInsets && 292 contentInsets.equals(other.contentInsets) && 293 visibleInsets.equals(other.visibleInsets) && 294 touchableRegion.equals(other.touchableRegion); 297 void set(InternalInsetsInfo other) { argument 298 contentInsets.set(other.contentInsets); 299 visibleInsets.set(other.visibleInsets); 300 touchableRegion.set(other.touchableRegion); 301 mTouchableInsets = other [all...] |
H A D | WindowInfo.java | 64 public static WindowInfo obtain(WindowInfo other) { argument 66 window.type = other.type; 67 window.layer = other.layer; 68 window.token = other.token; 69 window.parentToken = other.parentToken; 70 window.activityToken = other.activityToken; 71 window.focused = other.focused; 72 window.boundsInScreen.set(other.boundsInScreen); 73 window.title = other.title; 74 window.accessibilityIdOfAnchor = other [all...] |
/frameworks/base/core/java/android/view/accessibility/ |
H A D | AccessibilityNodeInfo.java | 60 * to the view hierarchy. In other words, a custom view is free to report itself as 1305 * A screen-reader must visit the content of the other node before the content 1320 * A screen-reader must visit the content of the other node before the content 1338 * A screen-reader must visit the content of the other node before the content 3012 * @param info The other info. 3286 * @param other The other instance. 3288 private void init(AccessibilityNodeInfo other) { argument 3289 mSealed = other.mSealed; 3290 mSourceNodeId = other 4181 equals(Object other) argument 4233 obtain(RangeInfo other) argument 4372 obtain(CollectionInfo other) argument 4514 obtain(CollectionItemInfo other) argument [all...] |
H A D | AccessibilityWindowInfo.java | 32 * windows can be descendants of other windows, which is the windows are 452 * @param info The other info. 581 AccessibilityWindowInfo other = (AccessibilityWindowInfo) obj; 582 return (mId == other.mId); 694 * @param other The new state. 699 public boolean changed(AccessibilityWindowInfo other) { argument 700 if (other.mId != mId) { 703 if (other.mType != mType) { 706 if (!mBoundsInScreen.equals(other.mBoundsInScreen)) { 709 if (mLayer != other [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | ActionMenuView.java | 818 public LayoutParams(ViewGroup.LayoutParams other) { argument 819 super(other); 822 public LayoutParams(LayoutParams other) { argument 823 super((LinearLayout.LayoutParams) other); 824 isOverflowButton = other.isOverflowButton;
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | ChooserActivity.java | 785 private ChooserTargetInfo(ChooserTargetInfo other, Intent fillInIntent, int flags) { argument 786 mSourceInfo = other.mSourceInfo; 787 mBackupResolveInfo = other.mBackupResolveInfo; 788 mChooserTarget = other.mChooserTarget; 789 mBadgeIcon = other.mBadgeIcon; 790 mBadgeContentDescription = other.mBadgeContentDescription; 791 mDisplayIcon = other.mDisplayIcon; 794 mModifiedScore = other.mModifiedScore;
|
H A D | ResolverActivity.java | 242 * 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 D | ProcessState.java | 249 public void add(ProcessState other) { argument 250 mDurations.addDurations(other.mDurations); 251 mPssTable.mergeStats(other.mPssTable); 252 mNumExcessiveCpu += other.mNumExcessiveCpu; 253 if (other.mNumCachedKill > 0) { 254 addCachedKill(other.mNumCachedKill, other.mMinCachedKillPss, 255 other.mAvgCachedKillPss, other.mMaxCachedKillPss);
|
H A D | ProcessStats.java | 218 public void add(ProcessStats other) { argument 219 ArrayMap<String, SparseArray<SparseArray<PackageState>>> pkgMap = other.mPackages.getMap(); 262 ArrayMap<String, SparseArray<ProcessState>> procMap = other.mProcesses.getMap(); 288 + other.mMemFactorDurations[i] + " from " 290 mMemFactorDurations[i] += other.mMemFactorDurations[i]; 293 mSysMemUsage.mergeStats(other.mSysMemUsage); 295 if (other.mTimePeriodStartClock < mTimePeriodStartClock) { 296 mTimePeriodStartClock = other.mTimePeriodStartClock; 297 mTimePeriodStartClockStr = other.mTimePeriodStartClockStr; 299 mTimePeriodEndRealtime += other [all...] |
H A D | ServiceState.java | 203 public void add(ServiceState other) { argument 204 mDurations.addDurations(other.mDurations); 205 mRunCount += other.mRunCount; 206 mStartedCount += other.mStartedCount; 207 mBoundCount += other.mBoundCount; 208 mExecCount += other.mExecCount;
|
/frameworks/base/core/java/com/android/internal/backup/ |
H A D | LocalTransport.java | 659 public int compareTo(DecodedFilename other) { argument 661 return key.compareTo(other.key);
|
/frameworks/base/core/java/com/android/internal/colorextraction/ |
H A D | ColorExtractor.java | 239 public void set(GradientColors other) { argument 240 mMainColor = other.mMainColor; 241 mSecondaryColor = other.mSecondaryColor; 242 mSupportsDarkText = other.mSupportsDarkText; 262 GradientColors other = (GradientColors) o; 263 return other.mMainColor == mMainColor && 264 other.mSecondaryColor == mSecondaryColor && 265 other.mSupportsDarkText == mSupportsDarkText;
|
/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);
|
H A D | LocaleUtils.java | 129 public int compareTo(final ScoreEntry other) { argument 130 return -1 * compare(mScore, other.mScore); // Order by descending order.
|