Searched refs:direction (Results 1 - 25 of 109) sorted by relevance

12345

/frameworks/base/media/java/android/media/
H A DIRemoteVolumeObserver.aidl25 void dispatchRemoteVolumeUpdate(int direction, int value);
H A DIAudioService.aidl37 void adjustVolume(int direction, int flags);
39 oneway void adjustLocalOrRemoteStreamVolume(int streamType, int direction);
41 void adjustSuggestedStreamVolume(int direction, int suggestedStreamType, int flags);
43 void adjustStreamVolume(int streamType, int direction, int flags);
45 void adjustMasterVolume(int direction, int flags);
/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/core/java/android/view/
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 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 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...]
/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/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/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
/frameworks/base/core/java/android/webkit/
H A DAccessibilityInjectorFallback.java114 // keep track of last direction
169 int direction = binding.getFirstArgument(i);
170 // on second null selection string in same direction - WebView handles the event
171 if (direction == mLastDirection && mIsLastSelectionStringNull) {
175 mLastDirection = direction;
177 mLastDownEventHandled = traverseCurrentAxis(direction, sendEvent,
181 direction = binding.getFirstArgument(i);
182 // on second null selection string in same direction => WebView handle the event
183 if (direction == mLastDirection && mIsLastSelectionStringNull) {
187 mLastDirection = direction;
267 traverseCurrentAxis(int direction, boolean sendEvent, String contentDescription) argument
347 traverseGivenAxis(int direction, int axis, boolean sendEvent, String contentDescription) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DEmbossMaskFilter_Delegate.java58 /*package*/ static int nativeConstructor(float[] direction, float ambient, argument
/frameworks/base/core/tests/coretests/src/android/view/
H A DFocusFinderTest.java380 * (majorAxisDistance was wrong for direction left)
475 private void assertBeamsOverlap(int direction, Rect rect1, Rect rect2) { argument
476 String directionStr = validateAndGetStringFor(direction);
477 String assertMsg = String.format("Expected beams to overlap in direction %s "
479 assertTrue(assertMsg, mFocusFinder.beamsOverlap(direction, rect1, rect2));
482 private void assertBeamsDontOverlap(int direction, Rect rect1, Rect rect2) { argument
483 String directionStr = validateAndGetStringFor(direction);
484 String assertMsg = String.format("Expected beams not to overlap in direction %s "
486 assertFalse(assertMsg, mFocusFinder.beamsOverlap(direction, rect1, rect2));
492 * @param direction Th
497 assertBetterCandidate(int direction, Rect srcRect, Rect expectedBetter, Rect expectedWorse) argument
522 assertIsNotCandidate(int direction, Rect src, Rect dest) argument
532 assertBeamBeats(int direction, Rect srcRect, Rect rect1, Rect rect2) argument
543 assertDirectionIsCandidate(int direction, Rect src, Rect dest) argument
553 validateAndGetStringFor(int direction) argument
[all...]
/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/telephony/java/com/android/internal/telephony/
H A DIPhoneStateListener.aidl34 void onDataActivity(int direction);
/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/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/support/v4/java/android/support/v4/view/
H A DViewCompat.java115 public boolean canScrollHorizontally(View v, int direction); argument
116 public boolean canScrollVertically(View v, int direction); argument
140 public boolean canScrollHorizontally(View v, int direction) { argument
143 public boolean canScrollVertically(View v, int direction) { argument
236 public boolean canScrollHorizontally(View v, int direction) { argument
237 return ViewCompatICS.canScrollHorizontally(v, direction);
240 public boolean canScrollVertically(View v, int direction) { argument
241 return ViewCompatICS.canScrollVertically(v, direction);
340 * Check if this view can be scrolled horizontally in a certain direction.
343 * @param direction Negativ
346 canScrollHorizontally(View v, int direction) argument
357 canScrollVertically(View v, int direction) argument
[all...]
/frameworks/av/media/libstagefright/codecs/aacenc/inc/
H A Dbitbuffer.h29 enum direction enum
/frameworks/base/core/java/android/accessibilityservice/
H A DIAccessibilityServiceConnection.aidl120 * focus in the given direction. The search is performed in the window whose id is
130 * @param direction The direction in which to search for focusable.
136 float focusSearch(int accessibilityWindowId, long accessibilityNodeId, int direction,
/frameworks/base/core/java/android/view/accessibility/
H A DIAccessibilityInteractionConnection.aidl47 void focusSearch(long accessibilityNodeId, int direction, int interactionId,
/frameworks/base/core/java/android/widget/
H A DZoomButton.java97 public boolean dispatchUnhandledMove(View focused, int direction) { argument
99 return super.dispatchUnhandledMove(focused, direction);
/frameworks/base/tools/aidl/
H A Daidl_language.h36 buffer_type direction; member in struct:arg_type
136 int convert_direction(const char* direction);
/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);

Completed in 4021 milliseconds

12345