/frameworks/base/core/java/android/view/ |
H A D | SoundEffectConstants.java | 35 * @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 D | FocusFinderHelper.java | 36 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 D | FocusFinder.java | 24 * The algorithm used for finding the next focusable view in a given direction 56 * @param direction Direction to look. 59 public final View findNextFocus(ViewGroup root, View focused, int direction) { argument 63 View userSetNextFocus = focused.findUserSetNextFocus(root, direction); 76 switch (direction) { 93 return findNextFocus(root, focused, mFocusedRect, direction); 101 * @param direction Direction to look. 104 public View findNextFocusFromRect(ViewGroup root, Rect focusedRect, int direction) { argument 105 return findNextFocus(root, null, focusedRect, direction); 108 private View findNextFocus(ViewGroup root, View focused, Rect focusedRect, int direction) { argument 159 isBetterCandidate(int direction, Rect source, Rect rect1, Rect rect2) argument 198 beamBeats(int direction, Rect source, Rect rect1, Rect rect2) argument 248 isCandidate(Rect srcRect, Rect destRect, int direction) argument 275 beamsOverlap(int direction, Rect rect1, Rect rect2) argument 291 isToDirectionOf(int direction, Rect src, Rect dest) argument 311 majorAxisDistance(int direction, Rect source, Rect dest) argument 315 majorAxisDistanceRaw(int direction, Rect source, Rect dest) argument 336 majorAxisDistanceToFarEdge(int direction, Rect source, Rect dest) argument 340 majorAxisDistanceToFarEdgeRaw(int direction, Rect source, Rect dest) argument 363 minorAxisDistance(int direction, Rect source, Rect dest) argument 393 findNearestTouchable(ViewGroup root, int x, int y, int direction, int[] deltas) argument 466 isTouchCandidate(int x, int y, Rect destRect, int direction) argument [all...] |
H A D | ViewParent.java | 120 * Find the nearest view in the specified direction that wants to take focus 123 * @param direction One of FOCUS_UP, FOCUS_DOWN, FOCUS_LEFT, and FOCUS_RIGHT 125 public View focusSearch(View v, int direction); argument
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | EmbossMaskFilter.java | 23 * @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/media/libstagefright/codecs/aacdec/ |
H A D | s_tnsfilt.h | 118 Int direction; member in struct:__anon305
|
H A D | tns_inv_filter.cpp | 54 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 D | tns_ar_filter.cpp | 79 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/base/core/java/android/text/method/ |
H A D | TransformationMethod.java | 44 boolean focused, int direction, 43 onFocusChanged(View view, CharSequence sourceText, boolean focused, int direction, Rect previouslyFocusedRect) argument
|
H A D | MovementMethod.java | 37 public void onTakeFocus(TextView widget, Spannable text, int direction); argument
|
H A D | ReplacementTransformationMethod.java | 103 boolean focused, int direction, 102 onFocusChanged(View view, CharSequence sourceText, boolean focused, int direction, Rect previouslyFocusedRect) argument
|
H A D | PasswordTransformationMethod.java | 121 boolean focused, int direction, 120 onFocusChanged(View view, CharSequence sourceText, boolean focused, int direction, Rect previouslyFocusedRect) argument
|
/frameworks/base/tools/aidl/ |
H A D | aidl_language_y.y | 222 direction type IDENTIFIER { 225 arg->direction = $1.buffer; 251 direction: label
|
/frameworks/base/core/java/android/text/ |
H A D | Styled.java | 37 * Neither should the run direction change in the middle of the run. 48 * direction is right-to-left. 235 * direction is right-to-left. 332 * direction and run direction can be different. 344 // TODO: this needs the real direction 379 * @param direction The direction of the text. This must be 394 int direction, 400 direction 392 drawText(Canvas canvas, CharSequence text, int start, int end, int direction, float x, int top, int y, int bottom, TextPaint paint, TextPaint workPaint, boolean needWidth) argument [all...] |
H A D | Selection.java | 377 private static int chooseHorizontal(Layout layout, int direction, argument 383 // same line, so it goes by pure physical direction 388 if (direction < 0) { 413 if (textdir == direction)
|
/frameworks/base/core/java/android/widget/ |
H A D | ZoomButton.java | 95 public boolean dispatchUnhandledMove(View focused, int direction) { argument 97 return super.dispatchUnhandledMove(focused, direction);
|
H A D | DialerFilter.java | 105 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { argument 106 super.onFocusChanged(focused, direction, previouslyFocusedRect);
|
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
H A D | VerticalFocusSearchTest.java | 49 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 D | ThrottleManager.java | 148 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 D | MaskFilter.cpp | 28 SkScalar direction[3]; local 33 direction[i] = SkFloatToScalar(values[i]); 36 SkMaskFilter* filter = SkBlurMaskFilter::CreateEmboss(direction,
|
/frameworks/base/telephony/java/android/telephony/ |
H A D | PhoneStateListener.java | 128 * Listen for changes to the direction of data traffic on the data 238 public void onDataActivity(int direction) { argument 291 public void onDataActivity(int direction) { 292 Message.obtain(mHandler, LISTEN_DATA_ACTIVITY, direction, 0, null).sendToTarget();
|
/frameworks/base/core/java/android/view/animation/ |
H A D | GridLayoutAnimationController.java | 34 * 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...] |
/frameworks/base/core/tests/coretests/src/android/util/ |
H A D | InternalSelectionView.java | 233 protected void onFocusChanged(boolean focused, int direction, argument 235 super.onFocusChanged(focused, direction, previouslyFocusedRect); 238 switch (direction) {
|
/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | FocusFinderTest.java | 381 * (majorAxisDistance was wrong for direction left) 476 private void assertBeamsOverlap(int direction, Rect rect1, Rect rect2) { argument 477 String directionStr = validateAndGetStringFor(direction); 478 String assertMsg = String.format("Expected beams to overlap in direction %s " 480 assertTrue(assertMsg, mFocusFinder.beamsOverlap(direction, rect1, rect2)); 483 private void assertBeamsDontOverlap(int direction, Rect rect1, Rect rect2) { argument 484 String directionStr = validateAndGetStringFor(direction); 485 String assertMsg = String.format("Expected beams not to overlap in direction %s " 487 assertFalse(assertMsg, mFocusFinder.beamsOverlap(direction, rect1, rect2)); 493 * @param direction Th 498 assertBetterCandidate(int direction, Rect srcRect, Rect expectedBetter, Rect expectedWorse) argument 523 assertIsNotCandidate(int direction, Rect src, Rect dest) argument 533 assertBeamBeats(int direction, Rect srcRect, Rect rect1, Rect rect2) argument 544 assertDirectionIsCandidate(int direction, Rect src, Rect dest) argument 554 validateAndGetStringFor(int direction) argument [all...] |
/frameworks/base/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | vlc_dequant.cpp | 71 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...] |