Home
last modified time | relevance | path

Searched refs:rv (Results 1 – 25 of 43) sorted by relevance

12

/packages/apps/DeskClock/src/com/android/alarmclock/
DDigitalAppWidgetCityViewsFactory.java116 final RemoteViews rv = in getViewAt()
121 update(rv, left, R.id.left_clock, R.id.city_name_left, R.id.city_day_left); in getViewAt()
123 hide(rv, R.id.left_clock, R.id.city_name_left, R.id.city_day_left); in getViewAt()
128 update(rv, right, R.id.right_clock, R.id.city_name_right, R.id.city_day_right); in getViewAt()
130 hide(rv, R.id.right_clock, R.id.city_name_right, R.id.city_day_right); in getViewAt()
135 rv.setViewVisibility(R.id.city_spacer, lastRow ? View.GONE : View.VISIBLE); in getViewAt()
137 rv.setOnClickFillInIntent(R.id.widget_item, mFillInIntent); in getViewAt()
138 return rv; in getViewAt()
180 private void update(RemoteViews rv, City city, int clockId, int labelId, int dayId) {
181 rv.setCharSequence(clockId, "setFormat12Hour", Utils.get12ModeFormat(0.4f, false));
[all …]
DDigitalAppWidgetProvider.java208 final RemoteViews rv = new RemoteViews(packageName, R.layout.digital_widget); in relayoutWidget() local
214 rv.setOnClickPendingIntent(R.id.digital_widget, pi); in relayoutWidget()
219 rv.setCharSequence(R.id.date, "setFormat12Hour", dateFormat); in relayoutWidget()
220 rv.setCharSequence(R.id.date, "setFormat24Hour", dateFormat); in relayoutWidget()
224 rv.setViewVisibility(R.id.nextAlarm, GONE); in relayoutWidget()
225 rv.setViewVisibility(R.id.nextAlarmIcon, GONE); in relayoutWidget()
227 rv.setTextViewText(R.id.nextAlarm, nextAlarmTime); in relayoutWidget()
228 rv.setViewVisibility(R.id.nextAlarm, VISIBLE); in relayoutWidget()
229 rv.setViewVisibility(R.id.nextAlarmIcon, VISIBLE); in relayoutWidget()
258 rv.setImageViewBitmap(R.id.nextAlarmIcon, sizes.mIconBitmap); in relayoutWidget()
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DRefreshHelper.java40 private boolean onInterceptTouchEvent(RecyclerView rv, MotionEvent e) { in onInterceptTouchEvent() argument
48 if (Events.isActionDown(e) && rv.computeVerticalScrollOffset() != 0) { in onInterceptTouchEvent()
60 private void onTouchEvent(RecyclerView rv, MotionEvent e) { in onTouchEvent() argument
72 public void onTouchEvent(RecyclerView rv, MotionEvent e) { in attach()
73 RefreshHelper.this.onTouchEvent(rv, e); in attach()
77 public boolean onInterceptTouchEvent(RecyclerView rv, MotionEvent e) { in attach()
78 return RefreshHelper.this.onInterceptTouchEvent(rv, e); in attach()
DScaleHelper.java54 private boolean onInterceptTouchEvent(RecyclerView rv, MotionEvent e) { in onInterceptTouchEvent() argument
83 public boolean onInterceptTouchEvent(RecyclerView rv, MotionEvent e) { in attach()
84 return ScaleHelper.this.onInterceptTouchEvent(rv, e); in attach()
88 public void onTouchEvent(RecyclerView rv, MotionEvent e) {} in attach()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/
DFallbackActivityControllerHelper.java125 FallbackRecentsView rv = activity.getOverviewPanel();
126 rv.setContentAlpha(0);
127 rv.getClearAllButton().setVisibilityAlpha(0);
128 rv.setDisallowScrollToClearAll(true);
131 rv.setInOverviewState(fromState);
141 rv.setContentAlpha(1);
151 ObjectAnimator anim = ObjectAnimator.ofFloat(rv, CONTENT_ALPHA, 0, 1);
156 ObjectAnimator anim = ObjectAnimator.ofFloat(rv, ZOOM_PROGRESS, 1, 0);
166 rv.setInOverviewState(controller.getInterpolatedProgress() > 0.5 ?
DOverviewCommandHelper.java103 RecentsView rv = (RecentsView) mHelper.getVisibleRecentsView(); in onTransitionComplete() local
104 if (rv == null) { in onTransitionComplete()
109 TaskView taskView = rv.getNextTaskView(); in onTransitionComplete()
111 if (rv.getTaskViewCount() > 0) { in onTransitionComplete()
112 taskView = (TaskView) rv.getPageAt(0); in onTransitionComplete()
115 rv.requestFocus(); in onTransitionComplete()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAllAppsContainerView.java186 AllAppsRecyclerView rv = getActiveRecyclerView(); in shouldContainerScroll() local
187 if (rv == null) { in shouldContainerScroll()
190 if (rv.getScrollbar().getThumbOffsetY() >= 0 && in shouldContainerScroll()
191 mLauncher.getDragLayer().isEventOverView(rv.getScrollbar(), ev)) { in shouldContainerScroll()
194 return rv.shouldContainerScroll(ev, mLauncher.getDragLayer()); in shouldContainerScroll()
205 AllAppsRecyclerView rv = getActiveRecyclerView(); in onInterceptTouchEvent() local
206 if (rv != null && in onInterceptTouchEvent()
207 rv.getScrollbar().isHitInParent(ev.getX(), ev.getY(), mFastScrollerOffset)) { in onInterceptTouchEvent()
208 mTouchHandler = rv.getScrollbar(); in onInterceptTouchEvent()
464 AllAppsRecyclerView rv = getActiveRecyclerView(); in getScrollBar() local
[all …]
DAllAppsFastScrollHelper.java80 public AllAppsFastScrollHelper(AllAppsRecyclerView rv, AlphabeticalAppsList apps) { in AllAppsFastScrollHelper() argument
81 mRv = rv; in AllAppsFastScrollHelper()
/packages/apps/Launcher3/go/quickstep/src/com/android/quickstep/
DFallbackActivityControllerHelper.java52 IconRecentsView rv = activity.getOverviewPanel(); in prepareRecentsUI() local
53 rv.setUsingRemoteAnimation(true); in prepareRecentsUI()
54 rv.setAlpha(0); in prepareRecentsUI()
64 rv.setAlpha(1); in prepareRecentsUI()
76 ObjectAnimator anim = ObjectAnimator.ofFloat(rv, CONTENT_ALPHA, 0, 1); in prepareRecentsUI()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DConversationFastScroller.java65 public static ConversationFastScroller addTo(RecyclerView rv, int position) { in addTo() argument
67 return new ConversationFastScroller(rv, position); in addTo()
122 private ConversationFastScroller(RecyclerView rv, int position) { in ConversationFastScroller() argument
123 mContext = rv.getContext(); in ConversationFastScroller()
124 mRv = rv; in ConversationFastScroller()
155 mOverlay = rv.getOverlay(); in ConversationFastScroller()
330 public boolean onInterceptTouchEvent(RecyclerView rv, MotionEvent e) { in onInterceptTouchEvent() argument
372 public void onTouchEvent(RecyclerView rv, MotionEvent e) { in onTouchEvent() argument
/packages/apps/Launcher3/
Dfill_screens.py36 rv = os.system("adb pull"
39 if rv != 0:
45 rv = os.system("adb push"
48 if rv != 0:
/packages/apps/Gallery2/jni/filters/
Dhsv.c45 short rv,rs,rh; in rgb2hsv() local
57 rv = (short)( iMax << ABITS); in rgb2hsv()
60 if (rv == 0) in rgb2hsv()
77 hsv[hsvOff+0] = rv; in rgb2hsv()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DWidgetsListAdapter.java80 public void setApplyBitmapDeferred(boolean isDeferred, RecyclerView rv) { in setApplyBitmapDeferred() argument
83 for (int i = rv.getChildCount() - 1; i >= 0; i--) { in setApplyBitmapDeferred()
85 rv.getChildViewHolder(rv.getChildAt(i)); in setApplyBitmapDeferred()
DWidgetsRecyclerView.java152 public boolean onInterceptTouchEvent(RecyclerView rv, MotionEvent e) { in onInterceptTouchEvent() argument
164 public void onTouchEvent(RecyclerView rv, MotionEvent e) { in onTouchEvent() argument
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/touchcontrollers/
DOverviewToAllAppsTouchController.java58 RecentsView rv = mLauncher.getOverviewPanel(); in canInterceptTouch() local
59 return ev.getY() > (rv.getBottom() - rv.getPaddingBottom()); in canInterceptTouch()
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/
DWidgetService.java110 RemoteViews rv = new RemoteViews( in getLoadingView() local
113 rv.setProgressBar(R.id.appwidget_loading_item, 0, 0, true); in getLoadingView()
114 return rv; in getLoadingView()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
Dsaturation.rs111 short rv,rs,rh;
121 rv = (short) (iMax << ABITS);
123 if (rv == 0) {
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/
DDigitalWellBeingToast.java98 RecentsView rv = mTaskView.getRecentsView(); in setLimit() local
99 if (rv != null) { in setLimit()
100 rv.onDigitalWellbeingToastShown(); in setLimit()
/packages/apps/DeskClock/src/com/android/deskclock/
DAlarmRecyclerView.java45 public boolean onInterceptTouchEvent(RecyclerView rv, MotionEvent e) { in AlarmRecyclerView()
47 return rv.getItemAnimator().isRunning(); in AlarmRecyclerView()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/util/
DClipAnimationHelper.java255 public void fromTaskThumbnailView(TaskThumbnailView ttv, RecentsView rv) { in fromTaskThumbnailView() argument
256 fromTaskThumbnailView(ttv, rv, null); in fromTaskThumbnailView()
259 public void fromTaskThumbnailView(TaskThumbnailView ttv, RecentsView rv, in fromTaskThumbnailView() argument
271 } else if (rv.shouldUseMultiWindowTaskSizeStrategy()) { in fromTaskThumbnailView()
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
DLapsAdapter.java127 void updateCurrentLap(RecyclerView rv, long totalTime) { in updateCurrentLap() argument
133 final View currentLapView = rv.getChildAt(0); in updateCurrentLap()
138 final LapItemHolder holder = (LapItemHolder) rv.getChildViewHolder(currentLapView); in updateCurrentLap()
/packages/services/Car/car-lib/src/android/car/
DCarProjectionManager.java301 Set<Integer> rv = new ArraySet<>(Integer.bitCount(voiceSearchFilter)); in translateVoiceSearchFilter() local
304 rv.add(KEY_EVENT_VOICE_SEARCH_SHORT_PRESS_KEY_UP); in translateVoiceSearchFilter()
307 rv.add(KEY_EVENT_VOICE_SEARCH_LONG_PRESS_KEY_DOWN); in translateVoiceSearchFilter()
309 return rv; in translateVoiceSearchFilter()
/packages/apps/Settings/src/com/android/settings/localepicker/
DLocaleDragAndDropAdapter.java139 public void setRecyclerView(RecyclerView rv) { in setRecyclerView() argument
140 mParentView = rv; in setRecyclerView()
141 mItemTouchHelper.attachToRecyclerView(rv); in setRecyclerView()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/localepicker/
DLocaleDragAndDropAdapter.java139 public void setRecyclerView(RecyclerView rv) { in setRecyclerView() argument
140 mParentView = rv; in setRecyclerView()
141 mItemTouchHelper.attachToRecyclerView(rv); in setRecyclerView()
/packages/apps/Launcher3/src/com/android/launcher3/settings/
DPreferenceHighlighter.java70 public PreferenceHighlighter(RecyclerView rv, int index) { in PreferenceHighlighter() argument
71 mRv = rv; in PreferenceHighlighter()

12