Home
last modified time | relevance | path

Searched refs:changed (Results 1 – 25 of 205) sorted by relevance

123456789

/packages/modules/NetworkStack/src/android/net/ip/
DIpClientLinkObserver.java181 boolean changed; in onInterfaceAddressUpdated()
183 changed = mLinkProperties.addLinkAddress(address); in onInterfaceAddressUpdated()
185 if (changed) { in onInterfaceAddressUpdated()
195 boolean changed; in onInterfaceAddressRemoved()
197 changed = mLinkProperties.removeLinkAddress(address); in onInterfaceAddressRemoved()
199 if (changed) { in onInterfaceAddressRemoved()
209 boolean changed; in onRouteUpdated()
211 changed = mLinkProperties.addRoute(route); in onRouteUpdated()
213 if (changed) { in onRouteUpdated()
223 boolean changed; in onRouteRemoved()
[all …]
/packages/apps/TV/src/com/android/tv/parental/
DParentalControlSettings.java150 boolean changed; in setUnratedBlocked()
152 changed = mRatings.add(TvContentRating.UNRATED); in setUnratedBlocked()
155 changed = mRatings.remove(TvContentRating.UNRATED); in setUnratedBlocked()
158 if (changed) { in setUnratedBlocked()
162 return changed; in setUnratedBlocked()
264 boolean changed; in setRatingBlockedInternal()
266 changed = mRatings.add(tvContentRating); in setRatingBlockedInternal()
269 changed = mRatings.remove(tvContentRating); in setRatingBlockedInternal()
272 if (changed) { in setRatingBlockedInternal()
275 return changed; in setRatingBlockedInternal()
/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DPreferredServices.java169 boolean changed = false; in computePreferredForegroundService()
179 changed = true; in computePreferredForegroundService()
182 changed = true; in computePreferredForegroundService()
186 if (changed) { in computePreferredForegroundService()
203 boolean changed = false; in onServicesUpdated()
213 changed = true; in onServicesUpdated()
219 if (changed) { in onServicesUpdated()
336 boolean changed = false; in onHostEmulationDeactivated()
349 changed = true; in onHostEmulationDeactivated()
354 if (changed) { in onHostEmulationDeactivated()
DEnabledNfcFServices.java68 boolean changed = false; in computeEnabledForegroundService()
81 changed = true; in computeEnabledForegroundService()
84 changed = true; in computeEnabledForegroundService()
88 if (changed) { in computeEnabledForegroundService()
96 boolean changed = false; in onServicesUpdated()
102 changed = true; in onServicesUpdated()
105 if (changed) { in onServicesUpdated()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DRunningState.java495 boolean changed = false; in updateService()
498 changed = true; in updateService()
524 changed = true; in updateService()
529 changed = true; in updateService()
542 changed = true; in updateService()
548 return changed; in updateService()
569 boolean changed = false; in buildDependencyChain()
573 changed = true; in buildDependencyChain()
578 changed |= proc.buildDependencyChain(context, pm, curSeq); in buildDependencyChain()
582 changed = true; in buildDependencyChain()
[all …]
/packages/apps/Settings/src/com/android/settings/applications/
DRunningState.java495 boolean changed = false; in updateService()
498 changed = true; in updateService()
524 changed = true; in updateService()
529 changed = true; in updateService()
542 changed = true; in updateService()
548 return changed; in updateService()
569 boolean changed = false; in buildDependencyChain()
573 changed = true; in buildDependencyChain()
578 changed |= proc.buildDependencyChain(context, pm, curSeq); in buildDependencyChain()
582 changed = true; in buildDependencyChain()
[all …]
/packages/apps/Gallery/src/com/android/camera/
DEvenlySpacedLayout.java69 private void layoutHorizontal(boolean changed, int l, int t, int r, int b) { in layoutHorizontal() argument
96 private void layoutVertical(boolean changed, int l, int t, int r, int b) { in layoutVertical() argument
124 protected void onLayout(boolean changed, int l, int t, int r, int b) { in onLayout() argument
126 layoutHorizontal(changed, l, t, r, b); in onLayout()
128 layoutVertical(changed, l, t, r, b); in onLayout()
/packages/apps/PermissionController/src/com/android/packageinstaller/role/ui/handheld/
DAppIconPreference.java102 boolean changed = false; in onBindViewHolder()
105 changed = true; in onBindViewHolder()
109 changed = true; in onBindViewHolder()
111 if (changed) { in onBindViewHolder()
/packages/apps/Contacts/src/com/android/contacts/editor/
DAggregationSuggestionEngine.java314 boolean changed = updateSuggestedContactIds(cursor); in loadAggregationSuggestions()
315 if (!changed) { in loadAggregationSuggestions()
342 boolean changed = count != mSuggestedContactIds.length; in updateSuggestedContactIds()
346 if (!changed && Arrays.binarySearch(mSuggestedContactIds, contactId) < 0) { in updateSuggestedContactIds()
347 changed = true; in updateSuggestedContactIds()
352 if (changed) { in updateSuggestedContactIds()
361 return changed; in updateSuggestedContactIds()
/packages/apps/ThemePicker/src/com/android/customization/widget/
DDynamicAdaptiveIconDrawable.java507 final boolean changed = super.setVisible(visible, restart); in setVisible()
517 return changed; in setVisible()
621 boolean changed = false; in onStateChange()
627 changed = true; in onStateChange()
631 if (changed) { in onStateChange()
635 return changed; in onStateChange()
640 boolean changed = false; in onLevelChange()
646 changed = true; in onLevelChange()
650 if (changed) { in onLevelChange()
654 return changed; in onLevelChange()
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
DCarrierIdProviderTest.java92 private boolean changed = false; field in CarrierIdProviderTest.FakeContentObserver
98 changed = true; in onChange()
179 assertTrue(mContentObserver.changed); in testInsertCarrierInfo()
214 assertFalse(mContentObserver.changed); in testInvalidInsertionCarrierInfo()
239 assertTrue(mContentObserver.changed); in testDeleteCarrierInfo()
275 assertTrue(mContentObserver.changed); in testUpdateCarrierInfo()
425 assertFalse(mContentObserver.changed); in testUpdateCurrentSubscription_WrongURI()
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/darkmode/
DDarkModeScheduleSelectorControllerTest.java72 boolean changed = mController in nightMode_preferenceChange_preferenceChangeTrueWhenChangedOnly()
74 assertTrue(changed); in nightMode_preferenceChange_preferenceChangeTrueWhenChangedOnly()
75 changed = mController in nightMode_preferenceChange_preferenceChangeTrueWhenChangedOnly()
77 assertFalse(changed); in nightMode_preferenceChange_preferenceChangeTrueWhenChangedOnly()
/packages/apps/LegacyCamera/src/com/android/camera/ui/
DRightAlignedHorizontalScrollView.java35 protected void onLayout(boolean changed, int l, int t, int r, int b) { in onLayout() argument
36 super.onLayout(changed, l, t, r, b); in onLayout()
37 if (changed) { in onLayout()
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DParticipantData.java396 boolean changed = false; in updatePhoneNumberForSelfIfChanged()
403 changed = true; in updatePhoneNumberForSelfIfChanged()
405 return changed; in updatePhoneNumberForSelfIfChanged()
409 boolean changed = false; in updateSubscriptionInfoForSelfIfChanged()
417 changed = true; in updateSubscriptionInfoForSelfIfChanged()
427 changed = true; in updateSubscriptionInfoForSelfIfChanged()
431 return changed; in updateSubscriptionInfoForSelfIfChanged()
DConversationMessageBubbleData.java33 final boolean changed = !TextUtils.equals(mMessageId, data.getMessageId()); in bind()
35 return changed; in bind()
/packages/apps/Camera2/src/com/android/camera/ui/
DProgressOverlay.java45 public void onLayout(boolean changed, int left, int top, int right, int bottom) { in onLayout() argument
46 super.onLayout(changed, left, top, right, bottom); in onLayout()
47 if (changed) { in onLayout()
DModeSelectorItem.java132 public void onLayout(boolean changed, int left, int top, int right, int bottom) { in onLayout() argument
133 super.onLayout(changed, left, top, right, bottom); in onLayout()
135 if (changed && mVisibleWidth > 0) { in onLayout()
/packages/apps/Gallery2/src/com/android/photos/data/
DSQLiteContentProvider.java245 Set<Uri> changed; in onEndTransaction() local
247 changed = new HashSet<Uri>(mChangedUris); in onEndTransaction()
251 for (Uri uri : changed) { in onEndTransaction()
255 return changed; in onEndTransaction()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DComboAlbumSet.java78 boolean changed = false; in reload()
81 if (version > mDataVersion) changed = true; in reload()
83 if (changed) mDataVersion = nextVersionNumber(); in reload()
DComboAlbum.java85 boolean changed = false; in reload()
88 if (version > mDataVersion) changed = true; in reload()
90 if (changed) mDataVersion = nextVersionNumber(); in reload()
/packages/apps/Camera2/src/com/android/camera/tinyplanet/
DTinyPlanetPreview.java103 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { in onLayout() argument
104 super.onLayout(changed, left, top, right, bottom); in onLayout()
105 if (changed && mPreviewSizeListener != null) { in onLayout()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DBinaryDictEncoderUtils.java322 boolean changed = false; in computeActualPtNodeArraySize()
327 changed = true; in computeActualPtNodeArraySize()
350 changed = true; in computeActualPtNodeArraySize()
352 return changed; in computeActualPtNodeArraySize()
426 final boolean changed = computeActualPtNodeArraySize(ptNodeArray, dict, in computeAddresses()
433 changesDone |= changed; in computeAddresses()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/details/
DWifiDetailPreferenceControllerTest.java1686 boolean changed = mController.updateAccessPoint(); in updateAccessPoint_returnFalseForNothingChanged()
1688 assertThat(changed).isFalse(); in updateAccessPoint_returnFalseForNothingChanged()
1699 boolean changed = mController.updateAccessPoint(); in updateAccessPoint_returnTrueForSignalLevelChanged()
1701 assertThat(changed).isTrue(); in updateAccessPoint_returnTrueForSignalLevelChanged()
1712 boolean changed = mController.updateAccessPoint(); in updateAccessPoint_returnTrueForChangeAsNotInRange()
1714 assertThat(changed).isTrue(); in updateAccessPoint_returnTrueForChangeAsNotInRange()
1725 boolean changed = mController.updateAccessPoint(); in updateAccessPoint_returnTrueForChangeAsInRange()
1727 assertThat(changed).isTrue(); in updateAccessPoint_returnTrueForChangeAsInRange()
1738 boolean changed = mController.updateAccessPoint(); in updateAccessPoint_returnTrueForChangeAsConnected()
1740 assertThat(changed).isTrue(); in updateAccessPoint_returnTrueForChangeAsConnected()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ui/
DMtpImageView.java185 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { in onLayout() argument
186 super.onLayout(changed, left, top, right, bottom); in onLayout()
187 if (changed && getScaleType() == ScaleType.MATRIX) { in onLayout()
190 if (mShowOverlayIcon && changed && mOverlayIcon != null) { in onLayout()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DPositionController.java796 boolean changed = false; in startAnimation()
797 changed |= mPlatform.doAnimation(targetX, mPlatform.mDefaultY, kind); in startAnimation()
798 changed |= mBoxes.get(0).doAnimation(targetY, targetScale, kind); in startAnimation()
799 if (changed) redraw(); in startAnimation()
800 return changed; in startAnimation()
804 boolean changed = false; in advanceAnimation()
805 changed |= mPlatform.advanceAnimation(); in advanceAnimation()
807 changed |= mBoxes.get(i).advanceAnimation(); in advanceAnimation()
810 changed |= mGaps.get(i).advanceAnimation(); in advanceAnimation()
812 changed |= mFilmRatio.advanceAnimation(); in advanceAnimation()
[all …]

123456789