Searched defs:direction (Results 76 - 100 of 107) sorted by relevance

12345

/frameworks/base/media/java/android/media/session/
H A DMediaSession.java571 private void dispatchAdjustVolume(int direction) { argument
572 postToCallback(CallbackMessageHandler.MSG_ADJUST_VOLUME, direction);
1027 public void onAdjustVolume(int direction) { argument
1030 session.dispatchAdjustVolume(direction);
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DSlidingChallengeLayout.java1007 protected boolean onRequestFocusInDescendants(int direction, Rect previouslyFocusedRect) { argument
1010 mChallengeView.requestFocus(direction, previouslyFocusedRect)) {
1013 return super.onRequestFocusInDescendants(direction, previouslyFocusedRect);
H A DPagedView.java972 protected boolean onRequestFocusInDescendants(int direction, Rect previouslyFocusedRect) { argument
981 return v.requestFocus(direction, previouslyFocusedRect);
987 public boolean dispatchUnhandledMove(View focused, int direction) { argument
988 if (direction == View.FOCUS_LEFT) {
993 } else if (direction == View.FOCUS_RIGHT) {
999 return super.dispatchUnhandledMove(focused, direction);
1003 public void addFocusables(ArrayList<View> views, int direction, int focusableMode) { argument
1005 getPageAt(mCurrentPage).addFocusables(views, direction, focusableMode);
1007 if (direction == View.FOCUS_LEFT) {
1009 getPageAt(mCurrentPage - 1).addFocusables(views, direction, focusableMod
[all...]
/frameworks/base/services/core/java/com/android/server/media/
H A DMediaRouterService.java240 public void requestUpdateVolume(IMediaRouterClient client, String routeId, int direction) { argument
251 requestUpdateVolumeLocked(client, routeId, direction);
423 String routeId, int direction) {
428 UserHandler.MSG_REQUEST_UPDATE_VOLUME, direction, 0, routeId).sendToTarget();
818 private void requestUpdateVolume(String routeId, int direction) { argument
821 mGloballySelectedRouteRecord.getProvider().adjustDisplayVolume(direction);
422 requestUpdateVolumeLocked(IMediaRouterClient client, String routeId, int direction) argument
H A DMediaSessionRecord.java236 * @param direction The direction to adjust volume in.
243 public void adjustVolume(int direction, int flags, String packageName, int uid, argument
249 boolean isMute = direction == MediaSessionManager.DIRECTION_MUTE;
250 if (direction > 1) {
251 direction = 1;
252 } else if (direction < -1) {
253 direction = -1;
264 mAudioManagerInternal.adjustMasterVolumeForUid(direction, flags, packageName,
280 mAudioManagerInternal.adjustSuggestedStreamVolumeForUid(stream, direction,
1006 adjustVolume(int direction) argument
1113 adjustVolume(int direction, int flags, String packageName) argument
[all...]
/frameworks/support/v4/java/android/support/v4/media/session/
H A DMediaSessionCompat.java1327 private void adjustVolume(int direction, int flags) { argument
1330 mVolumeProvider.onAdjustVolume(direction);
1333 mAudioManager.adjustStreamVolume(direction, mLocalStream, flags);
1557 public void adjustVolume(int direction, int flags, String packageName) { argument
1558 MediaSessionImplBase.this.adjustVolume(direction, flags);
/frameworks/support/v4/java/android/support/v4/view/
H A DViewCompat.java209 * Horizontal layout direction of this view is from Left to Right.
214 * Horizontal layout direction of this view is from Right to Left.
219 * Horizontal layout direction of this view is inherited from its parent.
225 * Horizontal layout direction of this view is from deduced from the default language
258 public boolean canScrollHorizontally(View v, int direction); argument
259 public boolean canScrollVertically(View v, int direction); argument
349 public boolean canScrollHorizontally(View v, int direction) { argument
352 public boolean canScrollVertically(View v, int direction) { argument
935 public boolean canScrollHorizontally(View v, int direction) { argument
936 return ViewCompatICS.canScrollHorizontally(v, direction);
939 canScrollVertically(View v, int direction) argument
1225 canScrollHorizontally(View v, int direction) argument
1236 canScrollVertically(View v, int direction) argument
[all...]
H A DViewPager.java1865 // direction to be counted as a drag... abort
2428 public boolean canScrollHorizontally(int direction) { argument
2435 if (direction < 0) {
2437 } else if (direction > 0) {
2518 public boolean arrowScroll(int direction) { argument
2548 direction);
2550 if (direction == View.FOCUS_LEFT) {
2560 } else if (direction == View.FOCUS_RIGHT) {
2571 } else if (direction == FOCUS_LEFT || direction
2630 addFocusables(ArrayList<View> views, int direction, int focusableMode) argument
2693 onRequestFocusInDescendants(int direction, Rect previouslyFocusedRect) argument
[all...]
/frameworks/support/v4/java/android/support/v4/view/accessibility/
H A DAccessibilityNodeInfoCompat.java197 public Object focusSearch(Object info, int direction); argument
586 public Object focusSearch(Object info, int direction) { argument
986 public Object focusSearch(Object info, int direction) { argument
987 return AccessibilityNodeInfoCompatJellyBean.focusSearch(info, direction);
1695 * Searches for the nearest view in the specified direction that can take
1698 * @param direction The direction. Can be one of:
1708 public AccessibilityNodeInfoCompat focusSearch(int direction) { argument
1709 return AccessibilityNodeInfoCompat.wrapNonNullInstance(IMPL.focusSearch(mInfo, direction));
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DSearchView.java480 public boolean requestFocus(int direction, Rect previouslyFocusedRect) { argument
487 boolean result = mQueryTextView.requestFocus(direction, previouslyFocusedRect);
493 return super.requestFocus(direction, previouslyFocusedRect);
1683 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { argument
1684 super.onFocusChanged(focused, direction, previouslyFocusedRect);
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
H A DMediaRouter.java2315 public void onAdjustVolume(final int direction) {
2320 mSelectedRoute.requestUpdateVolume(direction);
2373 public void onVolumeUpdateRequest(int direction) { argument
2375 mSelectedRoute.requestUpdateVolume(direction);
/frameworks/base/core/java/android/view/
H A DWindowManagerPolicy.java414 public void switchKeyboardLayout(int deviceId, int direction); argument
H A DViewGroup.java633 void handleFocusGainInternal(int direction, Rect previouslyFocusedRect) { argument
638 super.handleFocusGainInternal(direction, previouslyFocusedRect);
704 * Find the nearest view in the specified direction that wants to take
708 * @param direction One of FOCUS_UP, FOCUS_DOWN, FOCUS_LEFT, and
711 public View focusSearch(View focused, int direction) { argument
716 return FocusFinder.getInstance().findNextFocus(this, focused, direction);
718 return mParent.focusSearch(focused, direction);
810 public boolean dispatchUnhandledMove(View focused, int direction) { argument
812 mFocused.dispatchUnhandledMove(focused, direction);
948 public void addFocusables(ArrayList<View> views, int direction, in argument
2588 requestFocus(int direction, Rect previouslyFocusedRect) argument
2625 onRequestFocusInDescendants(int direction, Rect previouslyFocusedRect) argument
[all...]
/frameworks/base/media/java/android/media/
H A DMediaRouter.java464 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 DAudioManager.java807 * Adjusts the volume of a particular stream by one step in a direction.
815 * @param direction The direction to adjust the volume. One of
822 public void adjustStreamVolume(int streamType, int direction, int flags) { argument
826 service.adjustMasterVolume(direction, flags, mContext.getOpPackageName());
828 service.adjustStreamVolume(streamType, direction, flags,
846 * @param direction The direction to adjust the volume. One of
855 public void adjustVolume(int direction, int flags) { argument
859 service.adjustMasterVolume(direction, flag
889 adjustSuggestedStreamVolume(int direction, int suggestedStreamType, int flags) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DNetworkControllerImpl.java1424 public void onDataActivity(int direction) { argument
1426 Log.d(mTag, "onDataActivity: direction=" + direction);
1428 setActivity(direction);
/frameworks/base/services/core/java/com/android/server/input/
H A DInputManagerService.java1131 public void switchKeyboardLayout(int deviceId, int direction) { argument
1132 mHandler.obtainMessage(MSG_SWITCH_KEYBOARD_LAYOUT, deviceId, direction).sendToTarget();
1136 private void handleSwitchKeyboardLayout(int deviceId, int direction) { argument
1145 changed = mDataStore.switchKeyboardLayout(key, direction);
/frameworks/opt/chips/src/com/android/ex/chips/
H A DRecipientEditTextView.java464 public void onFocusChanged(boolean hasFocus, int direction, Rect previous) { argument
465 super.onFocusChanged(hasFocus, direction, previous);
713 * the layout direction is LTR or RTL.
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DGridLayoutManager.java181 * quantity that changes direction in RTL cases, or a quantity that
255 * The fixed size of each grid item in the secondary direction. This corresponds to
257 * in the primary direction.
286 * Margin in main direction.
290 * Margin in second direction.
294 * How to position child in secondary direction.
1778 // scroll in main direction may add/prune views
1850 // scroll in second direction will not add/prune views
2051 // TODO We should be able to deduce direction from bounds of current and target focus,
2054 final int direction
2455 onInterceptFocusSearch(View focused, int direction) argument
2483 onAddFocusables(RecyclerView recyclerView, ArrayList<View> views, int direction, int focusableMode) argument
2570 onFocusSearchFailed(View focused, int direction, Recycler recycler, RecyclerView.State state) argument
2629 gridOnRequestFocusInDescendants(RecyclerView recyclerView, int direction, Rect previouslyFocusedRect) argument
2643 gridOnRequestFocusInDescendantsAligned(RecyclerView recyclerView, int direction, Rect previouslyFocusedRect) argument
2656 gridOnRequestFocusInDescendantsUnaligned(RecyclerView recyclerView, int direction, Rect previouslyFocusedRect) argument
2692 getMovement(int direction) argument
[all...]
/frameworks/webview/chromium/java/com/android/webview/chromium/
H A DWebViewChromium.java1853 public void onFocusChanged(final boolean focused, final int direction, argument
1859 onFocusChanged(focused, direction, previouslyFocusedRect);
1864 mAwContents.onFocusChanged(focused, direction, previouslyFocusedRect);
1957 public boolean requestFocus(final int direction, final Rect previouslyFocusedRect) { argument
1963 return requestFocus(direction, previouslyFocusedRect);
1969 return mWebViewPrivate.super_requestFocus(direction, previouslyFocusedRect);
/frameworks/base/core/java/android/view/accessibility/
H A DAccessibilityNodeInfo.java653 * Searches for the nearest view in the specified direction that can take
656 * @param direction The direction. Can be one of:
666 public AccessibilityNodeInfo focusSearch(int direction) { argument
668 enforceValidFocusDirection(direction);
673 mSourceNodeId, direction);
2440 private void enforceValidFocusDirection(int direction) { argument
2441 switch (direction) {
2450 throw new IllegalArgumentException("Unknown direction: " + direction);
[all...]
/frameworks/base/core/java/android/webkit/
H A DWebView.java1542 * @param forward the direction to search
2065 public boolean super_requestFocus(int direction, Rect previouslyFocusedRect) { argument
2066 return WebView.super.requestFocus(direction, previouslyFocusedRect);
2427 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { argument
2428 mProvider.getViewDelegate().onFocusChanged(focused, direction, previouslyFocusedRect);
2429 super.onFocusChanged(focused, direction, previouslyFocusedRect);
2456 public boolean requestFocus(int direction, Rect previouslyFocusedRect) { argument
2457 return mProvider.getViewDelegate().requestFocus(direction, previouslyFocusedRect);
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
H A DAccessibilityManagerService.java2402 int direction, int interactionId,
2438 connection.focusSearch(accessibilityNodeId, direction, partialInteractiveRegion,
2401 focusSearch(int accessibilityWindowId, long accessibilityNodeId, int direction, int interactionId, IAccessibilityInteractionConnectionCallback callback, long interrogatingTid) argument
/frameworks/base/core/java/android/widget/
H A DAbsListView.java508 * How many positions in either direction we will search to try to
1961 protected void onFocusChanged(boolean gainFocus, int direction, Rect previouslyFocusedRect) { argument
1962 super.onFocusChanged(gainFocus, direction, previouslyFocusedRect);
4506 // Flip sign to convert finger direction to list items direction
4816 * Check if the items in the list can be scrolled in a certain direction.
4818 * @param direction Negative to check scrolling up, positive to check
4820 * @return true if the list can be scrolled in the specified direction,
4824 public boolean canScrollList(int direction) { argument
4832 if (direction >
5486 getDistance(Rect source, Rect dest, int direction) argument
[all...]
H A DEditor.java903 void onFocusChanged(boolean focused, int direction) { argument
930 mMovement.onTakeFocus(mTextView, (Spannable) mTextView.getText(), direction);

Completed in 613 milliseconds

12345