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

1234567891011>>

/frameworks/av/camera/include/camera/camera2/
H A DOutputConfiguration.h70 bool operator == (const OutputConfiguration& other) const {
71 return ( mRotation == other.mRotation &&
72 mSurfaceSetID == other.mSurfaceSetID &&
73 mSurfaceType == other.mSurfaceType &&
74 mWidth == other.mWidth &&
75 mHeight == other.mHeight &&
76 mIsDeferred == other.mIsDeferred &&
77 mIsShared == other.mIsShared &&
78 gbpsEqual(other) &&
79 mPhysicalCameraId == other
[all...]
/frameworks/av/include/camera/camera2/
H A DOutputConfiguration.h70 bool operator == (const OutputConfiguration& other) const {
71 return ( mRotation == other.mRotation &&
72 mSurfaceSetID == other.mSurfaceSetID &&
73 mSurfaceType == other.mSurfaceType &&
74 mWidth == other.mWidth &&
75 mHeight == other.mHeight &&
76 mIsDeferred == other.mIsDeferred &&
77 mIsShared == other.mIsShared &&
78 gbpsEqual(other) &&
79 mPhysicalCameraId == other
[all...]
/frameworks/base/core/java/com/android/internal/os/
H A DBatterySipper.java148 public int compareTo(BatterySipper other) { argument
150 if (drainType != other.drainType) {
154 } else if (other.drainType == DrainType.OVERCOUNTED) {
159 return Double.compare(other.totalPowerMah, totalPowerMah);
178 * Add stats from other to this BatterySipper.
180 public void add(BatterySipper other) { argument
181 totalPowerMah += other.totalPowerMah;
182 usageTimeMs += other.usageTimeMs;
183 usagePowerMah += other.usagePowerMah;
184 audioTimeMs += other
[all...]
/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteDatabaseConfiguration.java128 * database and default values for all other parameters.
150 * @param other The other configuration.
152 public SQLiteDatabaseConfiguration(SQLiteDatabaseConfiguration other) { argument
153 if (other == null) {
154 throw new IllegalArgumentException("other must not be null.");
157 this.path = other.path;
158 this.label = other.label;
159 updateParametersFrom(other);
164 * from the other configuratio
168 updateParametersFrom(SQLiteDatabaseConfiguration other) argument
[all...]
/frameworks/base/services/core/java/com/android/server/display/
H A DDisplayDeviceInfo.java68 * and that no other application should be able to interact with it.
145 * other sources. The name may be localized and displayed to the user.
298 public boolean equals(DisplayDeviceInfo other) { argument
299 return other != null && diff(other) == 0;
304 * Assumes other is not null.
306 public int diff(DisplayDeviceInfo other) { argument
308 if (state != other.state) {
311 if (colorMode != other.colorMode) {
314 if (!Objects.equals(name, other
346 copyFrom(DisplayDeviceInfo other) argument
[all...]
/frameworks/av/camera/ndk/impl/
H A DACaptureRequest.h27 bool operator == (const ACameraOutputTarget& other) const {
28 return mWindow == other.mWindow;
30 bool operator != (const ACameraOutputTarget& other) const {
31 return mWindow != other.mWindow;
33 bool operator < (const ACameraOutputTarget& other) const {
34 return mWindow < other.mWindow;
36 bool operator > (const ACameraOutputTarget& other) const {
37 return mWindow > other.mWindow;
/frameworks/base/core/java/android/net/
H A DNetworkSpecifier.java23 * subclasses of this class via other APIs.
35 public abstract boolean satisfiedBy(NetworkSpecifier other); argument
/frameworks/native/include/input/
H A DDisplayViewport.h51 bool operator==(const DisplayViewport& other) const {
52 return displayId == other.displayId
53 && orientation == other.orientation
54 && logicalLeft == other.logicalLeft
55 && logicalTop == other.logicalTop
56 && logicalRight == other.logicalRight
57 && logicalBottom == other.logicalBottom
58 && physicalLeft == other.physicalLeft
59 && physicalTop == other.physicalTop
60 && physicalRight == other
[all...]
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/
H A DFullBackupEntry.java30 public int compareTo(FullBackupEntry other) { argument
31 if (lastBackup < other.lastBackup) {
33 } else if (lastBackup > other.lastBackup) {
/frameworks/base/core/java/android/hardware/display/
H A DDisplayManagerInternal.java128 * may choose to make the physical display mirror some other logical display.
195 * have to micro-manage screen off animations, auto-brightness and other effects.
264 public DisplayPowerRequest(DisplayPowerRequest other) { argument
265 copyFrom(other);
276 public void copyFrom(DisplayPowerRequest other) { argument
277 policy = other.policy;
278 useProximitySensor = other.useProximitySensor;
279 screenBrightnessOverride = other.screenBrightnessOverride;
280 useAutoBrightness = other.useAutoBrightness;
281 screenAutoBrightnessAdjustmentOverride = other
296 equals(DisplayPowerRequest other) argument
[all...]
/frameworks/av/include/media/
H A DModulo.h65 // or equal to the rank of the type of the other operand, the operand with signed
102 Modulo<T> operator +=(const Modulo<S> &other) { argument
104 mValue += other.unsignedValue();
110 Modulo<T> operator -=(const Modulo<S> &other) { argument
112 mValue -= other.unsignedValue();
120 const Modulo<T> operator +(const Modulo<S> &other) const {
122 return Modulo<T>(mValue + other.unsignedValue());
127 const Modulo<T> operator -(const Modulo<S> &other) const {
129 return Modulo<T>(mValue - other.unsignedValue());
139 bool operator >(const Modulo<S> &other) cons
177 operator +=(const S &other) argument
184 operator -=(const S &other) argument
[all...]
/frameworks/av/media/libmedia/include/media/
H A DModulo.h65 // or equal to the rank of the type of the other operand, the operand with signed
102 Modulo<T> operator +=(const Modulo<S> &other) { argument
104 mValue += other.unsignedValue();
110 Modulo<T> operator -=(const Modulo<S> &other) { argument
112 mValue -= other.unsignedValue();
120 const Modulo<T> operator +(const Modulo<S> &other) const {
122 return Modulo<T>(mValue + other.unsignedValue());
127 const Modulo<T> operator -(const Modulo<S> &other) const {
129 return Modulo<T>(mValue - other.unsignedValue());
139 bool operator >(const Modulo<S> &other) cons
177 operator +=(const S &other) argument
184 operator -=(const S &other) argument
[all...]
/frameworks/base/core/java/android/util/
H A DDisplayMetrics.java44 * density, instead allow the platform to scale from other densities
322 * Returns true if these display metrics equal the other display metrics.
324 * @param other The display metrics with which to compare.
327 public boolean equals(DisplayMetrics other) { argument
328 return equalsPhysical(other)
329 && scaledDensity == other.scaledDensity
330 && noncompatScaledDensity == other.noncompatScaledDensity;
338 * @param other The display metrics with which to compare.
342 public boolean equalsPhysical(DisplayMetrics other) { argument
343 return other !
[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
88 NotifyMotionArgs(const NotifyMotionArgs& other) argument
115 NotifySwitchArgs(const NotifySwitchArgs& other) argument
131 NotifyDeviceResetArgs(const NotifyDeviceResetArgs& other) argument
[all...]
/frameworks/native/libs/gui/
H A DLayerState.cpp139 void DisplayState::merge(const DisplayState& other) { argument
140 if (other.what & eSurfaceChanged) {
142 surface = other.surface;
144 if (other.what & eLayerStackChanged) {
146 layerStack = other.layerStack;
148 if (other.what & eDisplayProjectionChanged) {
150 orientation = other.orientation;
151 viewport = other.viewport;
152 frame = other.frame;
154 if (other
161 merge(const layer_state_t& other) argument
[all...]
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/
H A Darray_wrapper.h40 ArrayWrapper(const ArrayWrapper& other) { *this = other; } argument
42 ArrayWrapper(ArrayWrapper&& other) { *this = std::move(other); } argument
44 ArrayWrapper& operator=(const ArrayWrapper& other) { argument
45 if (&other == this) {
48 buffer_ = other.buffer_;
49 capacity_ = other.capacity_;
50 end_ = other.end_;
56 ArrayWrapper& operator=(ArrayWrapper&& other) { argument
[all...]
/frameworks/av/media/mtp/
H A DMtpStringBuffer.h48 inline void append(const char* other);
49 inline void append(MtpStringBuffer &other);
60 inline void MtpStringBuffer::append(const char* other) { argument
61 mString += other;
64 inline void MtpStringBuffer::append(MtpStringBuffer &other) { argument
65 mString += other.mString;
/frameworks/av/media/libaaudio/src/core/
H A DAAudioStreamParameters.cpp37 void AAudioStreamParameters::copyFrom(const AAudioStreamParameters &other) { argument
38 mSamplesPerFrame = other.mSamplesPerFrame;
39 mSampleRate = other.mSampleRate;
40 mDeviceId = other.mDeviceId;
41 mSessionId = other.mSessionId;
42 mSharingMode = other.mSharingMode;
43 mAudioFormat = other.mAudioFormat;
44 mDirection = other.mDirection;
45 mBufferCapacity = other.mBufferCapacity;
46 mUsage = other
[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/support/room/migration/src/test/java/androidx/room/migration/bundle/
H A DForeignKeyBundleTest.java35 ForeignKeyBundle other = new ForeignKeyBundle("table", "onDelete",
38 assertThat(bundle.isSchemaEqual(other), is(true));
46 ForeignKeyBundle other = new ForeignKeyBundle("table2", "onDelete",
49 assertThat(bundle.isSchemaEqual(other), is(false));
57 ForeignKeyBundle other = new ForeignKeyBundle("table", "onDelete",
60 assertThat(bundle.isSchemaEqual(other), is(false));
68 ForeignKeyBundle other = new ForeignKeyBundle("table", "onDelete",
71 assertThat(bundle.isSchemaEqual(other), is(false));
79 ForeignKeyBundle other = new ForeignKeyBundle("table", "onDelete",
82 assertThat(bundle.isSchemaEqual(other), i
[all...]
H A DIndexBundleTest.java34 IndexBundle other = new IndexBundle("index1", false,
36 assertThat(bundle.isSchemaEqual(other), is(true));
43 IndexBundle other = new IndexBundle("index3", false,
45 assertThat(bundle.isSchemaEqual(other), is(false));
52 IndexBundle other = new IndexBundle(IndexBundle.DEFAULT_PREFIX + "y", false,
54 assertThat(bundle.isSchemaEqual(other), is(true));
61 IndexBundle other = new IndexBundle("index1", true,
63 assertThat(bundle.isSchemaEqual(other), is(false));
70 IndexBundle other = new IndexBundle("index1", false,
72 assertThat(bundle.isSchemaEqual(other), i
[all...]
/frameworks/base/core/java/android/security/net/config/
H A DDomain.java46 public boolean equals(Object other) { argument
47 if (other == this) {
50 if (!(other instanceof Domain)) {
53 Domain otherDomain = (Domain) other;
/frameworks/base/core/java/android/text/
H A DTextPaint.java84 public boolean hasEqualAttributes(@NonNull TextPaint other) { argument
85 return bgColor == other.bgColor
86 && baselineShift == other.baselineShift
87 && linkColor == other.linkColor
88 && drawableState == other.drawableState
89 && density == other.density
90 && underlineColor == other.underlineColor
91 && underlineThickness == other.underlineThickness
92 && super.hasEqualAttributes((Paint) other);
/frameworks/base/libs/hwui/hwui/
H A DPaintImpl.cpp49 Paint& Paint::operator=(const Paint& other) { argument
50 SkPaint::operator=(other);
51 mLetterSpacing = other.mLetterSpacing;
52 mWordSpacing = other.mWordSpacing;
53 mFontFeatureSettings = other.mFontFeatureSettings;
54 mMinikinLocaleListId = other.mMinikinLocaleListId;
55 mFamilyVariant = other.mFamilyVariant;
56 mHyphenEdit = other.mHyphenEdit;
57 mTypeface = other.mTypeface;
/frameworks/native/include/ui/
H A DFloatRect.h30 FloatRect intersect(const FloatRect& other) const {
32 // Inline to avoid tromping on other min/max defines or adding a
34 (left > other.left) ? left : other.left,
35 (top > other.top) ? top : other.top,
36 (right < other.right) ? right : other.right,
37 (bottom < other.bottom) ? bottom : other
[all...]

Completed in 1322 milliseconds

1234567891011>>