Searched refs:other (Results 1 - 25 of 280) sorted by relevance

1234567891011>>

/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DFloatRect.h33 inline FloatRect(const Rect& other) argument
34 : left(other.left), top(other.top), right(other.right), bottom(other.bottom) { }
/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteDatabaseConfiguration.java94 * 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/core/java/android/hardware/display/
H A DDisplayManagerInternal.java115 * 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.
203 public DisplayPowerRequest(DisplayPowerRequest other) { argument
204 copyFrom(other);
211 public void copyFrom(DisplayPowerRequest other) { argument
212 policy = other.policy;
213 useProximitySensor = other.useProximitySensor;
214 screenBrightness = other.screenBrightness;
215 screenAutoBrightnessAdjustment = other.screenAutoBrightnessAdjustment;
216 useAutoBrightness = other
229 equals(DisplayPowerRequest other) argument
[all...]
/frameworks/base/core/java/android/util/
H A DDisplayMetrics.java44 * density, instead allow the platform to scale from other densities
252 * Returns true if these display metrics equal the other display metrics.
254 * @param other The display metrics with which to compare.
257 public boolean equals(DisplayMetrics other) { argument
258 return equalsPhysical(other)
259 && scaledDensity == other.scaledDensity
260 && noncompatScaledDensity == other.noncompatScaledDensity;
268 * @param other The display metrics with which to compare.
272 public boolean equalsPhysical(DisplayMetrics other) { argument
273 return other !
[all...]
/frameworks/base/services/core/java/com/android/server/display/
H A DDisplayDeviceInfo.java69 * and that no other application should be able to interact with it.
108 * EDID or other sources. The name may be displayed to the user.
235 public boolean equals(DisplayDeviceInfo other) { argument
236 return other != null
237 && Objects.equal(name, other.name)
238 && width == other.width
239 && height == other.height
240 && refreshRate == other.refreshRate
241 && Arrays.equals(supportedRefreshRates, other.supportedRefreshRates)
242 && densityDpi == other
262 copyFrom(DisplayDeviceInfo other) argument
[all...]
/frameworks/native/services/inputflinger/
H A DInputListener.cpp34 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 DPaintImpl.cpp37 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 DAccountAndUser.java36 final AccountAndUser other = (AccountAndUser) o;
37 return this.account.equals(other.account)
38 && this.userId == other.userId;
/frameworks/base/libs/hwui/utils/
H A DMacros.h26 bool operator==(const Type& other) const { return compare(other) == 0; } \
27 bool operator!=(const Type& other) const { return compare(other) != 0; } \
/frameworks/rs/cpp/util/
H A DStrongPointer.h68 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 DRefBase.h205 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 DStrongPointer.h67 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 DRefBase.h204 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/core/java/android/view/
H A DDisplayInfo.java241 public DisplayInfo(DisplayInfo other) { argument
242 copyFrom(other);
254 public boolean equals(DisplayInfo other) { argument
255 return other != null
256 && layerStack == other.layerStack
257 && flags == other.flags
258 && type == other.type
259 && Objects.equal(address, other.address)
260 && Objects.equal(name, other.name)
261 && appWidth == other
290 copyFrom(DisplayInfo other) argument
[all...]
/frameworks/base/core/java/android/os/
H A DBatteryProperties.java36 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 DWorkSource.java151 * @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 DSize.java105 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 DSyncStatusInfo.java132 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 DPeriodicSync.java62 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 DSyncInfo.java56 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 DTwilightState.java88 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 Dlearning_rate_controller-inl.h109 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 DTransitionValues.java31 * 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 DWebmFrame.cpp65 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 DMeteringRectangle.java224 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...]

Completed in 541 milliseconds

1234567891011>>