Home
last modified time | relevance | path

Searched refs:dx (Results 1 – 9 of 9) sorted by relevance

/developers/samples/android/ui/views/Elevation/ElevationDrag/Application/src/main/java/com/example/android/elevationdrag/
DDragFrameLayout.java72 public void onViewPositionChanged(View changedView, int left, int top, int dx, int dy) { in DragFrameLayout()
73 super.onViewPositionChanged(changedView, left, top, dx, dy); in DragFrameLayout()
77 public int clampViewPositionHorizontal(View child, int left, int dx) { in DragFrameLayout()
/developers/build/prebuilts/gradle/ElevationDrag/Application/src/main/java/com/example/android/elevationdrag/
DDragFrameLayout.java72 public void onViewPositionChanged(View changedView, int left, int top, int dx, int dy) { in DragFrameLayout()
73 super.onViewPositionChanged(changedView, left, top, dx, dy); in DragFrameLayout()
77 public int clampViewPositionHorizontal(View child, int left, int dx) { in DragFrameLayout()
/developers/samples/android/sensors/AccelerometerPlay/app/src/main/java/com/example/android/accelerometerplay/
DAccelerometerPlayActivity.java270 float dx = ball.mPosX - curr.mPosX; in update() local
272 float dd = dx * dx + dy * dy; in update()
279 dx += ((float) Math.random() - 0.5f) * 0.0001f; in update()
281 dd = dx * dx + dy * dy; in update()
285 final float effectX = dx * c; in update()
/developers/samples/android/wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/
DLongListActivity.java112 public void onScrolled(RecyclerView recyclerView, int dx, int dy) { in onCreate()
113 super.onScrolled(recyclerView, dx, dy); in onCreate()
/developers/build/prebuilts/gradle/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/
DLongListActivity.java110 public void onScrolled(RecyclerView recyclerView, int dx, int dy) { in onCreate()
111 super.onScrolled(recyclerView, dx, dy); in onCreate()
/developers/build/prebuilts/gradle/ContentProviderPaging/kotlinApp/app/src/main/kotlin/com.example.android.contentproviderpaging/
DImageClientFragment.kt73 override fun onScrolled(recyclerView: RecyclerView?, dx: Int, dy: Int) { in onViewCreated()
/developers/samples/android/content/documentsUi/ContentProviderPaging/kotlinApp/app/src/main/kotlin/com.example.android.contentproviderpaging/
DImageClientFragment.kt73 override fun onScrolled(recyclerView: RecyclerView?, dx: Int, dy: Int) { in onViewCreated()
/developers/build/prebuilts/gradle/ContentProviderPaging/app/src/main/java/com/example/android/contentproviderpaging/
DImageClientFragment.java95 public void onScrolled(RecyclerView recyclerView, int dx, int dy) { in onViewCreated()
/developers/samples/android/content/documentsUi/ContentProviderPaging/app/src/main/java/com/example/android/contentproviderpaging/
DImageClientFragment.java95 public void onScrolled(RecyclerView recyclerView, int dx, int dy) { in onViewCreated()