/packages/apps/Car/libs/car-stream-ui-lib/src/com/android/car/view/ |
H A D | CarLayoutManager.java | 271 * @param dy The amount that the list is supposed to scroll. 282 int dy, @NonNull RecyclerView.Recycler recycler, @NonNull RecyclerView.State state) { 286 return dy; 290 if (getChildCount() <= 1 || dy == 0) { 318 && dy > topRemainingSpace && dy > 0) { 322 dy = topRemainingSpace; 324 } else if (dy < 0 && firstChildPosition == 0 325 && firstChildTopWithMargin + Math.abs(dy) > getPaddingTop()) { 327 dy 281 scrollVerticallyBy( int dy, @NonNull RecyclerView.Recycler recycler, @NonNull RecyclerView.State state) argument [all...] |
/packages/apps/Car/Radio/src/com/android/car/radio/ |
H A D | PresetListScrollListener.java | 55 public void onScrolled(RecyclerView recyclerView, int dx, int dy) { argument
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ui/ |
H A D | ViewAutoScroller.java | 144 public void scrollBy(int dy); argument
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
H A D | ZoomControlWheel.java | 92 double dy = mCenterY - event.getY(); 93 double radius = Math.sqrt(dx * dx + dy * dy); 95 double angle = Math.atan2(dy, dx);
|
H A D | IndicatorControlWheel.java | 260 double dy = mCenterY - event.getY(); 261 double radius = Math.sqrt(dx * dx + dy * dy); 265 double delta = Math.atan2(dy, dx);
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
H A D | OverScroller.java | 353 * @param dy Vertical distance to travel. Positive numbers will scroll the 356 public void startScroll(int startX, int startY, int dx, int dy) { argument 357 startScroll(startX, startY, dx, dy, DEFAULT_DURATION); 369 * @param dy Vertical distance to travel. Positive numbers will scroll the 373 public void startScroll(int startX, int startY, int dx, int dy, int duration) { argument 376 mScrollerY.startScroll(startY, dy, duration); 534 final int dy = mScrollerY.mFinal - mScrollerY.mStart; 536 Math.signum(yvel) == Math.signum(dy); 622 float y, dy; 626 dy [all...] |
/packages/apps/PackageInstaller/src/android/support/wearable/view/ |
H A D | WearableListView.java | 202 public void onScrolled(RecyclerView recyclerView, int dx, int dy) { 203 onScroll(dy); 377 private void onScroll(int dy) { argument 379 listener.onScroll(dy); 1040 public int scrollVerticallyBy(int dy, RecyclerView.Recycler recycler, State state) { argument 1048 if (dy < 0) { 1049 while (scrolled > dy) { 1053 final int scrollBy = Math.min(scrolled - dy, hangingTop); 1056 if (getFirstPosition() > 0 && scrolled > dy) { 1071 final int scrollBy = Math.min(-dy [all...] |
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
H A D | DragHoverListener.java | 101 public void scrollBy(int dy) { 102 scrollView.scrollBy(0, dy);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
H A D | ImageTinyPlanet.java | 87 protected static float angleFor(float dx, float dy) { argument 88 return (float) (Math.atan2(dx, dy) * 180 / Math.PI);
|
H A D | ImageCrop.java | 143 float dy = y - mPrevY; 144 mCropObj.moveCurrentSelection(dx, dy); 292 int[] dy = {delta, -delta, 0, 0}; 298 mCropObj.moveCurrentSelection(dx[i], dy[i]); 299 mCropObj.moveCurrentSelection(-dx[i], -dy[i]);
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
H A D | AllAppsRecyclerView.java | 362 public void onUpdateScrollbar(int dy) { argument 396 if (diffScrollY * dy > 0f) { 402 if (dy < 0) { 403 int offset = (int) ((dy * thumbScrollY) / (float) scrollBarY); 406 int offset = (int) ((dy * (availableScrollBarHeight - thumbScrollY)) / 511 public void onScrolled(RecyclerView recyclerView, int dx, int dy) { argument 519 if (dy < 0 && !canScrollVertically(-1)) { 521 } else if (dy > 0 && !canScrollVertically(1)) {
|
/packages/apps/Gallery/src/com/android/camera/ |
H A D | ImageViewTouchBase.java | 399 protected void postTranslate(float dx, float dy) { argument 400 mSuppMatrix.postTranslate(dx, dy); 403 protected void panBy(float dx, float dy) { argument 404 postTranslate(dx, dy);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | BaseRecyclerView.java | 187 public abstract void onUpdateScrollbar(int dy); argument
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/search/ |
H A D | HeaderElevationController.java | 61 public final void onScrolled(RecyclerView recyclerView, int dx, int dy) { argument
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
H A D | WidgetsRecyclerView.java | 95 public void onUpdateScrollbar(int dy) { argument
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/ |
H A D | Action.java | 167 float dy = (destination.getHeight() - source.getHeight() * scaleFactor) / 2.0f; 170 dy -= mTextSize; 173 m.postTranslate(dx, dy);
|
H A D | IconView.java | 213 float dy = (mBitmapBounds.height() - (mBitmap.getHeight() * scale)) / 2f; 215 dy += mBitmapBounds.top; 217 m.postTranslate(dx, dy);
|
/packages/apps/Gallery2/src/com/android/photos/drawables/ |
H A D | AutoThumbnailDrawable.java | 128 float dx = 0, dy = 0; 141 dy = (vheight - dheight * scale) * 0.5f; 150 mDrawMatrix.postTranslate((int) (dx + 0.5f), (int) (dy + 0.5f));
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/ |
H A D | proximity_info_utils.h | 232 const int dy = y - edgeY; local 233 return dx * dx + dy * dy;
|
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/ |
H A D | db_feature_detection.cpp | 121 /***************dy part 13-24*********************************/ 137 pmullw mm4,mm2 /*27 Multiply dx*dy*/ 138 pmullw mm2,mm2 /*28 Multiply dy*dy*/ 147 movq mm0,mm4 /*37 Copy dx*dy*/ 149 pcmpgtw mm6,mm4 /*38 Create unpack mask for dx*dy*/ 150 punpcklwd mm4,mm6 /*39 Unpack dx*dy lows*/ 152 punpckhwd mm0,mm6 /*40 Unpack dx*dy highs*/ 154 movq [edx+512],mm4 /*41 Store dx*dy lows*/ 155 movq mm5,mm2 /*44 Copy dy*d 221 float dx,dy; local 1476 float dy = (fxx * fy - fxy * fx) / denom; local [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/views/ |
H A D | RecyclerViewFastScroller.java | 146 public void onScrolled(RecyclerView recyclerView, int dx, int dy) { 147 mDy = dy; 153 mRv.onUpdateScrollbar(dy);
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
H A D | DropShadowController.java | 151 public void onScrolled(RecyclerView view, int dx, int dy) { argument
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
H A D | Blend.cpp | 1133 double dy = (m_AllSites[ce->second].getVCenter().y - m_AllSites[ce->first].getVCenter().y); local 1135 double ymid = m_AllSites[ce->first].getVCenter().y + dy/2.0; 1141 if ((inter = m_wb.roundoffOverlap + xmid - dy * (((dy >= 0.0) ? brect.bot : brect.top) - ymid) / dx) < brect.rgt) 1147 if ((inter = -m_wb.roundoffOverlap + xmid - dy * (((dy >= 0.0) ? brect.bot : brect.top) - ymid) / dx) > brect.lft) 1150 if (dy > epsilon) 1153 if ((inter = m_wb.roundoffOverlap + ymid - dx * (((dx >= 0.0) ? brect.lft : brect.rgt) - xmid) / dy) < brect.top) 1156 else if (dy < -epsilon) 1159 if ((inter = -m_wb.roundoffOverlap + ymid - dx * (((dx >= 0.0) ? brect.lft : brect.rgt) - xmid) / dy) > brec 1304 double dy = prevY - firstY; local [all...] |
/packages/apps/Settings/src/com/android/settings/widget/ |
H A D | ActionBarShadowController.java | 116 public void onScrolled(RecyclerView view, int dx, int dy) { argument
|
/packages/apps/DocumentsUI/src/com/android/documentsui/selection/ |
H A D | GestureSelector.java | 90 public void scrollBy(int dy) { 91 scrollView.scrollBy(0, dy);
|