/frameworks/base/core/tests/coretests/src/android/text/ |
D | DynamicLayoutBlocksTest.java | 63 private void update(int startLine, int endLine, int newLineCount) { in update() method in DynamicLayoutBlocksTest 97 update(0, 0, 0); in testFrom0() 100 update(0, 0, 1); in testFrom0() 103 update(0, 0, 10); in testFrom0() 110 update(0, 0, 0); in testFrom1ReplaceByEmpty() 113 update(0, 10, 0); in testFrom1ReplaceByEmpty() 116 update(0, 100, 0); in testFrom1ReplaceByEmpty() 119 update(20, 30, 0); in testFrom1ReplaceByEmpty() 122 update(20, 20, 0); in testFrom1ReplaceByEmpty() 125 update(40, 100, 0); in testFrom1ReplaceByEmpty() [all …]
|
/frameworks/base/libs/input/ |
D | SpriteController.cpp | 137 SpriteUpdate& update = updates.editItemAt(i); in doUpdateSprites() local 139 if (update.state.surfaceControl == NULL && update.state.wantSurfaceVisible()) { in doUpdateSprites() 140 update.state.surfaceWidth = update.state.icon.bitmap.width(); in doUpdateSprites() 141 update.state.surfaceHeight = update.state.icon.bitmap.height(); in doUpdateSprites() 142 update.state.surfaceDrawn = false; in doUpdateSprites() 143 update.state.surfaceVisible = false; in doUpdateSprites() 144 update.state.surfaceControl = obtainSurface( in doUpdateSprites() 145 update.state.surfaceWidth, update.state.surfaceHeight); in doUpdateSprites() 146 if (update.state.surfaceControl != NULL) { in doUpdateSprites() 147 update.surfaceChanged = surfaceChanged = true; in doUpdateSprites() [all …]
|
/frameworks/base/core/java/android/appwidget/ |
D | PendingHostUpdate.java | 39 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()
|
/frameworks/av/include/camera/ |
D | CameraMetadata.h | 129 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/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | UnlockMethodCache.java | 52 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 */);
|
D | LockIcon.java | 58 private final Runnable mDrawOffTimeout = () -> update(true /* forceUpdate */); 85 update(); in setTransientFpError() 90 update(); in setDeviceInteractive() 95 update(); in setScreenOn() 107 update(); in onConfigurationChanged() 111 public void update() { in update() method in LockIcon 112 update(false /* force */); in update() 115 public void update(boolean force) { in update() method in LockIcon
|
/frameworks/av/camera/ndk/impl/ |
D | ACameraMetadata.h | 51 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()
|
D | ACameraMetadata.cpp | 80 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/graphics/java/android/graphics/ |
D | ColorMatrixColorFilter.java | 37 update(); in ColorMatrixColorFilter() 52 update(); in ColorMatrixColorFilter() 87 update(); in setColorMatrix() 118 update(); in setColorMatrix() 121 private void update() { in update() method in ColorMatrixColorFilter
|
D | LightingColorFilter.java | 51 update(); in LightingColorFilter() 77 update(); in setColorMultiply() 103 update(); in setColorAdd() 106 private void update() { in update() method in LightingColorFilter
|
D | PorterDuffColorFilter.java | 43 update(); in PorterDuffColorFilter() 73 update(); in setColor() 101 update(); in setMode() 104 private void update() { in update() method in PorterDuffColorFilter
|
/frameworks/base/docs/html/training/swipe/ |
D | respond-refresh-request.jd | 28 This lesson shows you how to update your app when the user requests a manual 52 You should put the code for the actual update 53 operation in a separate method, and call that update method from your {@link 55 onRefresh()} implementation. That way, you can use the same update method to 56 perform the update when the user triggers a refresh from the action bar. 60 Your update method calls {@link 64 remove the progress indicator and update the view contents. 70 onRefresh()} and invokes the method {@code myUpdateOperation()} to update the 106 setRefreshing()} with the value {@code true}, then perform the update 107 operation. Once again, you should be doing the actual update in a separate [all …]
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BatteryStatsSamplingTimerTest.java | 37 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() 205 unparceledOnBatteryTimer.update(10, 10); in testSampleTimerSummaryParceling() 211 unparceledOffBatteryTimer.update(10, 10); in testSampleTimerSummaryParceling()
|
/frameworks/base/core/java/android/service/notification/ |
D | INotificationListener.aidl | 27 void onListenerConnected(in NotificationRankingUpdate update); in onListenerConnected() argument 29 in NotificationRankingUpdate update); in onNotificationPosted() argument 31 in NotificationRankingUpdate update); in onNotificationRemoved() argument 32 void onNotificationRankingUpdate(in NotificationRankingUpdate update); in onNotificationRankingUpdate() argument
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | GsmCdmaConnectionTest.java | 116 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()
|
/frameworks/base/packages/SettingsLib/tests/src/com/android/settingslib/wifi/ |
D | AccessPointTest.java | 57 mAccessPoint.update(result); in testOnLevelChanged() 62 mAccessPoint.update(result); in testOnLevelChanged() 70 mAccessPoint.update(wifiInfo, null); in testOnAccessPointChangedCallback() 73 mAccessPoint.update(null, null); in testOnAccessPointChangedCallback() 79 mAccessPoint.update(result); in testOnAccessPointChangedCallback()
|
/frameworks/base/tests/FixVibrateSetting/src/com/android/fixvibratesetting/ |
D | FixVibrateSetting.java | 64 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/base/services/core/java/com/android/server/job/controllers/ |
D | AppIdleController.java | 162 GlobalUpdateFunc update = new GlobalUpdateFunc(); in setAppIdleParoleOn() local 163 mJobSchedulerService.getJobStore().forEachJob(update); in setAppIdleParoleOn() 164 if (update.mChanged) { in setAppIdleParoleOn() 182 PackageUpdateFunc update = new PackageUpdateFunc(userId, packageName, idle); in onAppIdleStateChanged() local 183 mJobSchedulerService.getJobStore().forEachJob(update); in onAppIdleStateChanged() 184 if (update.mChanged) { in onAppIdleStateChanged()
|
/frameworks/support/compat/java/android/support/v4/app/ |
D | ActivityOptionsCompat.java | 322 public void update(ActivityOptionsCompat otherOptions) { in update() method in ActivityOptionsCompat.ActivityOptionsImplJB 325 mImpl.update(otherImpl.mImpl); in update() 343 public void update(ActivityOptionsCompat otherOptions) { in update() method in ActivityOptionsCompat.ActivityOptionsImpl21 347 mImpl.update(otherImpl.mImpl); in update() 365 public void update(ActivityOptionsCompat otherOptions) { in update() method in ActivityOptionsCompat.ActivityOptionsImpl23 369 mImpl.update(otherImpl.mImpl); in update() 392 public void update(ActivityOptionsCompat otherOptions) { in update() method in ActivityOptionsCompat.ActivityOptionsImpl24 396 mImpl.update(otherImpl.mImpl); in update() 459 public void update(ActivityOptionsCompat otherOptions) { in update() method in ActivityOptionsCompat
|
/frameworks/base/core/java/com/android/server/net/ |
D | NetlinkTracker.java | 72 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/core/java/com/android/internal/app/ |
D | MediaRouteControllerDialog.java | 191 if (update()) { in onCreate() 210 update(); in onAttachedToWindow() 239 private boolean update() { in update() method in MediaRouteControllerDialog 292 update(); in onRouteUnselected() 297 update(); in onRouteChanged() 310 update(); in onRouteGrouped() 315 update(); in onRouteUngrouped()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/ |
D | ImsPhoneConnectionTest.java | 123 assertTrue(mConnectionUT.update(mImsCall, Call.State.ACTIVE)); in testImsUpdateStateForeGround() 126 verify(mForeGroundCall, times(1)).update(eq(mConnectionUT), eq(mImsCall), in testImsUpdateStateForeGround() 136 assertTrue(mConnectionUT.update(mImsCall, Call.State.ACTIVE)); in testImsUpdateStateBackGround() 139 verify(mForeGroundCall, times(1)).update(eq(mConnectionUT), eq(mImsCall), in testImsUpdateStateBackGround() 150 assertFalse(mConnectionUT.update(mImsCall, Call.State.ACTIVE)); in testImsUpdateStatePendingHold() 151 verify(mForeGroundCall, times(0)).update(eq(mConnectionUT), eq(mImsCall), in testImsUpdateStatePendingHold() 204 assertTrue(mConnectionUT.update(mImsCall, Call.State.ACTIVE)); in testPostDialWait() 228 assertTrue(mConnectionUT.update(mImsCall, Call.State.ACTIVE)); in testPostDialPause() 249 assertTrue(mConnectionUT.update(mImsCall, Call.State.ACTIVE)); in testSetWifi() 264 assertTrue(mConnectionUT.update(mImsCall, Call.State.ACTIVE)); in testSetWifi2()
|
/frameworks/av/services/camera/libcameraservice/common/ |
D | CameraModule.cpp | 38 chars.update(ANDROID_CONTROL_AE_LOCK_AVAILABLE, &data, /*count*/1); in deriveCameraCharacteristicsKeys() 40 chars.update(ANDROID_CONTROL_AWB_LOCK_AVAILABLE, &data, /*count*/1); in deriveCameraCharacteristicsKeys() 82 chars.update(ANDROID_CONTROL_AVAILABLE_MODES, controlModes); in deriveCameraCharacteristicsKeys() 104 chars.update(ANDROID_SHADING_AVAILABLE_MODES, lscModes); in deriveCameraCharacteristicsKeys() 105 chars.update(ANDROID_STATISTICS_INFO_AVAILABLE_LENS_SHADING_MAP_MODES, lscMapModes); in deriveCameraCharacteristicsKeys() 125 chars.update(ANDROID_CONTROL_AVAILABLE_HIGH_SPEED_VIDEO_CONFIGURATIONS, in deriveCameraCharacteristicsKeys() 170 chars.update(ANDROID_SENSOR_OPAQUE_RAW_SIZE, rawOpaqueSizes); in deriveCameraCharacteristicsKeys() 181 chars.update( in deriveCameraCharacteristicsKeys() 198 chars.update(ANDROID_SENSOR_INFO_PRE_CORRECTION_ACTIVE_ARRAY_SIZE, preCorrectionArray); in deriveCameraCharacteristicsKeys() 230 chars.update(keyTag, availableKeys); in appendAvailableKeys()
|
/frameworks/base/keystore/java/android/security/keystore/ |
D | KeyStoreCryptoOperationChunkedStreamer.java | 59 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/core/java/android/widget/ |
D | PopupWindow.java | 227 update(p.x, p.y, -1, -1, true); 1954 public void update() { in update() method in PopupWindow 1962 boolean update = false; in update() 1967 update = true; in update() 1973 update = true; in update() 1979 update = true; in update() 1982 if (update) { in update() 1997 public void update(int width, int height) { in update() method in PopupWindow 2000 update(p.x, p.y, width, height, false); in update() 2015 public void update(int x, int y, int width, int height) { in update() method in PopupWindow [all …]
|