Home
last modified time | relevance | path

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

12345678910>>...22

/frameworks/base/core/java/com/android/server/net/
DNetlinkTracker.java121 boolean changed; in addressUpdated()
123 changed = mLinkProperties.addLinkAddress(address); in addressUpdated()
125 if (changed) { in addressUpdated()
135 boolean changed; in addressRemoved()
137 changed = mLinkProperties.removeLinkAddress(address); in addressRemoved()
139 if (changed) { in addressRemoved()
149 boolean changed; in routeUpdated()
151 changed = mLinkProperties.addRoute(route); in routeUpdated()
153 if (changed) { in routeUpdated()
163 boolean changed; in routeRemoved()
[all …]
/frameworks/layoutlib/bridge/src/android/content/res/
DResources_Theme_Delegate.java58 boolean changed = setupResources(thisTheme); in obtainStyledAttributes()
62 restoreResources(changed); in obtainStyledAttributes()
71 boolean changed = setupResources(thisTheme); in obtainStyledAttributes()
75 restoreResources(changed); in obtainStyledAttributes()
83 boolean changed = setupResources(thisTheme); in obtainStyledAttributes()
87 restoreResources(changed); in obtainStyledAttributes()
96 boolean changed = setupResources(thisTheme); in resolveAttribute()
99 restoreResources(changed); in resolveAttribute()
119 boolean changed = false; in setupResources()
125 changed = true; in setupResources()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
DDividerWindowManager.java75 boolean changed = false; in setSlippery()
78 changed = true; in setSlippery()
81 changed = true; in setSlippery()
83 if (changed) { in setSlippery()
89 boolean changed = false; in setTouchable()
92 changed = true; in setTouchable()
95 changed = true; in setTouchable()
97 if (changed) { in setTouchable()
/frameworks/base/native/
Dcopy-to-ndk.sh21 local changed=""
24 if [ "$changed" == "" -a -e $dst ]; then
28 changed="false"
30 changed="true"
35 if [ "$changed" == "true" -o "$changed" == "" ]; then
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DMapper.java70 final boolean changed = putDocuments( in putDeviceDocument()
78 return changed; in putDeviceDocument()
110 final boolean changed = putDocuments( in putStorageDocuments()
119 return changed; in putStorageDocuments()
246 boolean changed = false; in putDocuments()
266 changed = true; in putDocuments()
270 if (!changed) { in putDocuments()
287 if (!changed) { in putDocuments()
292 changed = true; in putDocuments()
299 return changed; in putDocuments()
[all …]
DRootScanner.java133 boolean changed = false; in run()
141 changed = true; in run()
146 changed = true; in run()
165 changed = true; in run()
168 changed = true; in run()
176 if (changed) { in run()
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
DThumbsBar.java91 boolean changed = false; in setThumbSize()
94 changed = true; in setThumbSize()
98 changed = true; in setThumbSize()
100 if (changed) { in setThumbSize()
118 boolean changed = false; in setHeroThumbSize()
121 changed = true; in setHeroThumbSize()
125 changed = true; in setHeroThumbSize()
127 if (changed) { in setHeroThumbSize()
236 protected void onLayout(boolean changed, int l, int t, int r, int b) { in onLayout() argument
237 super.onLayout(changed, l, t, r, b); in onLayout()
/frameworks/base/core/java/android/content/res/
DConfiguration.java1222 int changed = 0; in updateFrom() local
1224 changed |= ActivityInfo.CONFIG_FONT_SCALE; in updateFrom()
1228 changed |= ActivityInfo.CONFIG_MCC; in updateFrom()
1232 changed |= ActivityInfo.CONFIG_MNC; in updateFrom()
1238 changed |= ActivityInfo.CONFIG_LOCALE; in updateFrom()
1244 changed |= ActivityInfo.CONFIG_LAYOUT_DIRECTION; in updateFrom()
1254 changed |= ActivityInfo.CONFIG_LAYOUT_DIRECTION; in updateFrom()
1256 … if (delta.userSetLocale && (!userSetLocale || ((changed & ActivityInfo.CONFIG_LOCALE) != 0))) in updateFrom()
1258 changed |= ActivityInfo.CONFIG_LOCALE; in updateFrom()
1263 changed |= ActivityInfo.CONFIG_TOUCHSCREEN; in updateFrom()
[all …]
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
DStyledCornersBitmapDrawable.java111 final boolean changed = mBorderPaint.getStrokeWidth() != borderWidth; in setBorderWidth()
115 if (changed) { in setBorderWidth()
124 final boolean changed = mBorderPaint.getColor() != color; in setBorderColor()
127 if (changed) { in setBorderColor()
159 boolean changed = mFlapPaint.getColor() != flapColor; in setFlapColor()
162 if (changed) { in setFlapColor()
180 boolean changed = mScrimColor != color; in setScrimColor()
183 if (changed) { in setScrimColor()
194 boolean changed = mIsCompatibilityMode != isCompatibilityMode; in setCompatibilityMode()
197 if (changed) { in setCompatibilityMode()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumeDialogControllerImpl.java367 boolean changed = false; in checkRoutedToBluetoothW()
374 changed |= updateStreamRoutedToBluetoothW(stream, routedToBluetooth); in checkRoutedToBluetoothW()
376 return changed; in checkRoutedToBluetoothW()
403 boolean changed = false; in onVolumeChangedW()
405 changed |= updateActiveStreamW(stream); in onVolumeChangedW()
408 changed |= updateStreamLevelW(stream, lastAudibleStreamVolume); in onVolumeChangedW()
409 changed |= checkRoutedToBluetoothW(showUI ? AudioManager.STREAM_MUSIC : stream); in onVolumeChangedW()
410 if (changed) { in onVolumeChangedW()
422 if (changed && fromKey) { in onVolumeChangedW()
425 return changed; in onVolumeChangedW()
[all …]
/frameworks/av/media/libeffects/dynamicsproc/dsp/
DDPFrequency.cpp196 bool changed = false; in updateParameters() local
197 IS_CHANGED(changed, cb.inputGainDb, pChannel->getInputGain()); in updateParameters()
205 IS_CHANGED(changed, cb.mPreEqEnabled, pPreEq->isEnabled()); in updateParameters()
214 IS_CHANGED(changed, pEqBandParams->enabled, pEqBand->isEnabled()); in updateParameters()
215 IS_CHANGED(changed, pEqBandParams->freqCutoffHz, in updateParameters()
217 IS_CHANGED(changed, pEqBandParams->gainDb, pEqBand->getGain()); in updateParameters()
222 if (changed) { in updateParameters()
254 bool changed = false; in updateParameters() local
261 IS_CHANGED(changed, cb.mPostEqEnabled, pPostEq->isEnabled()); in updateParameters()
270 IS_CHANGED(changed, pEqBandParams->enabled, pEqBand->isEnabled()); in updateParameters()
[all …]
/frameworks/base/core/jni/android/graphics/
DMovieImpl.cpp58 bool changed = false; in setTime() local
62 changed = this->onSetTime(time); in setTime()
63 fNeedBitmap |= changed; in setTime()
65 return changed; in setTime()
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
DAbsSpinnerBindingAdapter.java31 boolean changed = true; in setEntries()
33 changed = false; in setEntries()
36 changed = true; in setEntries()
41 if (changed) { in setEntries()
/frameworks/base/core/jni/
Dandroid_view_TextureLayer.cpp46 bool changed = false; in TextureLayer_prepare() local
47 changed |= layer->setSize(width, height); in TextureLayer_prepare()
48 changed |= layer->setBlend(!isOpaque); in TextureLayer_prepare()
49 return changed; in TextureLayer_prepare()
/frameworks/base/core/java/android/widget/
DScrollBarDrawable.java170 boolean changed = super.onStateChange(state); in onStateChange()
172 changed |= mVerticalTrack.setState(state); in onStateChange()
175 changed |= mVerticalThumb.setState(state); in onStateChange()
178 changed |= mHorizontalTrack.setState(state); in onStateChange()
181 changed |= mHorizontalThumb.setState(state); in onStateChange()
183 return changed; in onStateChange()
203 final boolean changed = mRangeChanged || mBoundsChanged; in drawThumb()
207 if (changed) { in drawThumb()
217 if (changed) { in drawThumb()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DMagnificationController.java413 final boolean changed = !spec.isNop(); in resetLocked()
414 if (changed) { in resetLocked()
420 return changed; in resetLocked()
521 final boolean changed = updateMagnificationSpecLocked(scale, centerX, centerY); in setScaleAndCenterLocked()
526 return changed; in setScaleAndCenterLocked()
625 boolean changed = false; in updateMagnificationSpecLocked()
630 changed = true; in updateMagnificationSpecLocked()
637 changed |= updateCurrentSpecWithOffsetsLocked(nonNormOffsetX, nonNormOffsetY); in updateMagnificationSpecLocked()
639 if (changed) { in updateMagnificationSpecLocked()
643 return changed; in updateMagnificationSpecLocked()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DFixedSizeFrameLayout.java58 protected final void onLayout(boolean changed, int left, int top, int right, int bottom) { in onLayout() argument
60 layoutContents(mLayoutBounds, changed); in onLayout()
89 protected void layoutContents(Rect bounds, boolean changed) { in layoutContents() argument
90 super.onLayout(changed, bounds.left, bounds.top, bounds.right, bounds.bottom); in layoutContents()
/frameworks/support/v7/recyclerview/src/test/java/androidx/recyclerview/widget/
DDiffUtilTest.java352 } else if (after.get(i).changed) { in assertEquals()
354 assertThat(report, item.changed, is(true)); in assertEquals()
393 assertThat(existing.changed, is(false)); in applyUpdates()
398 replica.changed = true; in applyUpdates()
423 replica.changed = true; in update()
438 replica.changed = true; in updateWithPayload()
456 boolean changed = false; field in DiffUtilTest.Item
469 changed = other.changed; in Item()
483 if (changed != item.changed) return false; in equals()
495 result = 31 * result + (changed ? 1 : 0); in hashCode()
[all …]
/frameworks/compile/slang/StripUnkAttr/
Dstrip_unknown_attributes.cpp24 bool changed = false; in stripUnknownAttributes() local
36 changed = true; in stripUnknownAttributes()
40 return changed; in stripUnknownAttributes()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DResizingSpace.java44 boolean changed = false; in onConfigurationChanged()
49 changed = true; in onConfigurationChanged()
56 changed = true; in onConfigurationChanged()
59 if (changed) { in onConfigurationChanged()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneConnection.java443 boolean changed = false; in onDisconnect()
456 changed = mParent.connectionDisconnected(this); in onDisconnect()
466 return changed; in onDisconnect()
795 boolean changed = false; in updateAddressDisplay()
823 changed = true; in updateAddressDisplay()
828 changed = true; in updateAddressDisplay()
832 changed = true; in updateAddressDisplay()
836 changed = true; in updateAddressDisplay()
840 changed = true; in updateAddressDisplay()
844 return changed; in updateAddressDisplay()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DVrController.java182 boolean changed = false; in onVrModeChanged()
190 changed = changeVrModeLocked(vrMode, record.app); in onVrModeChanged()
200 return changed; in onVrModeChanged()
298 boolean changed = (oldVrState != mVrState); in changeVrModeLocked()
300 if (changed) { in changeVrModeLocked()
309 return changed; in changeVrModeLocked()
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/qs/
DQSTile.java123 final boolean changed = !Objects.equals(other.icon, icon) in copyTo()
149 return changed; in copyTo()
189 final boolean changed = super.copyTo(other) || o.value != value; in copyTo()
191 return changed; in copyTo()
220 final boolean changed = o.activityIn != activityIn in copyTo()
228 return super.copyTo(other) || changed; in copyTo()
256 final boolean changed = super.copyTo(other) || o.isAirplaneMode != isAirplaneMode; in copyTo()
258 return changed; in copyTo()
/frameworks/base/services/core/java/com/android/server/job/controllers/
DDeviceIdleJobsController.java106 boolean changed = false;
108 changed |= updateTaskStateLocked(mAllowInIdleJobs.valueAt(i));
110 if (changed) {
143 boolean changed = false; in updateIdleMode()
146 changed = true; in updateIdleMode()
166 if (changed) { in updateIdleMode()
175 final boolean changed = (active != mForegroundUids.get(uid)); in setUidActiveLocked()
176 if (!changed) { in setUidActiveLocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DFlashlightControllerImpl.java221 boolean changed;
223 changed = mTorchAvailable != available;
226 if (changed) {
233 boolean changed;
235 changed = mFlashlightEnabled != enabled;
238 if (changed) {

12345678910>>...22