Searched defs:direction (Results 1 - 25 of 93) 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...]
/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
/frameworks/base/tools/aidl/
H A Daidl_language_y.y307 direction type IDENTIFIER {
310 arg->direction = $1.buffer;
336 direction: label
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
H A DStatusBar.java33 public StatusBar(Context context, Density density, int direction, boolean RtlEnabled) argument
35 // FIXME: if direction is RTL but it's not enabled in application manifest, mirror this bar.
H A DCustomBar.java90 private InputStream getIcon(String iconName, Density[] densityInOut, LayoutDirection direction, argument
96 if (direction != null) {
97 pathOut[0] = "/bars/" + direction.getResourceValue() + "-" + density.getResourceValue()
108 stream = getIcon(iconName, densityInOut, direction, pathOut,
115 // couldn't find resource with direction qualifier. try without.
116 if (direction != null) {
/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/widget/
H A DListViewAutoScrollHelper.java53 public boolean canTargetScrollHorizontally(int direction) { argument
59 public boolean canTargetScrollVertically(int direction) { argument
66 if (direction > 0) {
74 } else if (direction < 0) {
83 // The behavior for direction 0 is undefined and we can return
/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/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/support/v7/mediarouter/src/android/support/v7/media/
H A DRemoteControlClientCompat.java87 * @param direction An integer indicating whether the volume is to be increased
90 * in the same direction, e.g. +3 corresponds to three "volume up" changes.
92 public void onVolumeUpdateRequest(int direction); argument
172 public void onVolumeUpdateRequest(Object routeObj, int direction) { argument
175 impl.mVolumeCallback.onVolumeUpdateRequest(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/bluetooth/
H A DBluetoothA2dp.java413 * @param direction 1 to increase volume, or -1 to decrease volume
416 public void adjustAvrcpAbsoluteVolume(int direction) { argument
420 mService.adjustAvrcpAbsoluteVolume(direction);
/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 587 milliseconds

1234