/frameworks/native/services/surfaceflinger/DisplayHardware/ |
H A D | FloatRect.h | 33 inline FloatRect(const Rect& other) argument 34 : left(other.left), top(other.top), right(other.right), bottom(other.bottom) { }
|
/frameworks/base/core/java/android/hardware/display/ |
H A D | DisplayManagerInternal.java | 115 * may choose to make the physical display mirror some other logical display. 142 * have to micro-manage screen off animations, auto-brightness and other effects. 206 public DisplayPowerRequest(DisplayPowerRequest other) { argument 207 copyFrom(other); 214 public void copyFrom(DisplayPowerRequest other) { argument 215 policy = other.policy; 216 useProximitySensor = other.useProximitySensor; 217 screenBrightness = other.screenBrightness; 218 screenAutoBrightnessAdjustment = other.screenAutoBrightnessAdjustment; 219 useAutoBrightness = other 233 equals(DisplayPowerRequest other) argument [all...] |
/frameworks/base/core/java/android/database/sqlite/ |
H A D | SQLiteDatabaseConfiguration.java | 94 * database and default values for all other parameters. 116 * @param other The other configuration. 118 public SQLiteDatabaseConfiguration(SQLiteDatabaseConfiguration other) { argument 119 if (other == null) { 120 throw new IllegalArgumentException("other must not be null."); 123 this.path = other.path; 124 this.label = other.label; 125 updateParametersFrom(other); 130 * from the other configuratio 134 updateParametersFrom(SQLiteDatabaseConfiguration other) argument [all...] |
/frameworks/base/services/core/java/com/android/server/display/ |
H A D | DisplayDeviceInfo.java | 69 * and that no other application should be able to interact with it. 108 * other sources. The name may be localized and displayed to the user. 240 public boolean equals(DisplayDeviceInfo other) { argument 241 return other != null 242 && Objects.equal(name, other.name) 243 && Objects.equal(uniqueId, other.uniqueId) 244 && width == other.width 245 && height == other.height 246 && refreshRate == other.refreshRate 247 && Arrays.equals(supportedRefreshRates, other 268 copyFrom(DisplayDeviceInfo other) argument [all...] |
/frameworks/base/core/java/android/util/ |
H A D | DisplayMetrics.java | 44 * density, instead allow the platform to scale from other densities 259 * Returns true if these display metrics equal the other display metrics. 261 * @param other The display metrics with which to compare. 264 public boolean equals(DisplayMetrics other) { argument 265 return equalsPhysical(other) 266 && scaledDensity == other.scaledDensity 267 && noncompatScaledDensity == other.noncompatScaledDensity; 275 * @param other The display metrics with which to compare. 279 public boolean equalsPhysical(DisplayMetrics other) { argument 280 return other ! [all...] |
/frameworks/native/services/inputflinger/ |
H A D | InputListener.cpp | 34 const NotifyConfigurationChangedArgs& other) : 35 eventTime(other.eventTime) { 54 NotifyKeyArgs::NotifyKeyArgs(const NotifyKeyArgs& other) : argument 55 eventTime(other.eventTime), deviceId(other.deviceId), source(other.source), 56 policyFlags(other.policyFlags), 57 action(other.action), flags(other.flags), 58 keyCode(other 33 NotifyConfigurationChangedArgs( const NotifyConfigurationChangedArgs& other) argument 85 NotifyMotionArgs(const NotifyMotionArgs& other) argument 112 NotifySwitchArgs(const NotifySwitchArgs& other) argument 128 NotifyDeviceResetArgs(const NotifyDeviceResetArgs& other) argument [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | PaintImpl.cpp | 37 Paint& Paint::operator=(const Paint& other) { argument 38 SkPaint::operator=(other); 39 mLetterSpacing = other.mLetterSpacing; 40 mFontFeatureSettings = other.mFontFeatureSettings; 41 mTextLocale = other.mTextLocale; 42 mFontVariant = other.mFontVariant;
|
/frameworks/base/core/java/android/accounts/ |
H A D | AccountAndUser.java | 36 final AccountAndUser other = (AccountAndUser) o; 37 return this.account.equals(other.account) 38 && this.userId == other.userId;
|
/frameworks/rs/cpp/util/ |
H A D | StrongPointer.h | 68 sp(T* other); 69 sp(const sp<T>& other); 70 template<typename U> sp(U* other); 71 template<typename U> sp(const sp<U>& other); 77 sp& operator = (T* other); 78 sp& operator = (const sp<T>& other); 80 template<typename U> sp& operator = (const sp<U>& other); 81 template<typename U> sp& operator = (U* other); 84 void force_set(T* other); 121 sp<T>::sp(T* other) 141 sp(const sp<U>& other) argument 154 operator =(const sp<T>& other) argument 163 operator =(T* other) argument 172 operator =(const sp<U>& other) argument 182 operator =(U* other) argument 191 force_set(T* other) argument [all...] |
H A D | RefBase.h | 205 wp(T* other); 206 wp(const wp<T>& other); 207 wp(const sp<T>& other); 208 template<typename U> wp(U* other); 209 template<typename U> wp(const sp<U>& other); 210 template<typename U> wp(const wp<U>& other); 216 wp& operator = (T* other); 217 wp& operator = (const wp<T>& other); 218 wp& operator = (const sp<T>& other); 220 template<typename U> wp& operator = (U* other); [all...] |
/frameworks/rs/server/ |
H A D | StrongPointer.h | 67 sp(T* other); 68 sp(const sp<T>& other); 69 template<typename U> sp(U* other); 70 template<typename U> sp(const sp<U>& other); 76 sp& operator = (T* other); 77 sp& operator = (const sp<T>& other); 79 template<typename U> sp& operator = (const sp<U>& other); 80 template<typename U> sp& operator = (U* other); 83 void force_set(T* other); 120 sp<T>::sp(T* other) 140 sp(const sp<U>& other) argument 153 operator =(const sp<T>& other) argument 162 operator =(T* other) argument 171 operator =(const sp<U>& other) argument 181 operator =(U* other) argument 190 force_set(T* other) argument [all...] |
H A D | RefBase.h | 204 wp(T* other); 205 wp(const wp<T>& other); 206 wp(const sp<T>& other); 207 template<typename U> wp(U* other); 208 template<typename U> wp(const sp<U>& other); 209 template<typename U> wp(const wp<U>& other); 215 wp& operator = (T* other); 216 wp& operator = (const wp<T>& other); 217 wp& operator = (const sp<T>& other); 219 template<typename U> wp& operator = (U* other); [all...] |
/frameworks/base/libs/hwui/utils/ |
H A D | Macros.h | 26 bool operator==(const Type& other) const { return compare(other) == 0; } \ 27 bool operator!=(const Type& other) const { return compare(other) != 0; } \
|
/frameworks/base/core/java/android/view/ |
H A D | DisplayInfo.java | 246 public DisplayInfo(DisplayInfo other) { argument 247 copyFrom(other); 259 public boolean equals(DisplayInfo other) { argument 260 return other != null 261 && layerStack == other.layerStack 262 && flags == other.flags 263 && type == other.type 264 && Objects.equal(address, other.address) 265 && Objects.equal(uniqueId, other.uniqueId) 266 && appWidth == other 295 copyFrom(DisplayInfo other) argument [all...] |
/frameworks/base/core/java/android/os/ |
H A D | BatteryProperties.java | 36 public void set(BatteryProperties other) { argument 37 chargerAcOnline = other.chargerAcOnline; 38 chargerUsbOnline = other.chargerUsbOnline; 39 chargerWirelessOnline = other.chargerWirelessOnline; 40 batteryStatus = other.batteryStatus; 41 batteryHealth = other.batteryHealth; 42 batteryPresent = other.batteryPresent; 43 batteryLevel = other.batteryLevel; 44 batteryVoltage = other.batteryVoltage; 45 batteryTemperature = other [all...] |
H A D | WorkSource.java | 151 * @param other The WorkSource to compare against. 154 public boolean diff(WorkSource other) { argument 156 if (N != other.mNum) { 160 final int[] uids2 = other.mUids; 162 final String[] names2 = other.mNames; 176 * work source. If <var>other</var> is null, the current work source 179 public void set(WorkSource other) { argument 180 if (other == null) { 184 mNum = other.mNum; 185 if (other 229 setReturningDiffs(WorkSource other) argument 250 add(WorkSource other) argument 257 addReturningNewbs(WorkSource other) argument 322 remove(WorkSource other) argument 357 removeUids(WorkSource other) argument 389 removeUidsAndNames(WorkSource other) argument 427 updateLocked(WorkSource other, boolean set, boolean returnNewbs) argument 451 updateUidsLocked(WorkSource other, boolean set, boolean returnNewbs) argument 527 compare(WorkSource other, int i1, int i2) argument 543 updateUidsAndNamesLocked(WorkSource other, boolean set, boolean returnNewbs) argument [all...] |
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
H A D | Size.java | 105 public Size(Size other) { argument 106 if (other == null) { 109 val = new Point(other.width(), other.height()); 116 * @param other The source size. 118 public Size(Camera.Size other) { argument 119 if (other == null) { 122 val = new Point(other.width, other.height); 129 * @param other Th 131 Size(android.util.Size other) argument [all...] |
/frameworks/base/core/java/android/content/ |
H A D | SyncStatusInfo.java | 132 public SyncStatusInfo(SyncStatusInfo other) { argument 133 authorityId = other.authorityId; 134 totalElapsedTime = other.totalElapsedTime; 135 numSyncs = other.numSyncs; 136 numSourcePoll = other.numSourcePoll; 137 numSourceServer = other.numSourceServer; 138 numSourceLocal = other.numSourceLocal; 139 numSourceUser = other.numSourceUser; 140 numSourcePeriodic = other.numSourcePeriodic; 141 lastSuccessTime = other [all...] |
H A D | PeriodicSync.java | 62 public PeriodicSync(PeriodicSync other) { argument 63 this.account = other.account; 64 this.authority = other.authority; 65 this.extras = new Bundle(other.extras); 66 this.period = other.period; 67 this.flexTime = other.flexTime; 125 final PeriodicSync other = (PeriodicSync) o; 126 return account.equals(other.account) 127 && authority.equals(other.authority) 128 && period == other [all...] |
H A D | SyncInfo.java | 56 public SyncInfo(SyncInfo other) { argument 57 this.authorityId = other.authorityId; 58 this.account = new Account(other.account.name, other.account.type); 59 this.authority = other.authority; 60 this.startTime = other.startTime;
|
/frameworks/base/services/core/java/com/android/server/twilight/ |
H A D | TwilightState.java | 88 public boolean equals(TwilightState other) { argument 89 return other != null 90 && mIsNight == other.mIsNight 91 && mYesterdaySunset == other.mYesterdaySunset 92 && mTodaySunrise == other.mTodaySunrise 93 && mTodaySunset == other.mTodaySunset 94 && mTomorrowSunrise == other.mTomorrowSunrise;
|
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/native/ |
H A D | learning_rate_controller-inl.h | 109 void CopyFrom(const LearningRateController &other) { argument 110 iteration_num_ = other.iteration_num_; 111 sample_num_ = other.sample_num_; 112 mini_batch_size_ = other.mini_batch_size_; 113 mini_batch_counter_ = other.mini_batch_counter_; 114 mode_ = other.mode_; 115 is_first_sample_ = other.is_first_sample_;
|
/frameworks/base/core/java/android/transition/ |
H A D | TransitionValues.java | 31 * be unique to avoid clobbering values stored by other transitions, 62 public boolean equals(Object other) { argument 63 if (other instanceof TransitionValues) { 64 if (view == ((TransitionValues) other).view) { 65 if (values.equals(((TransitionValues) other).values)) {
|
/frameworks/av/media/libstagefright/webm/ |
H A D | WebmFrame.cpp | 65 bool WebmFrame::operator<(const WebmFrame &other) const { 69 if (other.mEos) { 72 if (this->mAbsTimecode == other.mAbsTimecode) { 73 if (this->mType == kAudioType && other.mType == kVideoType) { 76 if (this->mType == kVideoType && other.mType == kAudioType) { 81 return this->mAbsTimecode < other.mAbsTimecode;
|
/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...] |