/frameworks/base/core/java/android/view/ |
H A D | ViewParent.java | 141 * Find the nearest view in the specified direction that wants to take focus 144 * @param direction One of FOCUS_UP, FOCUS_DOWN, FOCUS_LEFT, and FOCUS_RIGHT 146 public View focusSearch(View v, int direction); argument 329 * Tells if this view parent can resolve the layout direction. 332 * @return True if this view parent can resolve the layout direction. 337 * Tells if this view parent layout direction is resolved. 340 * @return True if this view parent layout direction is resolved. 345 * Return this view parent layout direction. See {@link View#getLayoutDirection()} 347 * @return {@link View#LAYOUT_DIRECTION_RTL} if the layout direction is RTL or returns 348 * {@link View#LAYOUT_DIRECTION_LTR} if the layout direction i [all...] |
/frameworks/base/core/tests/coretests/src/android/util/ |
H A D | InternalSelectionView.java | 241 protected void onFocusChanged(boolean focused, int direction, argument 243 super.onFocusChanged(focused, direction, previouslyFocusedRect); 246 switch (direction) {
|
/frameworks/base/telephony/java/android/telephony/ |
H A D | PhoneStateListener.java | 138 * Listen for changes to the direction of data traffic on the data 417 public void onDataActivity(int direction) { argument 541 public void onDataActivity(int direction) { 542 Message.obtain(mHandler, LISTEN_DATA_ACTIVITY, direction, 0, null).sendToTarget();
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | GridLayoutManager.java | 231 * The fixed size of each grid item in the secondary direction. This corresponds to 233 * in the primary direction. 262 * Margin in main direction. 266 * Margin in second direction. 270 * How to position child in secondary direction. 1669 // scroll in main direction may add/prune views 1721 // scroll in second direction will not add/prune views 1900 final int direction = targetPosition < firstChildPos ? -1 : 1; 1902 return new PointF(direction, 0); 1904 return new PointF(0, direction); 2286 onInterceptFocusSearch(View focused, int direction) argument 2314 onAddFocusables(RecyclerView recyclerView, ArrayList<View> views, int direction, int focusableMode) argument 2401 onFocusSearchFailed(View focused, int direction, Recycler recycler, RecyclerView.State state) argument 2459 gridOnRequestFocusInDescendants(RecyclerView recyclerView, int direction, Rect previouslyFocusedRect) argument 2473 gridOnRequestFocusInDescendantsAligned(RecyclerView recyclerView, int direction, Rect previouslyFocusedRect) argument 2486 gridOnRequestFocusInDescendantsUnaligned(RecyclerView recyclerView, int direction, Rect previouslyFocusedRect) argument 2522 getMovement(int direction) argument [all...] |
H A D | BaseGridView.java | 489 public boolean onRequestFocusInDescendants(int direction, Rect previouslyFocusedRect) { argument 490 return mLayoutManager.gridOnRequestFocusInDescendants(this, direction, 674 * in the direction of orientation. 1.0 disables over reach.
|
/frameworks/base/core/java/android/widget/ |
H A D | GridView.java | 1762 * @param direction either {@link View#FOCUS_UP} or {@link View#FOCUS_DOWN} 1765 boolean pageScroll(int direction) { argument 1768 if (direction == FOCUS_UP) { 1770 } else if (direction == FOCUS_DOWN) { 1787 * @param direction either {@link View#FOCUS_UP} or {@link View#FOCUS_DOWN}. 1791 boolean fullScroll(int direction) { argument 1793 if (direction == FOCUS_UP) { 1798 } else if (direction == FOCUS_DOWN) { 1815 * @param direction either {@link View#FOCUS_LEFT}, {@link View#FOCUS_RIGHT}, 1820 boolean arrowScroll(int direction) { argument 1885 sequenceScroll(int direction) argument 1940 onFocusChanged(boolean gainFocus, int direction, Rect previouslyFocusedRect) argument 1985 isCandidateSelection(int childIndex, int direction) argument [all...] |
/frameworks/base/tools/aidl/ |
H A D | aidl.cpp | 78 convert_direction(const char* direction) argument 80 if (direction == NULL) { 83 if (0 == strcmp(direction, "in")) { 86 if (0 == strcmp(direction, "out")) { 486 && convert_direction(arg->direction.data) != IN_PARAMETER) { 494 if (arg->direction.data == NULL 504 if (convert_direction(arg->direction.data) != IN_PARAMETER 510 arg->direction.data, arg->type.type.data, 518 m->type.array_token.lineno, index, arg->direction.data, 527 m->type.array_token.lineno, index, arg->direction [all...] |
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
H A D | BrowseFragment.java | 523 public View onFocusSearch(View focused, int direction) { 530 if (DEBUG) Log.v(TAG, "onFocusSearch focused " + focused + " + direction " + direction); 531 if (direction == View.FOCUS_LEFT) { 536 } else if (direction == View.FOCUS_RIGHT) { 541 } else if (focused == searchOrbView && direction == View.FOCUS_DOWN) { 546 && direction == View.FOCUS_UP) { 559 public boolean onRequestFocusInDescendants(int direction, Rect previouslyFocusedRect) { 562 if (mHeadersFragment.getView().requestFocus(direction, previouslyFocusedRect)) { 566 if (mRowsFragment.getView().requestFocus(direction, previouslyFocusedRec [all...] |
/frameworks/base/media/java/android/media/session/ |
H A D | MediaSessionLegacyHelper.java | 192 int direction = 0; 195 direction = AudioManager.ADJUST_RAISE; 198 direction = AudioManager.ADJUST_LOWER; 204 if ((down || up) && direction != 0) { 208 direction = 0; 224 direction, flags);
|
H A D | MediaSessionManager.java | 280 * most relevant audio stream or media session. The direction must be one of 286 * @param direction The direction to adjust volume in. 290 public void dispatchAdjustVolume(int suggestedStream, int direction, int flags) { argument 292 mService.dispatchAdjustVolume(suggestedStream, direction, flags);
|
/frameworks/base/media/java/android/media/ |
H A D | AudioService.java | 456 // previous volume adjustment direction received by checkForRingerModeChange() 937 public void adjustSuggestedStreamVolume(int direction, int suggestedStreamType, int flags, argument 939 adjustSuggestedStreamVolume(direction, suggestedStreamType, flags, callingPackage, 943 private void adjustSuggestedStreamVolume(int direction, int suggestedStreamType, int flags, argument 963 direction = 0; 969 adjustStreamVolume(streamType, direction, flags, callingPackage, uid); 973 public void adjustStreamVolume(int streamType, int direction, int flags, argument 975 adjustStreamVolume(streamType, direction, flags, callingPackage, Binder.getCallingUid()); 978 private void adjustStreamVolume(int streamType, int direction, int flags, argument 983 if (DEBUG_VOL) Log.d(TAG, "adjustStreamVolume() stream="+streamType+", dir="+direction 1327 findVolumeDelta(int direction, int volume) argument 2952 checkForRingerModeChange(int oldIndex, int direction, int step) argument 3081 ensureValidDirection(int direction) argument 5581 adjustSuggestedStreamVolumeForUid(int streamType, int direction, int flags, String callingPackage, int uid) argument 5589 adjustStreamVolumeForUid(int streamType, int direction, int flags, String callingPackage, int uid) argument 5595 setStreamVolumeForUid(int streamType, int direction, int flags, String callingPackage, int uid) argument [all...] |
H A D | MediaRouter.java | 464 void requestUpdateVolume(RouteInfo route, int direction) { argument 468 route.mGlobalRouteId, direction); 1775 * @param direction Delta to apply to the current volume 1777 public void requestUpdateVolume(int direction) { argument 1781 Math.max(0, Math.min(getVolume() + direction, getVolumeMax())); 1788 sStatic.requestUpdateVolume(this, direction); 1945 public void dispatchRemoteVolumeUpdate(final int direction, final int value) { 1950 if (direction != 0) { 1951 mVcb.vcb.onVolumeUpdateRequest(mVcb.route, direction); 2155 public void requestUpdateVolume(int direction) { argument 2251 onAdjustVolume(final int direction) argument 2421 requestUpdateVolume(int direction) argument 2836 onVolumeUpdateRequest(RouteInfo info, int direction) argument [all...] |
H A D | AudioManager.java | 747 * Adjusts the volume of a particular stream by one step in a direction. 755 * @param direction The direction to adjust the volume. One of 762 public void adjustStreamVolume(int streamType, int direction, int flags) { argument 766 service.adjustMasterVolume(direction, flags, mContext.getOpPackageName()); 768 service.adjustStreamVolume(streamType, direction, flags, 786 * @param direction The direction to adjust the volume. One of 795 public void adjustVolume(int direction, int flags) { argument 799 service.adjustMasterVolume(direction, flag 829 adjustSuggestedStreamVolume(int direction, int suggestedStreamType, int flags) argument [all...] |
/frameworks/base/core/java/android/text/ |
H A D | Selection.java | 424 private static int chooseHorizontal(Layout layout, int direction, argument 430 // same line, so it goes by pure physical direction 435 if (direction < 0) { 460 if (textdir == direction)
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
H A D | RecentApplicationsDialog.java | 149 final int direction = backward ? View.FOCUS_BACKWARD : View.FOCUS_FORWARD; 150 if (mIcons[nextFocus].requestFocus(direction)) { 152 SoundEffectConstants.getContantForFocusDirection(direction));
|
/frameworks/support/v4/java/android/support/v4/view/ |
H A D | ViewCompat.java | 208 * Horizontal layout direction of this view is from Left to Right. 213 * Horizontal layout direction of this view is from Right to Left. 218 * Horizontal layout direction of this view is inherited from its parent. 224 * Horizontal layout direction of this view is from deduced from the default language 257 public boolean canScrollHorizontally(View v, int direction); argument 258 public boolean canScrollVertically(View v, int direction); argument 344 public boolean canScrollHorizontally(View v, int direction) { argument 347 public boolean canScrollVertically(View v, int direction) { argument 902 public boolean canScrollHorizontally(View v, int direction) { argument 903 return ViewCompatICS.canScrollHorizontally(v, direction); 906 canScrollVertically(View v, int direction) argument 1180 canScrollHorizontally(View v, int direction) argument 1191 canScrollVertically(View v, int direction) argument [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | dcac_prediction.cpp | 32 int *direction 73 // int *direction; /* 0: HORIZONTAL, 1: VERTICAL */ 100 /* Find the direction of prediction and the DC prediction */ 139 *direction = 1; 168 *direction = 0; 244 // int *direction; /* 0: HORIZONTAL, 1: VERTICAL */ 259 /* Find the direction of prediction and the DC prediction */ 321 if (video->mblock->direction == 1)
|
/frameworks/base/services/core/java/com/android/server/input/ |
H A D | PersistentDataStore.java | 154 public boolean switchKeyboardLayout(String inputDeviceDescriptor, int direction) { argument 156 if (state != null && state.switchKeyboardLayout(direction)) { 390 public boolean switchKeyboardLayout(int direction) { argument 397 if (direction > 0) {
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
H A D | StatusBar.java | 44 public StatusBar(Context context, Density density, int direction, boolean RtlEnabled, argument 46 // FIXME: if direction is RTL but it's not enabled in application manifest, mirror this bar.
|
/frameworks/base/core/java/android/webkit/ |
H A D | WebViewProvider.java | 334 public void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect); argument 352 public boolean requestFocus(int direction, Rect previouslyFocusedRect); argument
|
H A D | WebView.java | 1536 * @param forward the direction to search 2056 public boolean super_requestFocus(int direction, Rect previouslyFocusedRect) { argument 2057 return WebView.super.requestFocus(direction, previouslyFocusedRect); 2418 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { argument 2419 mProvider.getViewDelegate().onFocusChanged(focused, direction, previouslyFocusedRect); 2420 super.onFocusChanged(focused, direction, previouslyFocusedRect); 2447 public boolean requestFocus(int direction, Rect previouslyFocusedRect) { argument 2448 return mProvider.getViewDelegate().requestFocus(direction, previouslyFocusedRect);
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
H A D | KeyguardAccountView.java | 126 protected boolean onRequestFocusInDescendants(int direction, argument 129 return mLogin.requestFocus(direction, previouslyFocusedRect);
|
H A D | KeyguardPasswordView.java | 181 protected boolean onRequestFocusInDescendants(int direction, Rect previouslyFocusedRect) { argument 183 return mPasswordEntry.requestFocus(direction, previouslyFocusedRect);
|
/frameworks/support/v4/jellybean/android/support/v4/media/routing/ |
H A D | MediaRouterJellybean.java | 167 public static void requestUpdateVolume(Object routeObj, int direction) { argument 168 ((android.media.MediaRouter.RouteInfo)routeObj).requestUpdateVolume(direction); 272 public void onVolumeUpdateRequest(Object routeObj, int direction); argument 438 int direction) { 439 mCallback.onVolumeUpdateRequest(route, direction); 437 onVolumeUpdateRequest(android.media.MediaRouter.RouteInfo route, int direction) argument
|
/frameworks/support/v7/mediarouter/jellybean/android/support/v7/media/ |
H A D | MediaRouterJellybean.java | 167 public static void requestUpdateVolume(Object routeObj, int direction) { argument 168 ((android.media.MediaRouter.RouteInfo)routeObj).requestUpdateVolume(direction); 272 public void onVolumeUpdateRequest(Object routeObj, int direction); argument 438 int direction) { 439 mCallback.onVolumeUpdateRequest(route, direction); 437 onVolumeUpdateRequest(android.media.MediaRouter.RouteInfo route, int direction) argument
|