Home
last modified time | relevance | path

Searched refs:change (Results 1 – 25 of 107) sorted by relevance

12345

/frameworks/native/cmds/surfacereplayer/replayer/trace_creator/
Dtrace_creator.py102 change = None
104 change = increment.transaction.surface_change.add()
106 change = increment.transaction.display_change.add()
108 change.id = int(input("ID of layer/display to undergo a change: "))
111 change.position.x, change.position.y = position()
113 change.size.w, change.size.h = size()
115 change.alpha.alpha = alpha()
117 change.layer.layer = layer()
119 change.crop.rectangle.left, change.crop.rectangle.top, \
120 change.crop.rectangle.right, change.crop.rectangle.bottom = crop()
[all …]
/frameworks/native/services/surfaceflinger/tests/
DSurfaceInterceptor_test.cpp177 bool positionUpdateFound(const SurfaceChange& change, bool foundPosition);
178 bool sizeUpdateFound(const SurfaceChange& change, bool foundSize);
179 bool alphaUpdateFound(const SurfaceChange& change, bool foundAlpha);
180 bool layerUpdateFound(const SurfaceChange& change, bool foundLayer);
181 bool cropUpdateFound(const SurfaceChange& change, bool foundCrop);
182 bool cornerRadiusUpdateFound(const SurfaceChange& change, bool foundCornerRadius);
183 bool backgroundBlurRadiusUpdateFound(const SurfaceChange& change,
185 bool matrixUpdateFound(const SurfaceChange& change, bool foundMatrix);
186 bool scalingModeUpdateFound(const SurfaceChange& change, bool foundScalingMode);
187 bool transparentRegionHintUpdateFound(const SurfaceChange& change, bool foundTransparentRegion);
[all …]
/frameworks/native/cmds/surfacereplayer/replayer/
DReplayer.cpp362 for (const SurfaceChange& change : surfaceChanges) { in doSurfaceTransaction() local
364 if (mLayers[change.id()] == nullptr) { in doSurfaceTransaction()
365 mLayerCond.wait(lock, [&] { return (mLayers[change.id()] != nullptr); }); in doSurfaceTransaction()
368 switch (change.SurfaceChange_case()) { in doSurfaceTransaction()
370 setPosition(transaction, change.id(), change.position()); in doSurfaceTransaction()
373 setSize(transaction, change.id(), change.size()); in doSurfaceTransaction()
376 setAlpha(transaction, change.id(), change.alpha()); in doSurfaceTransaction()
379 setLayer(transaction, change.id(), change.layer()); in doSurfaceTransaction()
382 setCrop(transaction, change.id(), change.crop()); in doSurfaceTransaction()
385 setCornerRadius(transaction, change.id(), change.corner_radius()); in doSurfaceTransaction()
[all …]
/frameworks/base/services/core/java/com/android/server/compat/
DCompatConfig.java81 void addChange(CompatChange change) { in addChange() argument
83 mChanges.put(change.getId(), change); in addChange() local
302 CompatChange change = mChanges.valueAt(i); in removePackageOverrides() local
303 if (change.hasOverride(packageName)) { in removePackageOverrides()
305 mOverrideValidator.getOverrideAllowedState(change.getId(), in removePackageOverrides()
307 allowedState.enforce(change.getId(), packageName); in removePackageOverrides()
308 if (change != null) { in removePackageOverrides()
328 CompatChange change = mChanges.valueAt(i); in getAllowedChangesAfterTargetSdkForPackage() local
329 if (change.getEnableAfterTargetSdk() != targetSdkVersion) { in getAllowedChangesAfterTargetSdkForPackage()
333 mOverrideValidator.getOverrideAllowedState(change.getId(), in getAllowedChangesAfterTargetSdkForPackage()
[all …]
DCompatChange.java84 public CompatChange(Change change) { in CompatChange() argument
85 super(change.getId(), change.getName(), change.getEnableAfterTargetSdk(), in CompatChange()
86 change.getDisabled(), change.getLoggingOnly(), change.getDescription()); in CompatChange()
DPlatformCompat.java361 private boolean isShownInUI(CompatibilityChangeInfo change) { in isShownInUI() argument
362 if (change.getLoggingOnly()) { in isShownInUI()
365 if (change.getEnableAfterTargetSdk() > 0) { in isShownInUI()
366 if (change.getEnableAfterTargetSdk() < sMinTargetSdk in isShownInUI()
367 || change.getEnableAfterTargetSdk() > sMaxTargetSdk) { in isShownInUI()
/frameworks/native/services/surfaceflinger/
DSurfaceInterceptor.cpp204 SurfaceChange* change(transaction->add_surface_change()); in createSurfaceChangeLocked() local
205 change->set_id(layerId); in createSurfaceChangeLocked()
206 return change; in createSurfaceChangeLocked()
227 SurfaceChange* change(createSurfaceChangeLocked(transaction, layerId)); in addPositionLocked() local
228 PositionChange* posChange(change->mutable_position()); in addPositionLocked()
236 SurfaceChange* change(createSurfaceChangeLocked(transaction, layerId)); in addDepthLocked() local
237 LayerChange* depthChange(change->mutable_layer()); in addDepthLocked()
244 SurfaceChange* change(createSurfaceChangeLocked(transaction, layerId)); in addSizeLocked() local
245 SizeChange* sizeChange(change->mutable_size()); in addSizeLocked()
253 SurfaceChange* change(createSurfaceChangeLocked(transaction, layerId)); in addAlphaLocked() local
[all …]
/frameworks/base/core/java/android/content/res/
DConfiguration.java2563 public static Configuration generateDelta(Configuration base, Configuration change) { in generateDelta() argument
2565 if (base.fontScale != change.fontScale) { in generateDelta()
2566 delta.fontScale = change.fontScale; in generateDelta()
2569 if (base.mcc != change.mcc) { in generateDelta()
2570 delta.mcc = change.mcc; in generateDelta()
2573 if (base.mnc != change.mnc) { in generateDelta()
2574 delta.mnc = change.mnc; in generateDelta()
2578 change.fixUpLocaleList(); in generateDelta()
2579 if (!base.mLocaleList.equals(change.mLocaleList)) { in generateDelta()
2580 delta.mLocaleList = change.mLocaleList; in generateDelta()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DMultiSimSettingController.java504 int change = updatePrimarySubListAndGetChangeType(activeSubInfos); in updateDefaults() local
505 if (DBG) log("[updateDefaultValues] change: " + change); in updateDefaults()
506 if (change == PRIMARY_SUB_NO_CHANGE) return; in updateDefaults()
513 if (mPrimarySubList.size() == 1 && (change != PRIMARY_SUB_REMOVED in updateDefaults()
544 sendSubChangeNotificationIfNeeded(change, dataSelected, voiceSelected, smsSelected); in updateDefaults()
594 private void sendSubChangeNotificationIfNeeded(int change, boolean dataSelected, in sendSubChangeNotificationIfNeeded() argument
598 change, dataSelected, voiceSelected, smsSelected); in sendSubChangeNotificationIfNeeded()
599 SimCombinationWarningParams simCombinationParams = getSimCombinationWarningParams(change); in sendSubChangeNotificationIfNeeded()
626 private int getSimSelectDialogType(int change, boolean dataSelected, in getSimSelectDialogType() argument
634 if (mPrimarySubList.size() == 1 && change == PRIMARY_SUB_REMOVED in getSimSelectDialogType()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DBarController.java201 final boolean change = show ? mWin.showLw(!mNoAnimationOnNextShow && !skipAnim) in setBarShowingLw()
204 final int state = computeStateLw(wasVis, wasAnim, mWin, change); in setBarShowingLw()
207 if (change && (mVisibilityChangeListener != null)) { in setBarShowingLw()
211 return change || stateChanged; in setBarShowingLw()
229 boolean wasVis, boolean wasAnim, WindowState win, boolean change) { in computeStateLw() argument
233 if (mState == StatusBarManager.WINDOW_STATE_HIDING && !change && !vis) { in computeStateLw()
237 } else if (change) { in computeStateLw()
DWindowOrganizerController.java238 private int applyChanges(WindowContainer container, WindowContainerTransaction.Change change) { in applyChanges() argument
241 final int configMask = change.getConfigSetMask() & CONTROLLABLE_CONFIGS; in applyChanges()
242 final int windowMask = change.getWindowSetMask() & CONTROLLABLE_WINDOW_CONFIGS; in applyChanges()
246 c.setTo(change.getConfiguration(), configMask, windowMask); in applyChanges()
253 if ((change.getChangeMask() & WindowContainerTransaction.Change.CHANGE_FOCUSABLE) != 0) { in applyChanges()
254 if (container.setFocusable(change.getFocusable())) { in applyChanges()
259 final int windowingMode = change.getWindowingMode(); in applyChanges()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DREADME.txt14 A related change was in DataConnectionAc I added code that
22 thread. Without this change there was a dead lock when
47 On debuggable builds (userdebug, eng) you can change additional
61 could change it to perform 4 retries at 5 second intervals:
/frameworks/base/cmds/statsd/src/
Datom_field_options.proto26 // Used to annotate an atom that represents a state change. A state change atom must have exactly
33 // Each UidProcessStateChanged atom event represents a state change for a specific uid.
90 // If the state change needs to count nesting.
105 // Flags to decorate an atom that presents a state change.
/frameworks/base/services/core/java/com/android/server/audio/
DPlaybackActivityMonitor.java177 final boolean change; in playerAttributes()
189 change = apc.handleAudioAttributesEvent(attr); in playerAttributes()
192 change = false; in playerAttributes()
195 if (change) { in playerAttributes()
238 final boolean change; in playerEvent()
262 change = apc.handleStateEvent(event); in playerEvent()
265 change = false; in playerEvent()
267 if (change && event == AudioPlaybackConfiguration.PLAYER_STATE_STARTED) { in playerEvent()
271 if (change) { in playerEvent()
283 boolean change = false; in releasePlayer()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/compat/
DCompatConfigBuilder.java99 for (CompatChange change : mChanges) { in build()
100 config.addChange(change); in build()
/frameworks/ml/nn/tools/ion_watcher/
DREADME.txt1 Simple ION_heap size change watcher/logger for correlating ION_heap usage with
/frameworks/base/packages/BackupEncryption/proto/
Dwrapped_key.proto20 // change Cipher algorithm.
38 // forwards compatibility if at some point we need to change Cipher algorithm.
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DActivityManagerServiceTest.java546 pendingChange.change = changesForPendingUidRecords[i]; in testDispatchUids_dispatchNeededChanges()
622 for (int change : changesToVerify) { in verifyObserverReceivedChanges()
623 final UidRecord.ChangeItem changeItem = changeItems.get(change); in verifyObserverReceivedChanges()
647 changeItem.change = UidRecord.CHANGE_PROCSTATE; in testDispatchUidChanges_procStateCutpoint()
716 item.change = changesForPendingItems[i]; in testDispatchUidChanges_validateUidsUpdated()
737 if ((item.change & UidRecord.CHANGE_GONE) != 0) { in testDispatchUidChanges_validateUidsUpdated()
749 if (item.change == UidRecord.CHANGE_IDLE) { in testDispatchUidChanges_validateUidsUpdated()
752 } else if (item.change == UidRecord.CHANGE_ACTIVE) { in testDispatchUidChanges_validateUidsUpdated()
767 item.change = (i % 2) == 0 ? (UidRecord.CHANGE_GONE | UidRecord.CHANGE_IDLE) in testDispatchUidChanges_validateUidsUpdated()
/frameworks/base/core/java/android/provider/
DSettingsStringUtil.java177 public boolean modify(Function<String, String> change) { in modify() argument
178 return write(change.apply(read())); in modify()
/frameworks/base/packages/Tethering/tests/unit/
DAndroid.bp28 // TODO(b/147200698) change sdk_version to module-current and remove framework-minus-apex
52 // TODO(b/147200698) change sdk_version to module-current and
/frameworks/base/data/keyboards/
DVendor_057e_Product_2009.kl60 # Hat - currently not being produced by hid-nintendo, but an upcoming patch set will change the beh…
61 # Keep these mappings in anticipation of that change
/frameworks/base/samples/training/network-usage/
DREADME.txt13 -- Detects when there is a change in the device's connection status and responds accordingly. For e…
/frameworks/base/packages/SettingsLib/
DAndroid.bp9 // TODO(b/149540986): revert this change.
/frameworks/base/cmds/uiautomator/instrumentation/
DAndroid.bp31 // TODO: change this to 18 when it's available
/frameworks/av/tools/
Dmainline_hook_project.sh45 Please upload this change to branch ${RED}${DEV_BRANCH}${NORMAL} unless one or more of

12345