/frameworks/base/docs/html/training/swipe/ |
D | respond-refresh-request.jd | 29 refresh, whether the user triggers the refresh with a swipe gesture or by 30 using the action bar refresh action. 42 To respond to the refresh gesture in your app, implement the {@link 56 perform the update when the user triggers a refresh from the action bar. 76 * performs a swipe-to-refresh gesture. 84 // This method performs the actual data-refresh operation. 94 If the user requests a refresh by using the action bar, the system calls the 101 To respond to the refresh action, override {@link 111 setRefreshing(false)} to remove the refresh progress indicator. 119 * when the user requests a refresh by selecting the refresh action bar item. [all …]
|
D | add-swipe-interface.jd | 44 The swipe-to-refresh user interface pattern is implemented entirely within 50 the refresh behavior that gets invoked when the user swipes. 55 shows you how to add a refresh action to the action bar overflow area, so 62 To add the swipe to refresh widget to an existing app, add {@link 93 <code>"@android:id/list"</code>, the swipe-to-refresh functionality is 108 You should add a refresh action to your app's action bar to ensure that 115 You should add the refresh action as a menu item, 118 button, users may assume that the refresh button action is different from the 119 swipe-to-refresh action. By making the refresh action less conspicuous in the 126 The following code demonstrates how to add the swipe-to-refresh action to the
|
D | index.jd | 40 platform includes the swipe-to-refresh design pattern, which allows users 77 Learn how to provide swipe-to-refresh support in a {@link 79 provide an accessible refresh option using the action bar. 83 <b><a href="respond-refresh-request.html">Responding to a Refresh 88 Learn how to respond to the swipe-to-refresh gesture, and how to perform the
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
D | KeyguardStatusView.java | 57 refresh(); 64 refresh(); 81 refresh(); 118 refresh(); in onFinishInflate() 145 private void refresh() { in refresh() method in KeyguardStatusView
|
/frameworks/support/v4/jellybean-mr2/android/support/v4/view/accessibility/ |
D | AccessibilityNodeInfoCompatJellybeanMr2.java | 59 public static boolean refresh(Object info) { in refresh() method in AccessibilityNodeInfoCompatJellybeanMr2 60 return ((AccessibilityNodeInfo) info).refresh(); in refresh()
|
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/ |
D | VrView.java | 58 private int refresh = 0; // 0 is no refresh else refresh = downsample field in VrView 192 refresh = 1; in onTouchEvent() 326 refresh = 0; in render() 329 refresh = downSample; in render() 453 if (refresh != 0) { in onPostExecute() 454 render(refresh); in onPostExecute()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | PseudoGridView.java | 159 refresh(); in ViewGroupAdapterBridge() 162 private void refresh() { in refresh() method in PseudoGridView.ViewGroupAdapterBridge 198 refresh(); in onChanged()
|
/frameworks/support/v7/recyclerview/src/android/support/v7/util/ |
D | AsyncListUtil.java | 100 refresh(); in AsyncListUtil() 129 public void refresh() { in refresh() method in AsyncListUtil 131 mBackgroundProxy.refresh(++mRequestedGeneration); in refresh() 303 public void refresh(int generation) {
|
D | ThreadUtil.java | 32 void refresh(int generation); in refresh() method
|
D | MessageThreadUtil.java | 94 public void refresh(int generation) { in getBackgroundProxy() method 135 callback.refresh(msg.arg1); in getBackgroundProxy()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | KeyguardUserSwitcher.java | 110 mAdapter.refresh(); in show() 188 private void refresh() { in refresh() method in KeyguardUserSwitcher 227 refresh();
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/util/ |
D | ThreadUtilTest.java | 69 public void refresh(int generation) { in setup() 124 mBackgroundProxy.refresh(2); in testRefresh()
|
D | AsyncListUtilTest.java | 97 mAsyncListUtil.refresh(); in testDataRefresh() 103 mAsyncListUtil.refresh(); in testDataRefresh()
|
/frameworks/native/services/surfaceflinger/ |
D | MessageQueue.h | 110 void refresh();
|
D | MessageQueue.cpp | 169 void MessageQueue::refresh() { in refresh() function in android::MessageQueue
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | UserDetailView.java | 52 mAdapter.refresh(); in refreshAdapter()
|
/frameworks/base/docs/html/training/efficient-downloads/ |
D | regular_updates.jd | 33 …Life</a> discusses how to build battery-efficient apps that modify their refresh frequency based o… 35 <p>This lesson will examine how your refresh frequency can be varied to best mitigate the effect of… 51 <p>Where polling is required, it's good practice to set the default data refresh frequency of your …
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | CachedBluetoothDevice.java | 268 refresh(); in connectProfile() 417 void refresh() { in refresh() method in CachedBluetoothDevice 560 refresh(); in onBondingStateChanged()
|
D | HidProfile.java | 68 device.refresh(); in onServiceConnected()
|
D | A2dpProfile.java | 73 device.refresh(); in onServiceConnected()
|
D | SapProfile.java | 76 device.refresh(); in onServiceConnected()
|
D | MapProfile.java | 77 device.refresh(); in onServiceConnected()
|
D | HeadsetProfile.java | 77 device.refresh(); in onServiceConnected()
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | HWComposer.cpp | 179 config.refresh = nsecs_t(1e9 / mFbDev->fps); in HWComposer() 375 config.refresh = nsecs_t(values[i]); in queryDisplayProperties() 459 mDisplayData[disp].configs[configId].refresh); in getRefreshTimestamp() 500 return mDisplayData[disp].configs[currentConfig].refresh; in getRefreshPeriod() 1167 config.xdpi, config.ydpi, config.refresh); in dump()
|
/frameworks/base/docs/html/training/monitoring-device-state/ |
D | battery-monitoring.jd | 36 is negligible, so in most cases you can maximize your refresh rate whenever the device is connected 80 monitor the charging state for changes and alter your refresh rate accordingly.</p>
|