Home
last modified time | relevance | path

Searched refs:update (Results 1 – 25 of 446) sorted by relevance

12345678910>>...18

/frameworks/base/core/tests/coretests/src/android/text/
DDynamicLayoutBlocksTest.java69 private void update(int startLine, int endLine, int newLineCount) { in update() method in DynamicLayoutBlocksTest
107 update(0, 0, 0); in testFrom0()
110 update(0, 0, 1); in testFrom0()
113 update(0, 0, 10); in testFrom0()
121 update(0, 0, 0); in testFrom1ReplaceByEmpty()
124 update(0, 10, 0); in testFrom1ReplaceByEmpty()
127 update(0, 100, 0); in testFrom1ReplaceByEmpty()
130 update(20, 30, 0); in testFrom1ReplaceByEmpty()
133 update(20, 20, 0); in testFrom1ReplaceByEmpty()
136 update(40, 100, 0); in testFrom1ReplaceByEmpty()
[all …]
/frameworks/base/libs/input/
DSpriteController.cpp136 SpriteUpdate& update = updates.editItemAt(i); in doUpdateSprites() local
138 if (update.state.surfaceControl == NULL && update.state.wantSurfaceVisible()) { in doUpdateSprites()
139 update.state.surfaceWidth = update.state.icon.bitmap.width(); in doUpdateSprites()
140 update.state.surfaceHeight = update.state.icon.bitmap.height(); in doUpdateSprites()
141 update.state.surfaceDrawn = false; in doUpdateSprites()
142 update.state.surfaceVisible = false; in doUpdateSprites()
143 update.state.surfaceControl = obtainSurface( in doUpdateSprites()
144 update.state.surfaceWidth, update.state.surfaceHeight); in doUpdateSprites()
145 if (update.state.surfaceControl != NULL) { in doUpdateSprites()
146 update.surfaceChanged = surfaceChanged = true; in doUpdateSprites()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DUnlockMethodCache.java52 update(true /* updateAlways */); in UnlockMethodCache()
88 private void update(boolean updateAlways) { in update() method in UnlockMethodCache
119 update(false /* updateAlways */);
124 update(false /* updateAlways */);
129 update(false /* updateAlways */);
134 update(false /* updateAlways */);
144 update(false /* updateAlways */);
150 update(false /* updateAlways */);
155 update(false /* updateAlways */);
160 update(false /* updateAlways */);
[all …]
DLockIcon.java60 private final Runnable mDrawOffTimeout = () -> update(true /* forceUpdate */);
88 update(); in onUserInfoChanged()
93 update(); in setTransientFpError()
98 update(); in setDeviceInteractive()
103 update(); in setScreenOn()
115 update(); in onConfigurationChanged()
119 public void update() { in update() method in LockIcon
120 update(false /* force */); in update()
123 public void update(boolean force) { in update() method in LockIcon
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/
DParallaxFloatEffectTest.java80 verify(mTarget, times(1)).update(0f); in testOneVariable()
86 verify(mTarget, times(1)).update(0.25f); in testOneVariable()
92 verify(mTarget, times(1)).update(.5f); in testOneVariable()
98 verify(mTarget, times(1)).update(0.75f); in testOneVariable()
104 verify(mTarget, times(1)).update(1f); in testOneVariable()
110 verify(mTarget, times(1)).update(1f); in testOneVariable()
116 verify(mTarget, times(1)).update(0f); in testOneVariable()
122 verify(mTarget, times(1)).update(1f); in testOneVariable()
128 verify(mTarget, times(1)).update(0f); in testOneVariable()
156 verify(mTarget, times(1)).update(0f); in testTwoVariable()
[all …]
DParallaxIntEffectTest.java77 verify(mTarget, times(1)).update(0f); in testOneVariable()
83 verify(mTarget, times(1)).update(0.25f); in testOneVariable()
89 verify(mTarget, times(1)).update(.5f); in testOneVariable()
95 verify(mTarget, times(1)).update(0.75f); in testOneVariable()
101 verify(mTarget, times(1)).update(1f); in testOneVariable()
107 verify(mTarget, times(1)).update(1f); in testOneVariable()
113 verify(mTarget, times(1)).update(0f); in testOneVariable()
119 verify(mTarget, times(1)).update(1f); in testOneVariable()
125 verify(mTarget, times(1)).update(0f); in testOneVariable()
153 verify(mTarget, times(1)).update(0f); in testTwoVariable()
[all …]
/frameworks/base/core/java/android/appwidget/
DPendingHostUpdate.java39 PendingHostUpdate update = new PendingHostUpdate(appWidgetId, TYPE_VIEWS_UPDATE); in updateAppWidget() local
40 update.views = views; in updateAppWidget()
41 return update; in updateAppWidget()
45 PendingHostUpdate update = new PendingHostUpdate(appWidgetId, TYPE_PROVIDER_CHANGED); in providerChanged() local
46 update.widgetInfo = info; in providerChanged()
47 return update; in providerChanged()
51 PendingHostUpdate update = new PendingHostUpdate(appWidgetId, TYPE_VIEW_DATA_CHANGED); in viewDataChanged() local
52 update.viewId = viewId; in viewDataChanged()
53 return update; in viewDataChanged()
DAppWidgetHost.java210 PendingHostUpdate update = updates.get(i); in startListening() local
211 switch (update.type) { in startListening()
213 updateAppWidgetView(update.appWidgetId, update.views); in startListening()
216 onProviderChanged(update.appWidgetId, update.widgetInfo); in startListening()
219 viewDataChanged(update.appWidgetId, update.viewId); in startListening()
/frameworks/av/camera/include/camera/
DCameraMetadata.h129 status_t update(uint32_t tag,
131 status_t update(uint32_t tag,
133 status_t update(uint32_t tag,
135 status_t update(uint32_t tag,
137 status_t update(uint32_t tag,
139 status_t update(uint32_t tag,
141 status_t update(uint32_t tag,
143 status_t update(const camera_metadata_ro_entry &entry);
147 status_t update(uint32_t tag, Vector<T> data) { in update() function
148 return update(tag, data.array(), data.size()); in update()
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DBoundsAnimationControllerTests.java309 BoundsAnimationDriver update(float t) { in update() method in BoundsAnimationControllerTests.BoundsAnimationDriver
419 .update(0f) in testFullscreenToFloatingTransition()
420 .update(0.5f) in testFullscreenToFloatingTransition()
421 .update(1f) in testFullscreenToFloatingTransition()
431 .update(0f) in testFloatingToFullscreenTransition()
432 .update(0.5f) in testFloatingToFullscreenTransition()
433 .update(1f) in testFloatingToFullscreenTransition()
443 .update(0f) in testFloatingToSmallerFloatingTransition()
444 .update(0.5f) in testFloatingToSmallerFloatingTransition()
445 .update(1f) in testFloatingToSmallerFloatingTransition()
[all …]
/frameworks/av/camera/ndk/impl/
DACameraMetadata.h51 camera_status_t update(uint32_t tag, uint32_t count, const uint8_t* data);
52 camera_status_t update(uint32_t tag, uint32_t count, const int32_t* data);
53 camera_status_t update(uint32_t tag, uint32_t count, const float* data);
54 camera_status_t update(uint32_t tag, uint32_t count, const double* data);
55 camera_status_t update(uint32_t tag, uint32_t count, const int64_t* data);
56 camera_status_t update(uint32_t tag, uint32_t count, const ACameraMetadata_rational* data);
88 ret = mData.update(tag, reinterpret_cast<const INTERNAL_T*>(data), count); in updateImpl()
DACameraMetadata.cpp80 mData.update(ANDROID_REQUEST_AVAILABLE_CAPABILITIES, capabilities); in filterUnsupportedFeatures()
120 mData.update(ANDROID_SCALER_AVAILABLE_STREAM_CONFIGURATIONS, filteredStreamConfigs); in filterStreamConfigurations()
147 mData.update(ANDROID_DEPTH_AVAILABLE_DEPTH_STREAM_CONFIGURATIONS, filteredDepthStreamConfigs); in filterStreamConfigurations()
180 ACameraMetadata::update(uint32_t tag, uint32_t count, const uint8_t* data) { in update() function in ACameraMetadata
185 ACameraMetadata::update(uint32_t tag, uint32_t count, const int32_t* data) { in update() function in ACameraMetadata
190 ACameraMetadata::update(uint32_t tag, uint32_t count, const float* data) { in update() function in ACameraMetadata
195 ACameraMetadata::update(uint32_t tag, uint32_t count, const double* data) { in update() function in ACameraMetadata
200 ACameraMetadata::update(uint32_t tag, uint32_t count, const int64_t* data) { in update() function in ACameraMetadata
205 ACameraMetadata::update(uint32_t tag, uint32_t count, const ACameraMetadata_rational* data) { in update() function in ACameraMetadata
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsSamplingTimerTest.java37 timer.update(10, 1); in testSettingStalePreservesData()
39 timer.update(20, 2); in testSettingStalePreservesData()
63 timer.update(10, 1); in testEndSampleAndContinueWhenTimeOrCountDecreases()
72 timer.update(0, 0); in testEndSampleAndContinueWhenTimeOrCountDecreases()
87 timer.update(50, 5); in testEndSampleAndContinueWhenTimeOrCountDecreases()
107 timer.update(10, 1); in testFirstUpdateIsAbsorbed()
116 timer.update(10, 1); in testFirstUpdateIsAbsorbed()
207 unparceledOnBatteryTimer.update(10, 10); in testSampleTimerSummaryParceling()
213 unparceledOffBatteryTimer.update(10, 10); in testSampleTimerSummaryParceling()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmCdmaConnectionTest.java116 connection.update(mDC); in testConnectionStateUpdate()
120 connection.update(mDC); in testConnectionStateUpdate()
134 connection.update(mDC); in testCDMAPostDialPause()
136 connection.update(mDC); in testCDMAPostDialPause()
151 connection.update(mDC); in testGSMPostDialPause()
153 connection.update(mDC); in testGSMPostDialPause()
170 connection.update(mDC); in testPostDialWait()
172 connection.update(mDC); in testPostDialWait()
186 connection.update(mDC); in testHangUpConnection()
212 connection.update(mDC); in testAddressUpdate()
[all …]
/frameworks/base/core/java/android/service/notification/
DINotificationListener.aidl30 void onListenerConnected(in NotificationRankingUpdate update); in onListenerConnected() argument
32 in NotificationRankingUpdate update); in onNotificationPosted() argument
34 in NotificationRankingUpdate update, int reason); in onNotificationRemoved() argument
35 void onNotificationRankingUpdate(in NotificationRankingUpdate update); in onNotificationRankingUpdate() argument
/frameworks/base/tests/FixVibrateSetting/src/com/android/fixvibratesetting/
DFixVibrateSetting.java64 update(); in onResume()
84 update(); in onClick()
87 update(); in onClick()
90 update(); in onClick()
94 private void update() { in update() method in FixVibrateSetting
/frameworks/av/media/libaudiohal/
DEffectBufferHalHidl.cpp86 mMemory->update(); in init()
124 void EffectBufferHalHidl::update() { in update() function in android::EffectBufferHalHidl
125 update(mBufferSize); in update()
132 void EffectBufferHalHidl::update(size_t size) { in update() function in android::EffectBufferHalHidl
134 mMemory->update(); in update()
/frameworks/base/services/core/java/com/android/server/job/controllers/
DAppIdleController.java163 GlobalUpdateFunc update = new GlobalUpdateFunc(); in setAppIdleParoleOn() local
164 mJobSchedulerService.getJobStore().forEachJob(update); in setAppIdleParoleOn()
165 if (update.mChanged) { in setAppIdleParoleOn()
183 PackageUpdateFunc update = new PackageUpdateFunc(userId, packageName, idle); in onAppIdleStateChanged() local
184 mJobSchedulerService.getJobStore().forEachJob(update); in onAppIdleStateChanged()
185 if (update.mChanged) { in onAppIdleStateChanged()
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/service/
DRemediationHandler.java75 PendingUpdate update = updates.next(); in networkConfigChange() local
76 if (!update.isWnmBased()) { in networkConfigChange()
103 PendingUpdate update = updates.next(); in newConnection() local
105 if (update.matches(wifiInfo, mActivePasspointConfig.getHomeSP())) { in newConnection()
106 update.remediate(network); in newConnection()
108 } else if (update.isWnmBased()) { in newConnection()
134 PendingUpdate update = new PendingUpdate(bssid, url); in wnmReceived() local
142 } else if (update.matches(wifiInfo, mActivePasspointConfig.getHomeSP())) { in wnmReceived()
145 update.remediate(wifiManager.getCurrentNetwork()); in wnmReceived()
228 PendingUpdate update = new PendingUpdate(homeSP, uri, policy); in calculateTimeout() local
[all …]
/frameworks/base/core/java/com/android/server/net/
DNetlinkTracker.java72 public void update(); in update() method
113 mCallback.update(); in interfaceRemoved()
126 mCallback.update(); in addressUpdated()
140 mCallback.update(); in addressRemoved()
154 mCallback.update(); in routeUpdated()
168 mCallback.update(); in routeRemoved()
182 mCallback.update(); in interfaceDnsServerInfo()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DEmergencyCryptkeeperText.java48 update();
53 update();
60 update();
77 update(); in onAttachedToWindow()
89 public void update() { in update() method in EmergencyCryptkeeperText
/frameworks/base/keystore/java/android/security/keystore/
DKeyStoreCryptoOperationChunkedStreamer.java59 OperationResult update(byte[] input); in update() method
91 public byte[] update(byte[] input, int inputOffset, int inputLength) throws KeyStoreException { in update() method in KeyStoreCryptoOperationChunkedStreamer
128 OperationResult opResult = mKeyStoreStream.update(chunk); in update()
217 byte[] output = update(input, inputOffset, inputLength); in doFinal()
241 OperationResult opResult = mKeyStoreStream.update(chunk); in flush()
332 public OperationResult update(byte[] input) { in update() method in KeyStoreCryptoOperationChunkedStreamer.MainDataStream
333 return mKeyStore.update(mOperationToken, null, input); in update()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/
DAccessPointTest.java126 originalAccessPoint.update(configuration, wifiInfo, networkInfo); in testCopyAccessPoint_dataShouldMatch()
281 assertThat(ap.update(scanResult, true /* evict old scan results */)).isTrue();
309 accessPoint.update(configuration, wifiInfo, networkInfo);
326 accessPoint.update(configuration, wifiInfo, networkInfo);
341 ap.update(mockWifiNetworkScoreCache, false /* scoringUiEnabled */,
358 accessPoint.update(configuration, wifiInfo, networkInfo);
371 ap.update(mockWifiNetworkScoreCache, true /* scoringUiEnabled */,
387 ap.update(mockWifiNetworkScoreCache, true /* scoringUiEnabled */,
404 ap.update(mockWifiNetworkScoreCache, true /* scoringUiEnabled */,
420 ap.update(mockWifiNetworkScoreCache, true /* scoringUiEnabled */,
[all …]
/frameworks/base/test-runner/
DAndroid.mk141 .PHONY: update-android-test-runner-api
142 update-api: update-android-test-runner-api
144 update-android-test-runner-api: $(ANDROID_TEST_RUNNER_OUTPUT_API_FILE) | $(ACP)
235 .PHONY: update-android-test-mock-api
236 update-api: update-android-test-mock-api
238 update-android-test-mock-api: $(ANDROID_TEST_MOCK_OUTPUT_API_FILE) | $(ACP)
/frameworks/base/core/java/android/widget/
DPopupWindow.java2028 public void update() { in update() method in PopupWindow
2035 boolean update = false; in update()
2040 update = true; in update()
2046 update = true; in update()
2052 update = true; in update()
2055 if (update) { in update()
2056 update(mAnchor != null ? mAnchor.get() : null, p); in update()
2061 protected void update(View anchor, WindowManager.LayoutParams params) { in update() method in PopupWindow
2075 public void update(int width, int height) { in update() method in PopupWindow
2077 update(p.x, p.y, width, height, false); in update()
[all …]

12345678910>>...18