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 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
82 if ((direction & View.FOCUS_ACCESSIBILITY) != View.FOCUS_ACCESSIBILITY) {
83 return findNextInputFocus(root, focused, focusedRect, direction);
89 findNextInputFocus(ViewGroup root, View focused, Rect focusedRect, int direction) argument
110 findNextUserSpecifiedInputFocus(ViewGroup root, View focused, int direction) argument
121 findNextFocus(ViewGroup root, View focused, Rect focusedRect, int direction, ArrayList<View> focusables) argument
179 findNextAccessibilityFocus(ViewGroup root, View focused, Rect focusedRect, int direction) argument
193 findNextInputFocusInRelativeDirection(ArrayList<View> focusables, ViewGroup root, View focused, Rect focusedRect, int direction) argument
225 findNextInputFocusInAbsoluteDirection(ArrayList<View> focusables, ViewGroup root, View focused, Rect focusedRect, int direction) argument
315 isBetterCandidate(int direction, Rect source, Rect rect1, Rect rect2) argument
354 beamBeats(int direction, Rect source, Rect rect1, Rect rect2) argument
404 isCandidate(Rect srcRect, Rect destRect, int direction) argument
431 beamsOverlap(int direction, Rect rect1, Rect rect2) argument
447 isToDirectionOf(int direction, Rect src, Rect dest) argument
467 majorAxisDistance(int direction, Rect source, Rect dest) argument
471 majorAxisDistanceRaw(int direction, Rect source, Rect dest) argument
492 majorAxisDistanceToFarEdge(int direction, Rect source, Rect dest) argument
496 majorAxisDistanceToFarEdgeRaw(int direction, Rect source, Rect dest) argument
519 minorAxisDistance(int direction, Rect source, Rect dest) argument
549 findNearestTouchable(ViewGroup root, int x, int y, int direction, int[] deltas) argument
622 isTouchCandidate(int x, int y, Rect destRect, int direction) 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 "
/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/av/media/libstagefright/codecs/aacdec/
H A Ds_tnsfilt.h118 Int direction; member in struct:__anon561
H A Dtns_inv_filter.cpp54 direction = direction for application of tns filter.
113 The direction of the filter's application is defined by
114 (const Int direction)
162 IF (direction == -1)
217 pCoef = pCoef + direction;
299 const Int direction,
335 if (direction == -1)
410 pCoef += direction;
296 tns_inv_filter( Int32 coef[], const Int num_coef, const Int direction, const Int32 lpc[], const Int lpc_qformat, const Int order, Int32 scratch_memory[]) argument
H A Dtns_ar_filter.cpp79 registers. Also split the code (based on flag direction) to simplify
96 direction = direction for application of tns filter.
149 The direction of the filter's application is defined by (const Int inc)
300 const Int direction,
372 if (direction == -1)
297 tns_ar_filter( Int32 spec[], const Int spec_length, const Int direction, const Int32 lpc[], const Int Q_lpc, const Int order) 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/view/accessibility/
H A DAccessibilityNodeProvider.java162 * <code>direction</code>. The search is relative to the virtual view, i.e. a
171 * @param direction The direction in which to search for a focus candidate.
188 public AccessibilityNodeInfo accessibilityFocusSearch(int direction, int virtualViewId) { 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/support/v4/java/android/support/v4/view/
H A DViewCompat.java65 public boolean canScrollHorizontally(View v, int direction); argument
66 public boolean canScrollVertically(View v, int direction); argument
85 public boolean canScrollHorizontally(View v, int direction) { argument
88 public boolean canScrollVertically(View v, int direction) { argument
161 public boolean canScrollHorizontally(View v, int direction) { argument
162 return ViewCompatICS.canScrollHorizontally(v, direction);
165 public boolean canScrollVertically(View v, int direction) { argument
166 return ViewCompatICS.canScrollVertically(v, direction);
246 * Check if this view can be scrolled horizontally in a certain direction.
249 * @param direction Negativ
252 canScrollHorizontally(View v, int direction) argument
263 canScrollVertically(View v, 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/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,

Completed in 419 milliseconds

12345