Searched defs:up (Results 1 - 25 of 30) sorted by relevance

12

/frameworks/base/core/java/android/text/method/
H A DScrollingMovementMethod.java39 protected boolean up(TextView widget, Spannable buffer) { method in class:ScrollingMovementMethod
H A DArrowKeyMovementMethod.java89 protected boolean up(TextView widget, Spannable buffer) { method in class:ArrowKeyMovementMethod
278 // If we have scrolled, then the up shouldn't move the cursor,
H A DLinkMovementMethod.java61 protected boolean up(TextView widget, Spannable buffer) { method in class:LinkMovementMethod
66 return super.up(widget, buffer);
H A DBaseMovementMethod.java146 * such as {@link #down} and {@link #up}.
189 return up(widget, buffer);
269 * Performs an up movement action.
270 * Moves the cursor or scrolls up by one line.
276 protected boolean up(TextView widget, Spannable buffer) { method in class:BaseMovementMethod
293 * Performs a page-up movement action.
294 * Moves the cursor or scrolls up by one page.
499 * Performs a scroll up action.
500 * Scrolls up by the specified number of lines.
557 * Performs a scroll page up actio
[all...]
/frameworks/base/core/java/android/util/
H A DDayOfMonthCursor.java26 * <li>Provides methods to move the cursor up / down / left / right.</li>
96 * Move up one box, potentially flipping to the previous month.
100 public boolean up() { method in class:DayOfMonthCursor
102 // within current month, just move up
/frameworks/base/core/java/com/android/server/net/
H A DBaseNetworkObserver.java31 public void interfaceStatusChanged(String iface, boolean up) { argument
51 public void interfaceLinkStateChanged(String iface, boolean up) { argument
/frameworks/base/core/jni/android/opengl/
H A Dpoly_clip.cpp61 float *up, *vp, *wp; local
79 up = (float *)u;
82 for(int i = 0; i < 4; i++, wp++, up++, vp++) {
83 *wp = *up+t*(*vp-*up);
148 /* if result ended up in p2 then copy it to p1 */
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
H A DGestureUtils.java15 public static boolean isTap(MotionEvent down, MotionEvent up, int tapTimeSlop, argument
17 return eventsWithinTimeAndDistanceSlop(down, up, tapTimeSlop, tapDistanceSlop, actionIndex);
H A DMagnificationGestureHandler.java50 * viewport dragging mode until the finger goes up. One can think of this
55 * finger goes up the screen will zoom out. If the same user interaction
57 * be the same but when the finger goes up the screen will stay magnified.
723 private void onActionTap(MotionEvent up, int policyFlags) { argument
731 mMagnificationController.setScaleAndCenter(scale, up.getX(), up.getY(), true,
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DNat464Xlat.java69 // - Running: start() called, and interfaceLinkStateChanged() told us that mIface is up.
242 public void interfaceLinkStateChanged(String iface, boolean up) { argument
244 if (isStarted() && up && mIface.equals(iface)) {
245 Slog.i(TAG, "interface " + iface + " is up, mIsRunning " + mIsRunning + "->true");
H A DVpn.java786 // Set up forwarding and DNS rules.
979 // clean up if restricted
1085 public synchronized void interfaceStatusChanged(String iface, boolean up) { argument
1087 mObserver.interfaceStatusChanged(iface, up);
1095 public void interfaceStatusChanged(String interfaze, boolean up) {
1097 if (!up && mLegacyVpnRunner != null) {
1424 // wait for old thread to completely finish before spinning up
1464 * Bringing up a VPN connection takes time, and that is all this thread
1467 * requests will be piled up. This can be done in a Handler as a state
1517 // we will leave the VPN up
[all...]
H A DTethering.java247 public void interfaceStatusChanged(String iface, boolean up) { argument
250 if (VDBG) Log.d(TAG, "interfaceStatusChanged " + iface + ", " + up);
265 if (up) {
285 public void interfaceLinkStateChanged(String iface, boolean up) { argument
286 interfaceStatusChanged(iface, up);
470 // We should figure out a way to bubble up that failure instead of sending success.
502 * successful before firing back up to the wrapped receiver.
1027 // notification that this interface is up
1710 // We think mobile should be coming up; don't set a retry.
1720 * requests to keep trying to bring up somethin
[all...]
/frameworks/wilhelm/src/itf/
H A DI3DLocation.c252 SLVec3D up = thiz->mOrientationVectors.mUp; local
255 *pUp = up;
H A DI3DMacroscopic.c165 SLVec3D up = thiz->mOrientationVectors.mUp; local
168 *pUp = up;
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/
H A DEthernetNetworkFactory.java61 * at boot time) this class will start tracking it and bring it up, and will
68 * interface and that interface's link is up, and a score of 0 otherwise.
147 private void updateInterfaceState(String iface, boolean up) { argument
151 Log.d(TAG, "updateInterface: " + iface + " link " + (up ? "up" : "down"));
154 mLinkUp = up;
155 mNetworkInfo.setIsAvailable(up);
156 if (!up) {
165 mFactory.setScoreFilter(up ? NETWORK_SCORE : -1);
171 public void interfaceLinkStateChanged(String iface, boolean up) { argument
[all...]
/frameworks/base/services/core/java/com/android/server/policy/
H A DSystemGesturesPointerEventListener.java244 public boolean onFling(MotionEvent down, MotionEvent up, argument
/frameworks/native/include/ui/
H A Dmat4.h139 static tmat44 lookAt(const tvec3<A>& eye, const tvec3<B>& center, const tvec3<C>& up);
263 tmat44<T> tmat44<T>::lookAt(const tvec3<A>& eye, const tvec3<B>& center, const tvec3<C>& up) { argument
265 tvec3<T> S(normalize( cross(L, up) ));
/frameworks/native/services/sensorservice/
H A DFusion.cpp294 vec3_t up(mData[0]);
298 east = normalize(cross_product(mData[1], up));
300 east = getOrthogonal(up);
303 vec3_t north(cross_product(up, east));
304 R << east << north << up; local
370 const vec3_t up( getRotationMatrix() * Ba );
371 const vec3_t east( cross_product(m, up) );
373 // If the m and up vectors align, the cross product magnitude will
383 vec3_t north( cross_product(up, east) );
/frameworks/support/v7/recyclerview/jvm-tests/src/android/support/v7/widget/
H A DOpReorderTest.java273 up(s, len);
300 UpdateOp up(int start, int count) { method in class:OpReorderTest
579 up(1, 2);
582 assertEquals(up(2, 2), mUpdateOps.get(0));
589 up(0, 4);
592 assertEquals(up(0, 1), mUpdateOps.get(0));
593 assertEquals(up(1, 3), mUpdateOps.get(1));
600 up(1, 3);
603 assertEquals(up(3, 1), mUpdateOps.get(0));
604 assertEquals(up(
[all...]
H A DAdapterHelperTest.java219 up(0, 5);
620 up(6, 2);
647 up(0, 39);
652 up(36, 29);
656 up(12, 69);
657 up(116, 13);
658 up(118, 19);
660 up(98, 21);
663 up(71, 8);
676 up(
1034 void up(int start, int count) { method in class:AdapterHelperTest
1041 void up(int start, int count, Object payload) { method in class:AdapterHelperTest
[all...]
/frameworks/av/media/libstagefright/httplive/
H A DLiveSession.cpp116 // be long blocking reads that takes up signification time,
557 ALOGV("[%s] up switching failed due to insufficient buffer",
829 // If switching up, require a cushion bigger than kUnderflowMark
865 // if switching up, cancel and retry if condition satisfies again
866 ALOGV("cancel up switch because we're too late");
1294 // unless we're really confident finishing up the last segment
1822 // Find out when the original fetchers have buffered up to and start the new fetchers
1861 // switching up
2064 bool underflow, ready, down, up; local
2065 if (checkBuffering(underflow, ready, down, up)) {
2139 checkBuffering( bool &underflow, bool &ready, bool &down, bool &up) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DStackView.java78 * Represent the two possible stack modes, one where items slide up, and the other
92 * Specifies how far you need to swipe (up or down) before it
99 * that views will be slid, either up or down
603 private void pacedScroll(boolean up) { argument
606 if (up) {
776 // Our primary pointer has gone up -- let's see if we can find
845 // Swipe threshold exceeded, swipe up
854 // Didn't swipe up far enough, snap back down
872 // Didn't swipe down far enough, snap back up
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DZenModePanel.java680 onClickTimeButton(row, tag, true /*up*/, rowId);
711 // wire up interaction callbacks for newly-added condition rows
741 private void onClickTimeButton(View row, ConditionTag tag, boolean up, int rowId) { argument
742 MetricsLogger.action(mContext, MetricsEvent.QS_DND_TIME, up);
751 int j = up ? i : N - 1 - i;
754 if (up && bucketTime > time || !up && bucketTime < time) {
769 mBucketIndex = Math.max(0, Math.min(N - 1, mBucketIndex + (up ? 1 : -1)));
/frameworks/base/services/core/java/com/android/server/
H A DNetworkManagementService.java379 private void notifyInterfaceStatusChanged(String iface, boolean up) { argument
384 mObservers.getBroadcastItem(i).interfaceStatusChanged(iface, up);
397 private void notifyInterfaceLinkStateChanged(String iface, boolean up) { argument
402 mObservers.getBroadcastItem(i).interfaceLinkStateChanged(iface, up);
804 * "NNN Iface changed <name> <up/down>"
805 * "NNN Iface linkstatus <name> <up/down>"
817 notifyInterfaceStatusChanged(cooked[3], cooked[4].equals("up"));
820 notifyInterfaceLinkStateChanged(cooked[3], cooked[4].equals("up"));
1080 IPv6 addresses on interface down, but we need to do full clean up here */
1487 String logMsg = "startAccessPoint Error setting up softa
[all...]
/frameworks/opt/net/wifi/service/jni/
H A Dcom_android_server_wifi_WifiNative.cpp266 // ALOGD("interface %s is already up\n", ifname);
292 static jboolean android_net_wifi_set_interface_up(JNIEnv* env, jclass cls, jboolean up) { argument
293 return (set_iface_flags("wlan0", (bool)up) == 0);
332 ALOGD("In wifi cleaned up handler");

Completed in 441 milliseconds

12