Searched defs:other (Results 226 - 250 of 293) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/os/
H A DBaseBundle.java396 public boolean kindofEquals(BaseBundle other) { argument
397 if (other == null) {
400 if (isParcelled() != other.isParcelled()) {
404 return mParcelledData.compareData(other.mParcelledData) == 0;
406 return mMap.equals(other.mMap);
/frameworks/base/core/java/android/view/
H A DSurface.java484 * @param other {@link SurfaceControl} to copy from.
488 public void copyFrom(SurfaceControl other) { argument
489 if (other == null) {
490 throw new IllegalArgumentException("other must not be null");
493 long surfaceControlPtr = other.mNativeObject;
516 * @param other {@link SurfaceControl} to create surface from.
520 public void createFrom(SurfaceControl other) { argument
521 if (other == null) {
522 throw new IllegalArgumentException("other must not be null");
525 long surfaceControlPtr = other
547 transferFrom(Surface other) argument
[all...]
H A DViewTreeObserver.java290 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...]
/frameworks/base/core/java/com/android/internal/app/procstats/
H A DProcessState.java243 public void add(ProcessState other) { argument
244 mDurations.addDurations(other.mDurations);
245 mPssTable.mergeStats(other.mPssTable);
246 mNumExcessiveCpu += other.mNumExcessiveCpu;
247 if (other.mNumCachedKill > 0) {
248 addCachedKill(other.mNumCachedKill, other.mMinCachedKillPss,
249 other.mAvgCachedKillPss, other.mMaxCachedKillPss);
/frameworks/base/core/java/com/android/internal/util/
H A DNotificationColorUtil.java294 * @param other the color to ensure contrast against. Assumed to be lighter than {@param color}
300 public static int findContrastColor(int color, int other, boolean findFg, double minRatio) { argument
301 int fg = findFg ? color : other;
302 int bg = findFg ? other : color;
364 * @param other the color to ensure contrast against. Assumed to be darker than {@param color}
370 public static int findContrastColorAgainstDark(int color, int other, boolean findFg, argument
372 int fg = findFg ? color : other;
373 int bg = findFg ? other : color;
616 * Composite two potentially translucent colors over each other and returns the result.
644 * Composite two potentially translucent colors over each other an
[all...]
/frameworks/base/core/jni/
H A Dandroid_hardware_camera2_CameraMetadata.cpp212 jobject other) {
216 CameraMetadata_getPointerThrow(env, other, "other");
270 static void CameraMetadata_swap(JNIEnv *env, jobject thiz, jobject other) { argument
279 CameraMetadata* otherMetadata = CameraMetadata_getPointerThrow(env, other, "other");
211 CameraMetadata_allocateCopy(JNIEnv *env, jobject thiz, jobject other) argument
/frameworks/base/graphics/java/android/graphics/
H A DMatrix.java151 public boolean preConcat(Matrix other) {
199 public boolean postConcat(Matrix other) {
452 * Preconcats the matrix with the specified matrix. M' = M * other
454 public boolean preConcat(Matrix other) { argument
455 nPreConcat(native_instance, other.native_instance);
516 * Postconcats the matrix with the specified matrix. M' = other * M
518 public boolean postConcat(Matrix other) { argument
519 nPostConcat(native_instance, other.native_instance);
/frameworks/base/media/java/android/media/session/
H A DMediaController.java46 * other commands can be sent to the session. A callback may be registered to
123 * be sent by this method, other keys will be ignored.
509 public boolean controlsSameSession(MediaController other) { argument
510 if (other == null) return false;
511 return mSessionBinder.asBinder() == other.getSessionBinder().asBinder();
638 * @param extras The extras that can include other information associated with the
664 * Request that the player prepare its playback. In other words, other sessions can continue
679 * Request that the player prepare playback for a specific media id. In other words, other
[all...]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
H A DAccessPoint.java354 * equal to, or greater than the other AccessPoint.
368 public int compareTo(@NonNull AccessPoint other) { argument
370 if (isActive() && !other.isActive()) return -1;
371 if (!isActive() && other.isActive()) return 1;
374 if (isReachable() && !other.isReachable()) return -1;
375 if (!isReachable() && other.isReachable()) return 1;
378 if (isSaved() && !other.isSaved()) return -1;
379 if (!isSaved() && other.isSaved()) return 1;
382 if (getSpeed() != other.getSpeed()) {
383 return other
404 equals(Object other) argument
[all...]
/frameworks/base/services/core/java/com/android/server/trust/
H A DTrustManagerService.java185 public boolean equals(Object other) { argument
186 if (!(other instanceof AgentInfo)) {
189 AgentInfo o = (AgentInfo) other;
/frameworks/base/services/core/java/com/android/server/wm/
H A DWindowContainer.java392 * {@link #POSITION_BOTTOM}. When moving to other intermediate positions
615 * WindowManager perspective which usually means valid surface and some other internal state
817 public int compareTo(WindowContainer other) { argument
818 if (this == other) {
822 if (mParent != null && mParent == other.mParent) {
824 return list.indexOf(this) > list.indexOf(other) ? 1 : -1;
831 other.getParents(otherParentChain);
847 + thisParentChain + " other=" + otherParentChain);
851 // we are comparing it the parent of the other then whichever is the child is greater.
854 } else if (commonAncestor == other) {
[all...]
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/store/
H A DResourceBundle.java436 public void inheritConfigurationFrom(LayoutFileBundle other) { argument
437 mFileName = other.mFileName;
438 mModulePackage = other.mModulePackage;
439 mBindingClass = other.mBindingClass;
440 mFullBindingClass = other.mFullBindingClass;
441 mBindingClassName = other.mBindingClassName;
442 mBindingPackage = other.mBindingPackage;
443 mHasVariations = other.mHasVariations;
444 mIsMerge = other.mIsMerge;
/frameworks/ex/widget/java/com/android/ex/widget/
H A DStaggeredGridView.java71 * currently attached to the grid as children. All other adapter positions do not have
82 * Whenever layout parameters for a known LayoutRecord change, other LayoutRecords before
84 * of columns it spans changes, all bets for other items in the same direction are off
474 // There may be other offscreen views, but we need to maintain
491 // There may be other offscreen views, but we need to maintain
1444 public LayoutParams(ViewGroup.LayoutParams other) { argument
1445 super(other);
/frameworks/native/headers/media_plugin/media/openmax/
H A DOMX_Component.h99 OMX_OTHER_PORTDEFINITIONTYPE other; member in union:OMX_PARAM_PORTDEFINITIONTYPE::__anon1379
/frameworks/native/include/media/openmax/
H A DOMX_Component.h99 OMX_OTHER_PORTDEFINITIONTYPE other; member in union:OMX_PARAM_PORTDEFINITIONTYPE::__anon1501
/frameworks/native/libs/gui/
H A DSurfaceComposerClient.cpp101 SurfaceComposerClient::Transaction::Transaction(const Transaction& other) : argument
102 mForceSynchronous(other.mForceSynchronous),
103 mTransactionNestCount(other.mTransactionNestCount),
104 mAnimation(other.mAnimation),
105 mEarlyWakeup(other.mEarlyWakeup) {
106 mDisplayStates = other.mDisplayStates;
107 mComposerStates = other.mComposerStates;
110 SurfaceComposerClient::Transaction& SurfaceComposerClient::Transaction::merge(Transaction&& other) { argument
111 for (auto const& kv : other.mComposerStates) {
118 other
[all...]
/frameworks/native/libs/input/
H A DInputTransport.cpp736 const History* other; local
743 other = &future;
754 // So other->eventTime <= current->eventTime <= sampleTime.
755 other = touchState.getHistory(1);
756 nsecs_t delta = current->eventTime - other->eventTime;
809 if (other->idBits.hasBit(id)
811 const PointerCoords& otherCoords = other->getPointerById(id);
818 "other (%0.3f, %0.3f), alpha %0.3f",
H A DKeyCharacterMap.cpp94 KeyCharacterMap::KeyCharacterMap(const KeyCharacterMap& other) : argument
95 RefBase(), mType(other.mType), mKeysByScanCode(other.mKeysByScanCode),
96 mKeysByUsageCode(other.mKeysByUsageCode) {
97 for (size_t i = 0; i < other.mKeys.size(); i++) {
98 mKeys.add(other.mKeys.keyAt(i), new Key(*other.mKeys.valueAt(i)));
689 KeyCharacterMap::Key::Key(const Key& other) : argument
690 label(other.label), number(other
710 Behavior(const Behavior& other) argument
[all...]
/frameworks/native/libs/vr/libbufferhub/include/private/dvr/
H A Dbufferhub_rpc.h106 NativeBufferHandle(NativeBufferHandle&& other) = default; member in class:android::dvr::NativeBufferHandle
107 NativeBufferHandle& operator=(NativeBufferHandle&& other) = default; member in class:android::dvr::NativeBufferHandle
177 BufferDescription(BufferDescription&& other) = default; member in class:android::dvr::BufferDescription
178 BufferDescription& operator=(BufferDescription&& other) = default; member in class:android::dvr::BufferDescription
/frameworks/native/services/surfaceflinger/
H A DSurfaceFlinger.h163 // 3. When accessing mHwc on a thread other than the main thread, we always
373 State& operator=(const State& other) { argument
376 layersSortedByZ = other.layersSortedByZ;
377 displays = other.displays;
378 colorMatrixChanged = other.colorMatrixChanged;
380 colorMatrix = other.colorMatrix;
819 // it may be read from other threads with mStateLock held
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
H A DWifiAwareDataPathStateManager.java840 * However, it is possible that there were other equivalent requests for this NDP. We
1261 public boolean matches(CanonicalConnectionInfo other) { argument
1262 return (other.peerDiscoveryMac == null || Arrays
1263 .equals(peerDiscoveryMac, other.peerDiscoveryMac))
1264 && Arrays.equals(pmk, other.pmk)
1265 && TextUtils.equals(passphrase, other.passphrase)
1266 && (TextUtils.isEmpty(passphrase) || sessionId == other.sessionId);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
H A DInformationElementUtil.java374 public ExtendedCapabilities(ExtendedCapabilities other) { argument
375 capabilitiesBitSet = other.capabilitiesBitSet;
/frameworks/support/recyclerview-selection/src/main/java/androidx/recyclerview/selection/
H A DGridModel.java432 public int compareTo(Limits other) { argument
433 return lowerLimit - other.lowerLimit;
442 public boolean equals(Object other) { argument
443 if (!(other instanceof Limits)) {
447 return ((Limits) other).lowerLimit == lowerLimit
448 && ((Limits) other).upperLimit == upperLimit;
574 public boolean equals(Object other) { argument
575 if (!(other instanceof RelativeCoordinate)) {
579 RelativeCoordinate otherCoordinate = (RelativeCoordinate) other;
584 public int compareTo(RelativeCoordinate other) { argument
623 equals(@ullable Object other) argument
[all...]
/frameworks/support/tv-provider/src/main/java/androidx/tvprovider/media/tv/
H A DChannel.java349 public boolean equals(Object other) { argument
350 if (!(other instanceof Channel)) {
353 return mValues.equals(((Channel) other).mValues);
602 public Builder(Channel other) { argument
603 mValues = new ContentValues(other.mValues);
842 * Sets whether this channel can be searched for in other applications.
/frameworks/av/packages/MediaComponents/src/com/android/media/
H A DMediaSession2Impl.java139 // TODO(jaewan): Keep other params.
1058 CommandImpl other = (CommandImpl) obj;
1060 return mCommandCode == other.mCommandCode
1061 && TextUtils.equals(mCustomCommand, other.mCustomCommand);
1091 public CommandGroupImpl(SessionCommandGroup2 instance, Object other) { argument
1093 if (other != null && other instanceof CommandGroupImpl) {
1094 mCommands.addAll(((CommandGroupImpl) other).mCommands);
1293 ControllerInfoImpl other = (ControllerInfoImpl) obj;
1294 return mControllerBinder.asBinder().equals(other
[all...]

Completed in 514 milliseconds

1234567891011>>