Home
last modified time | relevance | path

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

12345678910>>...20

/frameworks/base/core/java/com/android/server/net/
DNetlinkTracker.java123 boolean changed; in addressUpdated()
125 changed = mLinkProperties.addLinkAddress(address); in addressUpdated()
127 if (changed) { in addressUpdated()
137 boolean changed; in addressRemoved()
139 changed = mLinkProperties.removeLinkAddress(address); in addressRemoved()
141 if (changed) { in addressRemoved()
151 boolean changed; in routeUpdated()
153 changed = mLinkProperties.addRoute(route); in routeUpdated()
155 if (changed) { in routeUpdated()
165 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/native/services/surfaceflinger/tests/unittests/
DLayerMetadataTest.cpp84 bool changed = metadata.merge(second); in TEST_F() local
86 ASSERT_TRUE(changed); in TEST_F()
94 changed = metadata.merge(withErase, true /* eraseEmpty */); in TEST_F()
95 ASSERT_TRUE(changed); in TEST_F()
104 changed = metadata.merge(third); in TEST_F()
105 ASSERT_FALSE(changed); in TEST_F()
/frameworks/base/core/java/android/content/res/
DConfiguration.java1416 int changed = 0; in updateFrom() local
1418 changed |= ActivityInfo.CONFIG_FONT_SCALE; in updateFrom()
1422 changed |= ActivityInfo.CONFIG_MCC; in updateFrom()
1426 changed |= ActivityInfo.CONFIG_MNC; in updateFrom()
1432 changed |= ActivityInfo.CONFIG_LOCALE; in updateFrom()
1438 changed |= ActivityInfo.CONFIG_LAYOUT_DIRECTION; in updateFrom()
1448 changed |= ActivityInfo.CONFIG_LAYOUT_DIRECTION; in updateFrom()
1450 … if (delta.userSetLocale && (!userSetLocale || ((changed & ActivityInfo.CONFIG_LOCALE) != 0))) in updateFrom()
1452 changed |= ActivityInfo.CONFIG_LOCALE; in updateFrom()
1457 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/av/media/libeffects/dynamicsproc/dsp/
DDPFrequency.cpp193 bool changed = false; in updateParameters() local
194 IS_CHANGED(changed, cb.inputGainDb, pChannel->getInputGain()); in updateParameters()
202 IS_CHANGED(changed, cb.mPreEqEnabled, pPreEq->isEnabled()); in updateParameters()
211 IS_CHANGED(changed, pEqBandParams->enabled, pEqBand->isEnabled()); in updateParameters()
212 IS_CHANGED(changed, pEqBandParams->freqCutoffHz, in updateParameters()
214 IS_CHANGED(changed, pEqBandParams->gainDb, pEqBand->getGain()); in updateParameters()
219 if (changed) { in updateParameters()
251 bool changed = false; in updateParameters() local
258 IS_CHANGED(changed, cb.mPostEqEnabled, pPostEq->isEnabled()); in updateParameters()
267 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/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumeDialogControllerImpl.java429 boolean changed = false; in checkRoutedToBluetoothW()
436 changed |= updateStreamRoutedToBluetoothW(stream, routedToBluetooth); in checkRoutedToBluetoothW()
438 return changed; in checkRoutedToBluetoothW()
465 boolean changed = false; in onVolumeChangedW()
467 changed |= updateActiveStreamW(stream); in onVolumeChangedW()
470 changed |= updateStreamLevelW(stream, lastAudibleStreamVolume); in onVolumeChangedW()
471 changed |= checkRoutedToBluetoothW(showUI ? AudioManager.STREAM_MUSIC : stream); in onVolumeChangedW()
472 if (changed) { in onVolumeChangedW()
484 if (changed && fromKey) { in onVolumeChangedW()
487 return changed; in onVolumeChangedW()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDataEnabledSettings.java223 boolean changed = GlobalSettingsHelper.setInt(mPhone.getContext(), in setUserDataEnabled()
225 if (changed) { in setUserDataEnabled()
256 boolean changed = SubscriptionController.getInstance() in setAlwaysAllowMmsData()
258 if (changed) { in setAlwaysAllowMmsData()
263 return changed; in setAlwaysAllowMmsData()
284 boolean changed = SubscriptionController.getInstance() in setAllowDataDuringVoiceCall()
286 if (changed) { in setAllowDataDuringVoiceCall()
291 return changed; in setAllowDataDuringVoiceCall()
385 boolean changed = GlobalSettingsHelper.setBoolean(mPhone.getContext(), in setDataRoamingEnabled()
388 if (changed) { in setDataRoamingEnabled()
/frameworks/base/core/jni/
Dandroid_view_TextureLayer.cpp45 bool changed = false; in TextureLayer_prepare() local
46 changed |= layer->setSize(width, height); in TextureLayer_prepare()
47 changed |= layer->setBlend(!isOpaque); in TextureLayer_prepare()
48 return changed; in TextureLayer_prepare()
/frameworks/base/core/java/android/widget/
DScrollBarDrawable.java179 boolean changed = super.onStateChange(state); in onStateChange()
181 changed |= mVerticalTrack.setState(state); in onStateChange()
184 changed |= mVerticalThumb.setState(state); in onStateChange()
187 changed |= mHorizontalTrack.setState(state); in onStateChange()
190 changed |= mHorizontalThumb.setState(state); in onStateChange()
192 return changed; in onStateChange()
212 final boolean changed = mRangeChanged || mBoundsChanged; in drawThumb()
216 if (changed) { in drawThumb()
226 if (changed) { in drawThumb()
/frameworks/base/packages/SystemUI/legacy/recents/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/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/base/services/core/java/com/android/server/wm/
DVrController.java186 boolean changed = false; in onVrModeChanged()
194 changed = changeVrModeLocked(vrMode, record.app); in onVrModeChanged()
204 return changed; in onVrModeChanged()
302 boolean changed = (oldVrState != mVrState); in changeVrModeLocked()
304 if (changed) { in changeVrModeLocked()
314 return changed; in changeVrModeLocked()
/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/services/core/java/com/android/server/role/
DRoleUserState.java242 boolean changed = false; in setRoleNames()
254 changed = true; in setRoleNames()
260 changed |= addRoleName(roleNames.get(i)); in setRoleNames()
263 if (changed) { in setRoleNames()
279 boolean changed; in addRoleHolder()
290 changed = roleHolders.add(packageName); in addRoleHolder()
291 if (changed) { in addRoleHolder()
296 if (changed) { in addRoleHolder()
312 boolean changed; in removeRoleHolder()
324 changed = roleHolders.remove(packageName); in removeRoleHolder()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneConnection.java522 boolean changed = false; in onDisconnect()
535 changed = mParent.connectionDisconnected(this); in onDisconnect()
551 return changed; in onDisconnect()
889 boolean changed = false; in updateAddressDisplay()
917 changed = true; in updateAddressDisplay()
922 changed = true; in updateAddressDisplay()
926 changed = true; in updateAddressDisplay()
930 changed = true; in updateAddressDisplay()
934 changed = true; in updateAddressDisplay()
938 return changed; in updateAddressDisplay()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DFlashlightControllerImpl.java238 boolean changed;
240 changed = mTorchAvailable != available;
243 if (changed) {
250 boolean changed;
252 changed = mFlashlightEnabled != enabled;
255 if (changed) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DGsmCdmaCall.java121 boolean changed = false; in update()
127 changed = true; in update()
130 return changed; in update()
/frameworks/native/libs/gui/
DLayerMetadata.cpp35 bool changed = false; in merge() local
44 changed = true; in merge()
47 changed = true; in merge()
50 return changed; in merge()

12345678910>>...20