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

1234

/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
59 * @param direction Direction to look.
62 public final View findNextFocus(ViewGroup root, View focused, int direction) { argument
66 View userSetNextFocus = focused.findUserSetNextFocus(root, direction);
79 switch (direction) {
98 return findNextFocus(root, focused, mFocusedRect, direction);
106 * @param direction Direction to look.
109 public View findNextFocusFromRect(ViewGroup root, Rect focusedRect, int direction) { argument
110 return findNextFocus(root, null, focusedRect, direction);
113 private View findNextFocus(ViewGroup root, View focused, Rect focusedRect, int direction) { argument
206 isBetterCandidate(int direction, Rect source, Rect rect1, Rect rect2) argument
245 beamBeats(int direction, Rect source, Rect rect1, Rect rect2) argument
295 isCandidate(Rect srcRect, Rect destRect, int direction) argument
322 beamsOverlap(int direction, Rect rect1, Rect rect2) argument
338 isToDirectionOf(int direction, Rect src, Rect dest) argument
358 majorAxisDistance(int direction, Rect source, Rect dest) argument
362 majorAxisDistanceRaw(int direction, Rect source, Rect dest) argument
383 majorAxisDistanceToFarEdge(int direction, Rect source, Rect dest) argument
387 majorAxisDistanceToFarEdgeRaw(int direction, Rect source, Rect dest) argument
410 minorAxisDistance(int direction, Rect source, Rect dest) argument
440 findNearestTouchable(ViewGroup root, int x, int y, int direction, int[] deltas) argument
513 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/base/media/libstagefright/codecs/aacdec/
H A Ds_tnsfilt.h118 Int direction; member in struct:__anon578
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/support/v4/java/android/support/v4/view/
H A DViewCompat.java47 public boolean canScrollHorizontally(View v, int direction); argument
48 public boolean canScrollVertically(View v, int direction); argument
58 public boolean canScrollHorizontally(View v, int direction) { argument
61 public boolean canScrollVertically(View v, int direction) { argument
97 public boolean canScrollHorizontally(View v, int direction) { argument
98 return ViewCompatICS.canScrollHorizontally(v, direction);
101 public boolean canScrollVertically(View v, int direction) { argument
102 return ViewCompatICS.canScrollVertically(v, direction);
135 * Check if this view can be scrolled horizontally in a certain direction.
138 * @param direction Negativ
141 canScrollHorizontally(View v, int direction) argument
152 canScrollVertically(View v, int direction) argument
[all...]
/frameworks/base/core/java/android/text/method/
H A DTransformationMethod.java44 boolean focused, int direction,
43 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/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/media/java/android/media/
H A DIAudioService.aidl30 void adjustVolume(int direction, int flags);
32 void adjustSuggestedStreamVolume(int direction, int suggestedStreamType, int flags);
34 void adjustStreamVolume(int streamType, int direction, int flags);
/frameworks/base/core/java/android/webkit/
H A DAccessibilityInjector.java97 // keep track of last direction
151 int direction = binding.getFirstArgument(i);
152 // on second null selection string in same direction - WebView handles the event
153 if (direction == mLastDirection && mIsLastSelectionStringNull) {
157 mLastDirection = direction;
159 mLastDownEventHandled = traverseCurrentAxis(direction, sendEvent,
163 direction = binding.getFirstArgument(i);
164 // on second null selection string in same direction => WebView handle the event
165 if (direction == mLastDirection && mIsLastSelectionStringNull) {
169 mLastDirection = direction;
248 traverseCurrentAxis(int direction, boolean sendEvent, String contentDescription) argument
262 traverseGivenAxis(int direction, int axis, boolean sendEvent, String contentDescription) 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/core/java/android/widget/
H A DZoomButton.java95 public boolean dispatchUnhandledMove(View focused, int direction) { argument
97 return super.dispatchUnhandledMove(focused, direction);
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DIPhoneStateListener.aidl33 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/base/media/libstagefright/codecs/aacenc/inc/
H A Dbitbuffer.h29 enum direction enum
/frameworks/base/tools/aidl/
H A Daidl_language.h36 buffer_type direction; member in struct:arg_type
127 int convert_direction(const char* direction);
/frameworks/base/core/java/android/view/animation/
H A DGridLayoutAnimationController.java34 * In addition, the animation direction can be controlled. The default direction
74 * Bitmask used to retrieve the horizontal component of the direction.
79 * Bitmask used to retrieve the vertical component of the direction.
216 * Returns the direction of the animation. {@link #DIRECTION_HORIZONTAL_MASK}
218 * horizontal and vertical components of the direction.
220 * @return the direction of the animation
235 * Sets the direction of the animation. The direction is expressed as an
239 * @param direction th
249 setDirection(int direction) argument
[all...]

Completed in 456 milliseconds

1234