Searched refs:change (Results 1 - 25 of 40) sorted by relevance

12

/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
H A DObservableArrayListTest.java71 public ListChange(int change, int start, int count) { argument
76 this.change = change;
79 public ListChange(int change, int from, int to, int count) { argument
84 this.change = change;
95 public final int change; field in class:ObservableArrayListTest.ListChange
160 ListChange change = mNotifications.get(0);
161 assertEquals(INSERT, change.change);
[all...]
/frameworks/native/cmds/surfacereplayer/replayer/trace_creator/
H A 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
[all...]
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
H A DSearchViewBindingAdapter.java37 final OnQueryTextChange change) {
39 if (submit == null && change == null){
54 if (change != null) {
55 return change.onQueryTextChange(newText);
68 final OnSuggestionClick change) {
70 if (submit == null && change == null) {
85 if (change != null) {
86 return change.onSuggestionClick(position);
36 setOnQueryTextListener(SearchView view, final OnQueryTextSubmit submit, final OnQueryTextChange change) argument
67 setOnSuggestListener(SearchView view, final OnSuggestionSelect submit, final OnSuggestionClick change) argument
/frameworks/native/services/surfaceflinger/tests/
H A DSurfaceInterceptor_test.cpp185 bool positionUpdateFound(const SurfaceChange& change, bool foundPosition);
186 bool sizeUpdateFound(const SurfaceChange& change, bool foundSize);
187 bool alphaUpdateFound(const SurfaceChange& change, bool foundAlpha);
188 bool layerUpdateFound(const SurfaceChange& change, bool foundLayer);
189 bool cropUpdateFound(const SurfaceChange& change, bool foundCrop);
190 bool finalCropUpdateFound(const SurfaceChange& change, bool foundFinalCrop);
191 bool matrixUpdateFound(const SurfaceChange& change, bool foundMatrix);
192 bool scalingModeUpdateFound(const SurfaceChange& change, bool foundScalingMode);
193 bool transparentRegionHintUpdateFound(const SurfaceChange& change, bool foundTransparentRegion);
194 bool layerStackUpdateFound(const SurfaceChange& change, boo
377 positionUpdateFound(const SurfaceChange& change, bool foundPosition) argument
391 sizeUpdateFound(const SurfaceChange& change, bool foundSize) argument
403 alphaUpdateFound(const SurfaceChange& change, bool foundAlpha) argument
414 layerUpdateFound(const SurfaceChange& change, bool foundLayer) argument
425 cropUpdateFound(const SurfaceChange& change, bool foundCrop) argument
439 finalCropUpdateFound(const SurfaceChange& change, bool foundFinalCrop) argument
455 matrixUpdateFound(const SurfaceChange& change, bool foundMatrix) argument
469 scalingModeUpdateFound(const SurfaceChange& change, bool foundScalingMode) argument
482 transparentRegionHintUpdateFound(const SurfaceChange& change, bool foundTransparentRegion) argument
499 layerStackUpdateFound(const SurfaceChange& change, bool foundLayerStack) argument
512 hiddenFlagUpdateFound(const SurfaceChange& change, bool foundHiddenFlag) argument
525 opaqueFlagUpdateFound(const SurfaceChange& change, bool foundOpaqueFlag) argument
538 secureFlagUpdateFound(const SurfaceChange& change, bool foundSecureFlag) argument
551 deferredTransactionUpdateFound(const SurfaceChange& change, bool foundDeferred) argument
[all...]
/frameworks/native/cmds/surfacereplayer/replayer/
H A DReplayer.cpp366 for (const SurfaceChange& change : surfaceChanges) {
368 if (mLayers[change.id()] == nullptr) {
369 mLayerCond.wait(lock, [&] { return (mLayers[change.id()] != nullptr); });
372 switch (change.SurfaceChange_case()) {
374 setPosition(transaction, change.id(), change.position());
377 setSize(transaction, change.id(), change.size());
380 setAlpha(transaction, change.id(), change
[all...]
/frameworks/native/services/surfaceflinger/
H A DSurfaceInterceptor.cpp174 SurfaceChange* change(transaction->add_surface_change());
175 change->set_id(layerId);
176 return change;
197 SurfaceChange* change(createSurfaceChangeLocked(transaction, layerId));
198 PositionChange* posChange(change->mutable_position());
206 SurfaceChange* change(createSurfaceChangeLocked(transaction, layerId));
207 LayerChange* depthChange(change->mutable_layer());
214 SurfaceChange* change(createSurfaceChangeLocked(transaction, layerId));
215 SizeChange* sizeChange(change->mutable_size());
223 SurfaceChange* change(createSurfaceChangeLocke
[all...]
/frameworks/base/core/java/android/content/res/
H A DConfiguration.java785 * Internal counter that allows us to piggyback off the configuration change mechanism to
1399 * object and the given one. Does not change the values of either. Any
1568 // all resources are subject to change with.
1895 * Return whether the screen has a round shape. Apps may choose to change styling based
2258 * Generate a delta Configuration between <code>base</code> and <code>change</code>. The
2267 public static Configuration generateDelta(Configuration base, Configuration change) { argument
2269 if (base.fontScale != change.fontScale) {
2270 delta.fontScale = change.fontScale;
2273 if (base.mcc != change.mcc) {
2274 delta.mcc = change
[all...]
/frameworks/base/services/core/java/com/android/server/policy/
H A DBarController.java175 final boolean change = show ? mWin.showLw(!mNoAnimationOnNextShow && !skipAnimation())
178 final int state = computeStateLw(wasVis, wasAnim, mWin, change);
181 if (change && (mVisibilityChangeListener != null)) {
185 return change || stateChanged;
202 private int computeStateLw(boolean wasVis, boolean wasAnim, WindowState win, boolean change) { argument
206 if (mState == StatusBarManager.WINDOW_STATE_HIDING && !change && !vis) {
210 } else if (change) {
/frameworks/support/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/app/
H A DToolbarDisplayOptions.java123 int change = bar.getDisplayOptions() ^ flags;
124 bar.setDisplayOptions(change, flags);
H A DActionBarDisplayOptions.java127 int change = bar.getDisplayOptions() ^ flags;
128 bar.setDisplayOptions(change, flags);
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/app/
H A DToolbarDisplayOptions.java123 int change = bar.getDisplayOptions() ^ flags;
124 bar.setDisplayOptions(change, flags);
H A DActionBarDisplayOptions.java127 int change = bar.getDisplayOptions() ^ flags;
128 bar.setDisplayOptions(change, flags);
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
H A DItemAnimatorV2ApiTest.java327 for (AnimateChange change : mAnimator.animateChangeList) {
328 if (change.newHolder == change.viewHolder) {
329 logReused = change;
331 logReplaced = change;
450 for (AnimateChange change : mAnimator.animateChangeList) {
451 assertNotNull(change.preInfo);
452 assertNotNull(change.postInfo);
453 assertSame(change.preInfo.viewHolder, change
[all...]
/frameworks/base/core/java/android/provider/
H A DSettingsStringUtil.java177 public boolean modify(Function<String, String> change) { argument
178 return write(change.apply(read()));
/frameworks/base/services/core/java/com/android/server/audio/
H A DPlaybackActivityMonitor.java171 final boolean change;
176 change = apc.handleAudioAttributesEvent(attr);
179 change = false;
182 if (change) {
225 final boolean change;
249 change = apc.handleStateEvent(event);
252 change = false;
254 if (change && event == AudioPlaybackConfiguration.PLAYER_STATE_STARTED) {
258 if (change) {
270 boolean change
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
H A DActivityManagerServiceTest.java314 // No change in uid state
388 // Add pending uid records each corresponding to a different change type UidRecord.CHANGE_*
401 pendingChange.change = changesForPendingUidRecords[i];
415 // Observer listens to uid idle changes, so change items corresponding to
428 // Observer listens to uid active changes, so change items corresponding to
437 // Observer listens to uid gone changes, so change items corresponding to
450 // Observer listens to uid procState changes, so change items corresponding to
476 for (int change : changesToVerify) {
477 final UidRecord.ChangeItem changeItem = changeItems.get(change);
484 * change acros
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiNetworkSelector.java415 * @return true -- There is change made to connection choice of any saved network.
416 * false -- There is no change made to connection choice of any saved network.
433 boolean change = false;
447 change = true;
458 change = true;
462 return change;
/frameworks/support/paging/runtime/src/androidTest/java/androidx/paging/
H A DPagedStorageDiffHelperTest.kt89 fun change() {
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
H A DVoiceInteractionManagerService.java829 // Notify the voice interaction service of a change in sound models.
865 // Notify the voice interaction service of a change in sound models.
1311 int change = isPackageDisappearing(curInteractor.getPackageName());
1312 if (change == PACKAGE_PERMANENT_CHANGE) {
1322 change = isPackageAppearing(curInteractor.getPackageName());
1323 if (change != PACKAGE_UNCHANGED) {
1335 int change = isPackageDisappearing(curAssistant.getPackageName());
1336 if (change == PACKAGE_PERMANENT_CHANGE) {
1349 int change = isPackageDisappearing(curRecognizer.getPackageName());
1350 if (change
[all...]
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DGcSnapshot.java173 void change() { method in class:GcSnapshot.Layer
175 mBitmap.change();
670 layer.change();
684 layer.change();
/frameworks/base/cmds/statsd/tests/
H A Dstatsd_test_util.cpp708 auto change = config_report->mutable_uid_map()->mutable_changes(i); local
709 if (change->has_app_hash()) {
710 auto it = str_map.find((uint64_t)(change->app_hash()));
712 change->clear_app_hash();
713 change->set_app(it->second);
715 ALOGE("Can not find the string change app name hash: %llu",
716 (unsigned long long)change->app_hash());
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/asm/ARMV5E/
H A DFilt_6k_7k_opt.s52 MOV r3, r8 @ change myMemCopy to Copy, due to Copy will change r3 content
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/asm/ARMV7/
H A DFilt_6k_7k_neon.s56 MOV r3, r8 @ change myMemCopy to Copy, due to Copy will change r3 content
/frameworks/base/services/core/java/com/android/server/am/
H A DUidRecord.java64 * Last seq number for which AcitivityManagerService dispatched uid state change to
111 int change; field in class:UidRecord.ChangeItem
137 * If the change being dispatched is not CHANGE_GONE (not interested in
199 sb.append(" change:");
/frameworks/base/core/java/com/android/internal/widget/
H A DDefaultItemAnimator.java140 // Next, change stuff, to run in parallel with move animations
149 for (ChangeInfo change : changes) {
150 animateChangeImpl(change);
323 // Don't know how to run change animations when the same view holder is re-used.

Completed in 339 milliseconds

12