Home
last modified time | relevance | path

Searched refs:refresh (Results 1 – 25 of 65) sorted by relevance

123

/frameworks/base/docs/html/training/swipe/
Drespond-refresh-request.jd29 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 …]
Dadd-swipe-interface.jd44 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
Dindex.jd40 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/
DKeyguardStatusView.java57 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/
DAccessibilityNodeInfoCompatJellybeanMr2.java59 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/
DVrView.java58 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/
DPseudoGridView.java159 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/
DAsyncListUtil.java100 refresh(); in AsyncListUtil()
129 public void refresh() { in refresh() method in AsyncListUtil
131 mBackgroundProxy.refresh(++mRequestedGeneration); in refresh()
303 public void refresh(int generation) {
DThreadUtil.java32 void refresh(int generation); in refresh() method
DMessageThreadUtil.java94 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/
DKeyguardUserSwitcher.java110 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/
DThreadUtilTest.java69 public void refresh(int generation) { in setup()
124 mBackgroundProxy.refresh(2); in testRefresh()
DAsyncListUtilTest.java97 mAsyncListUtil.refresh(); in testDataRefresh()
103 mAsyncListUtil.refresh(); in testDataRefresh()
/frameworks/native/services/surfaceflinger/
DMessageQueue.h110 void refresh();
DMessageQueue.cpp169 void MessageQueue::refresh() { in refresh() function in android::MessageQueue
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DUserDetailView.java52 mAdapter.refresh(); in refreshAdapter()
/frameworks/base/docs/html/training/efficient-downloads/
Dregular_updates.jd33 …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/
DCachedBluetoothDevice.java268 refresh(); in connectProfile()
417 void refresh() { in refresh() method in CachedBluetoothDevice
560 refresh(); in onBondingStateChanged()
DHidProfile.java68 device.refresh(); in onServiceConnected()
DA2dpProfile.java73 device.refresh(); in onServiceConnected()
DSapProfile.java76 device.refresh(); in onServiceConnected()
DMapProfile.java77 device.refresh(); in onServiceConnected()
DHeadsetProfile.java77 device.refresh(); in onServiceConnected()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWComposer.cpp179 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/
Dbattery-monitoring.jd36 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>

123