mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-23 02:10:44 +01:00
Add sliding animation when a new message is received.
This commit is contained in:
committed by
Greyson Parrelli
parent
f198b890fa
commit
2167522f7d
@@ -105,6 +105,10 @@ public final class Projection {
|
||||
return new Projection(x + xTranslation, y, width, height, corners);
|
||||
}
|
||||
|
||||
public @NonNull Projection translateY(float yTranslation) {
|
||||
return new Projection(x, y + yTranslation, width, height, corners);
|
||||
}
|
||||
|
||||
public @NonNull Projection withDimensions(int width, int height) {
|
||||
return new Projection(x, y, width, height, corners);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user