Searched defs:direction (Results 1 - 25 of 82) sorted by relevance

1234

/frameworks/base/core/java/android/view/
H A DSoundEffectConstants.java35 * @param direction One of {@link View#FOCUS_UP}, {@link View#FOCUS_DOWN},
41 public static int getContantForFocusDirection(int direction) { argument
42 switch (direction) {
54 throw new IllegalArgumentException("direction must be one of "
H A DFocusFinderHelper.java36 public boolean isBetterCandidate(int direction, Rect source, Rect rect1, Rect rect2) { argument
37 return mFocusFinder.isBetterCandidate(direction, source, rect1, rect2);
40 public boolean beamBeats(int direction, Rect source, Rect rect1, Rect rect2) { argument
41 return mFocusFinder.beamBeats(direction, source, rect1, rect2);
44 public boolean isCandidate(Rect srcRect, Rect destRect, int direction) { argument
45 return mFocusFinder.isCandidate(srcRect, destRect, direction);
48 public boolean beamsOverlap(int direction, Rect rect1, Rect rect2) { argument
49 return mFocusFinder.beamsOverlap(direction, rect1, rect2);
52 public static int majorAxisDistance(int direction, Rect source, Rect dest) { argument
53 return FocusFinder.majorAxisDistance(direction, sourc
56 majorAxisDistanceToFarEdge(int direction, Rect source, Rect dest) argument
[all...]
H A DFocusFinder.java26 * The algorithm used for finding the next focusable view in a given direction
61 * @param direction Direction to look.
64 public final View findNextFocus(ViewGroup root, View focused, int direction) { argument
65 return findNextFocus(root, focused, null, direction);
73 * @param direction Direction to look.
76 public View findNextFocusFromRect(ViewGroup root, Rect focusedRect, int direction) { argument
78 return findNextFocus(root, null, mFocusedRect, direction);
81 private View findNextFocus(ViewGroup root, View focused, Rect focusedRect, int direction) { argument
84 next = findNextUserSpecifiedFocus(root, focused, direction);
92 root.addFocusables(focusables, direction);
102 findNextUserSpecifiedFocus(ViewGroup root, View focused, int direction) argument
113 findNextFocus(ViewGroup root, View focused, Rect focusedRect, int direction, ArrayList<View> focusables) argument
170 findNextFocusInRelativeDirection(ArrayList<View> focusables, ViewGroup root, View focused, Rect focusedRect, int direction) argument
202 findNextFocusInAbsoluteDirection(ArrayList<View> focusables, ViewGroup root, View focused, Rect focusedRect, int direction) argument
292 isBetterCandidate(int direction, Rect source, Rect rect1, Rect rect2) argument
331 beamBeats(int direction, Rect source, Rect rect1, Rect rect2) argument
381 isCandidate(Rect srcRect, Rect destRect, int direction) argument
408 beamsOverlap(int direction, Rect rect1, Rect rect2) argument
424 isToDirectionOf(int direction, Rect src, Rect dest) argument
444 majorAxisDistance(int direction, Rect source, Rect dest) argument
448 majorAxisDistanceRaw(int direction, Rect source, Rect dest) argument
469 majorAxisDistanceToFarEdge(int direction, Rect source, Rect dest) argument
473 majorAxisDistanceToFarEdgeRaw(int direction, Rect source, Rect dest) argument
496 minorAxisDistance(int direction, Rect source, Rect dest) argument
526 findNearestTouchable(ViewGroup root, int x, int y, int direction, int[] deltas) argument
599 isTouchCandidate(int x, int y, Rect destRect, int direction) argument
[all...]
H A DViewParent.java141 * Find the nearest view in the specified direction that wants to take focus
144 * @param direction One of FOCUS_UP, FOCUS_DOWN, FOCUS_LEFT, and FOCUS_RIGHT
146 public View focusSearch(View v, int direction); argument
/frameworks/base/graphics/java/android/graphics/
H A DEmbossMaskFilter.java23 * @param direction array of 3 scalars [x, y, z] specifying the direction of the light source
29 public EmbossMaskFilter(float[] direction, float ambient, float specular, float blurRadius) { argument
30 if (direction.length < 3) {
33 native_instance = nativeConstructor(direction, ambient, specular, blurRadius);
36 private static native int nativeConstructor(float[] direction, float ambient, float specular, float blurRadius); argument
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DEmbossMaskFilter_Delegate.java58 /*package*/ static int nativeConstructor(float[] direction, float ambient, argument
/frameworks/av/media/libstagefright/codecs/aacenc/inc/
H A Dbitbuffer.h29 enum direction enum
/frameworks/base/core/java/android/text/method/
H A DTransformationMethod.java43 boolean focused, int direction,
42 onFocusChanged(View view, CharSequence sourceText, boolean focused, int direction, Rect previouslyFocusedRect) argument
H A DAllCapsTransformationMethod.java50 public void onFocusChanged(View view, CharSequence sourceText, boolean focused, int direction, argument
H A DMovementMethod.java47 public void onTakeFocus(TextView widget, Spannable text, int direction); argument
H A DReplacementTransformationMethod.java103 boolean focused, int direction,
102 onFocusChanged(View view, CharSequence sourceText, boolean focused, int direction, Rect previouslyFocusedRect) argument
H A DBaseMovementMethod.java79 public void onTakeFocus(TextView widget, Spannable text, int direction) { argument
H A DPasswordTransformationMethod.java121 boolean focused, int direction,
120 onFocusChanged(View view, CharSequence sourceText, boolean focused, int direction, Rect previouslyFocusedRect) argument
/frameworks/base/tools/aidl/
H A Daidl_language_y.y264 direction type IDENTIFIER {
267 arg->direction = $1.buffer;
293 direction: label
/frameworks/support/v4/ics/android/support/v4/view/
H A DViewCompatICS.java29 public static boolean canScrollHorizontally(View v, int direction) { argument
30 return v.canScrollHorizontally(direction);
33 public static boolean canScrollVertically(View v, int direction) { argument
34 return v.canScrollVertically(direction);
/frameworks/base/media/java/android/media/videoeditor/
H A DTransitionSliding.java57 * @param direction direction shall be one of the supported directions like
64 int direction) {
66 switch (direction) {
74 throw new IllegalArgumentException("Invalid direction");
76 mSlidingDirection = direction;
80 * Get the sliding direction.
82 * @return The sliding direction
62 TransitionSliding(String transitionId, MediaItem afterMediaItem, MediaItem beforeMediaItem, long durationMs, int behavior, int direction) argument
/frameworks/base/core/java/android/widget/
H A DAccessibilityIterators.java106 protected int getLineEdgeIndex(int lineNumber, int direction) { argument
108 if (direction * paragraphDirection < 0) {
H A DZoomButton.java97 public boolean dispatchUnhandledMove(View focused, int direction) { argument
99 return super.dispatchUnhandledMove(focused, direction);
/frameworks/base/core/tests/coretests/src/android/widget/focus/
H A DVerticalFocusSearchTest.java49 View findNextFocus(ViewGroup root, View focused, int direction); argument
55 public View findNextFocus(ViewGroup root, View focused, int direction) { argument
57 .findNextFocus(root, focused, direction);
/frameworks/base/core/java/android/net/
H A DThrottleManager.java148 public long getByteCount(String iface, int direction, int period, int ago) { argument
150 return mService.getByteCount(iface, direction, period, ago);
/frameworks/base/core/jni/android/graphics/
H A DMaskFilter.cpp28 SkScalar direction[3]; local
33 direction[i] = SkFloatToScalar(values[i]);
36 SkMaskFilter* filter = SkBlurMaskFilter::CreateEmboss(direction,
/frameworks/base/telephony/java/android/telephony/
H A DPhoneStateListener.java131 * Listen for changes to the direction of data traffic on the data
256 public void onDataActivity(int direction) { argument
332 public void onDataActivity(int direction) {
333 Message.obtain(mHandler, LISTEN_DATA_ACTIVITY, direction, 0, null).sendToTarget();
/frameworks/support/v4/jellybean/android/support/v4/view/accessibility/
H A DAccessibilityNodeInfoCompatJellyBean.java64 public static Object focusSearch(Object info, int direction) { argument
65 return ((AccessibilityNodeInfo) info).focusSearch(direction);
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dvlc_dequant.cpp71 int direction; local
107 doDCACPrediction(video, comp, datablock, &direction);
108 if (!ACpred_flag) direction = 0;
109 inv_zigzag = zigzag_inv + (ACpred_flag << 6) + (direction << 6);
176 if (!direction) /* check vertical */
522 int direction; local
549 doDCACPrediction(video, comp, datablock, &direction);
550 if (!ACpred_flag) direction = 0;
552 inv_zigzag = zigzag_inv + (ACpred_flag << 6) + (direction << 6); /* 04/17/01 */
619 if (!direction) /* chec
825 int direction; local
[all...]
/frameworks/base/core/java/android/text/
H A DSelection.java415 private static int chooseHorizontal(Layout layout, int direction, argument
421 // same line, so it goes by pure physical direction
426 if (direction < 0) {
451 if (textdir == direction)

Completed in 147 milliseconds

1234