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

12345678

/frameworks/base/services/java/com/android/server/power/
H A DDisplayPowerRequest.java29 * have to micro-manage screen off animations, auto-brightness and other effects.
74 public DisplayPowerRequest(DisplayPowerRequest other) { argument
75 copyFrom(other);
78 public void copyFrom(DisplayPowerRequest other) { argument
79 screenState = other.screenState;
80 useProximitySensor = other.useProximitySensor;
81 screenBrightness = other.screenBrightness;
82 screenAutoBrightnessAdjustment = other.screenAutoBrightnessAdjustment;
83 useAutoBrightness = other.useAutoBrightness;
84 blockScreenOn = other
93 equals(DisplayPowerRequest other) argument
[all...]
/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/services/java/com/android/server/display/
H A DDisplayDeviceInfo.java65 * and that no other application should be able to interact with it.
97 * EDID or other sources. The name may be displayed to the user.
200 public boolean equals(DisplayDeviceInfo other) { argument
201 return other != null
202 && Objects.equal(name, other.name)
203 && width == other.width
204 && height == other.height
205 && refreshRate == other.refreshRate
206 && densityDpi == other.densityDpi
207 && xDpi == other
223 copyFrom(DisplayDeviceInfo other) argument
[all...]
/frameworks/base/core/java/android/util/
H A DDisplayMetrics.java44 * density, instead allow the platform to scale from other densities
246 * Returns true if these display metrics equal the other display metrics.
248 * @param other The display metrics with which to compare.
251 public boolean equals(DisplayMetrics other) { argument
252 return equalsPhysical(other)
253 && scaledDensity == other.scaledDensity
254 && noncompatScaledDensity == other.noncompatScaledDensity;
262 * @param other The display metrics with which to compare.
266 public boolean equalsPhysical(DisplayMetrics other) { argument
267 return other !
[all...]
/frameworks/base/core/java/android/hardware/camera2/
H A DRational.java81 * <p>A Rational object can only be equal to another Rational object (comparing against any other
112 Rational other = (Rational) obj;
113 if (mDenominator == 0 || other.mDenominator == 0) {
114 if (isNaN() && other.isNaN()) {
116 } else if (isInf() && other.isInf() || isNegInf() && other.isNegInf()) {
121 } else if (mNumerator == other.mNumerator && mDenominator == other.mDenominator) {
125 int otherGcd = other.gcd();
130 int otherNumerator = other
[all...]
H A DSize.java52 Size other = (Size) obj;
53 return mWidth == other.mWidth && mHeight == other.mHeight;
/frameworks/base/services/input/
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/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/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.java214 public DisplayInfo(DisplayInfo other) { argument
215 copyFrom(other);
227 public boolean equals(DisplayInfo other) { argument
228 return other != null
229 && layerStack == other.layerStack
230 && flags == other.flags
231 && type == other.type
232 && Objects.equal(address, other.address)
233 && Objects.equal(name, other.name)
234 && appWidth == other
260 copyFrom(DisplayInfo 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.java65 public PeriodicSync(PeriodicSync other) { argument
66 this.account = other.account;
67 this.authority = other.authority;
68 this.extras = new Bundle(other.extras);
69 this.period = other.period;
70 this.flexTime = other.flexTime;
128 final PeriodicSync other = (PeriodicSync) o;
129 return account.equals(other.account)
130 && authority.equals(other.authority)
131 && period == other
[all...]
H A DSyncInfo.java58 public SyncInfo(SyncInfo other) { argument
59 this.authorityId = other.authorityId;
60 this.account = new Account(other.account.name, other.account.type);
61 this.authority = other.authority;
62 this.startTime = other.startTime;
/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.java30 * be unique to avoid clobbering values stored by other transitions,
56 public boolean equals(Object other) { argument
57 if (other instanceof TransitionValues) {
58 if (view == ((TransitionValues) other).view) {
59 if (values.equals(((TransitionValues) other).values)) {
/frameworks/base/core/java/android/os/
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/base/media/java/android/media/
H A DMediaRouterClientState.java39 * Globally selected routes override any other route selections that applications
118 public RouteInfo(RouteInfo other) { argument
119 id = other.id;
120 name = other.name;
121 description = other.description;
122 supportedTypes = other.supportedTypes;
123 enabled = other.enabled;
124 statusCode = other.statusCode;
125 playbackType = other.playbackType;
126 playbackStream = other
[all...]
/frameworks/native/libs/input/
H A DInputDevice.cpp133 InputDeviceInfo::InputDeviceInfo(const InputDeviceInfo& other) : argument
134 mId(other.mId), mGeneration(other.mGeneration), mControllerNumber(other.mControllerNumber),
135 mIdentifier(other.mIdentifier), mAlias(other.mAlias), mIsExternal(other.mIsExternal),
136 mSources(other.mSources), mKeyboardType(other.mKeyboardType),
137 mKeyCharacterMap(other
[all...]
/frameworks/base/core/java/android/print/
H A DPrinterInfo.java63 public void copyFrom(PrinterInfo other) { argument
64 if (this == other) {
67 mId = other.mId;
68 mName = other.mName;
69 mStatus = other.mStatus;
70 mDescription = other.mDescription;
71 if (other.mCapabilities != null) {
73 mCapabilities.copyFrom(other.mCapabilities);
75 mCapabilities = new PrinterCapabilitiesInfo(other.mCapabilities);
176 PrinterInfo other
252 Builder(PrinterInfo other) argument
[all...]
/frameworks/native/libs/ui/tests/
H A DRegion_test.cpp35 for (const Rect* other = current - 1; other >= r.begin(); other--) {
36 if (other->bottom < current->top) break;
37 if (other->bottom != current->top) continue;
38 checkVertTJunction(current, other);
40 for (const Rect* other = current + 1; other < r.end(); other++) {
41 if (other
[all...]
/frameworks/base/core/java/android/hardware/display/
H A DWifiDisplay.java139 public boolean equals(WifiDisplay other) { argument
140 return other != null
141 && mDeviceAddress.equals(other.mDeviceAddress)
142 && mDeviceName.equals(other.mDeviceName)
143 && Objects.equal(mDeviceAlias, other.mDeviceAlias);
147 * Returns true if the other display is not null and has the same address as this one.
151 public boolean hasSameAddress(WifiDisplay other) { argument
152 return other != null && mDeviceAddress.equals(other.mDeviceAddress);

Completed in 815 milliseconds

12345678