- ClassUtil - Class in de.mrapp.android.util
-
An utility class, which provides static methods for handling instances of the class Class.
- clipCircle(Bitmap) - Static method in class de.mrapp.android.util.BitmapUtil
-
Clips the corners of a bitmap in order to transform it into a round shape.
- clipCircle(Bitmap, int) - Static method in class de.mrapp.android.util.BitmapUtil
-
Clips the corners of a bitmap in order to transform it into a round shape.
- clipCircle(Bitmap, int, int) - Static method in class de.mrapp.android.util.BitmapUtil
-
Clips the corners of a bitmap in order to transform it into a round shape.
- clipCircle(Bitmap, int, int, int) - Static method in class de.mrapp.android.util.BitmapUtil
-
Clips the corners of a bitmap in order to transform it into a round shape.
- clipSquare(Bitmap) - Static method in class de.mrapp.android.util.BitmapUtil
-
Clips the long edge of a bitmap, if its width and height are not equal, in order to form it
into a square.
- clipSquare(Bitmap, int) - Static method in class de.mrapp.android.util.BitmapUtil
-
Clips the long edge of a bitmap, if its width and height are not equal, in order to form it
into a square.
- clipSquare(Bitmap, int, int) - Static method in class de.mrapp.android.util.BitmapUtil
-
Clips the long edge of a bitmap, if its width and height are not equal, in order to transform
it into a square.
- clipSquare(Bitmap, int, int, int) - Static method in class de.mrapp.android.util.BitmapUtil
-
Clips the long edge of a bitmap, if its width and height are not equal, in order to transform
it into a square.
- Condition - Class in de.mrapp.android.util
-
An utility class, which provides static methods, which allow to ensure, that variables and
objects fulfill certain conditions.
- create(F, S, T) - Static method in class de.mrapp.android.util.datastructure.Triple
-
Creates a new triple.
- createElevationShadow(Context, int, ElevationUtil.Orientation) - Static method in class de.mrapp.android.util.ElevationUtil
-
Creates and returns a bitmap, which can be used to emulate a shadow of an elevated view on
pre-Lollipop devices.
- createElevationShadow(Context, int, ElevationUtil.Orientation, boolean) - Static method in class de.mrapp.android.util.ElevationUtil
-
Creates and returns a bitmap, which can be used to emulate a shadow of an elevated view on
pre-Lollipop devices.
- ElevationShadowView - Class in de.mrapp.android.util.view
-
A view, which can be used to visualize the shadow of an elevation on pre-Lollipop devices.
- ElevationShadowView(Context) - Constructor for class de.mrapp.android.util.view.ElevationShadowView
-
Creates a new view, which can be used to visualize the shadow of an elevation on pre-Lollipop
devices.
- ElevationShadowView(Context, AttributeSet) - Constructor for class de.mrapp.android.util.view.ElevationShadowView
-
Creates a new view, which can be used to visualize the shadow of an elevation on pre-Lollipop
devices.
- ElevationShadowView(Context, AttributeSet, int) - Constructor for class de.mrapp.android.util.view.ElevationShadowView
-
Creates a new view, which can be used to visualize the shadow of an elevation on pre-Lollipop
devices.
- ElevationShadowView(Context, AttributeSet, int, int) - Constructor for class de.mrapp.android.util.view.ElevationShadowView
-
Creates a new view, which can be used to visualize the shadow of an elevation on pre-Lollipop
devices.
- ElevationUtil - Class in de.mrapp.android.util
-
An utility class, which provides static methods, which allow to emulate elevations of views on
pre-Lollipop devices.
- ElevationUtil.Orientation - Enum in de.mrapp.android.util
-
Contains all possible orientations of a shadow in relation to an elevated view.
- emulateParallelLight(boolean) - Method in class de.mrapp.android.util.view.ElevationShadowView
-
Sets, whether parallel light should be emulated, or not.
- ensureAtLeast(short, short, String) - Static method in class de.mrapp.android.util.Condition
-
Ensures, that a Short value is at least as great as a reference value.
- ensureAtLeast(short, short, String, Class<? extends RuntimeException>) - Static method in class de.mrapp.android.util.Condition
-
Ensures, that a Short value is at least as great as a reference value.
- ensureAtLeast(int, int, String) - Static method in class de.mrapp.android.util.Condition
-
Ensures, that an Integer value is at least as great as a reference value.
- ensureAtLeast(int, int, String, Class<? extends RuntimeException>) - Static method in class de.mrapp.android.util.Condition
-
Ensures, that an Integer value is at least as great as a reference value.
- ensureAtLeast(long, long, String) - Static method in class de.mrapp.android.util.Condition
-
Ensures, that a Long value is at least as great as a reference value.
- ensureAtLeast(long, long, String, Class<? extends RuntimeException>) - Static method in class de.mrapp.android.util.Condition
-
Ensures, that a Long value is at least as great as a reference value.
- ensureAtLeast(float, float, String) - Static method in class de.mrapp.android.util.Condition
-
Ensures, that a Float value is at least as great as a reference value.
- ensureAtLeast(float, float, String, Class<? extends RuntimeException>) - Static method in class de.mrapp.android.util.Condition
-
Ensures, that a Float value is at least as great as a reference value.
- ensureAtLeast(double, double, String) - Static method in class de.mrapp.android.util.Condition
-
Ensures, that a Double value is at least as great as a reference value.
- ensureAtLeast(double, double, String, Class<? extends RuntimeException>) - Static method in class de.mrapp.android.util.Condition
-
Ensures, that a Double value is at least as great as a reference value.
- ensureAtMaximum(short, short, String) - Static method in class de.mrapp.android.util.Condition
-
Ensures, that a Short value is at maximum as great as a reference value.
- ensureAtMaximum(short, short, String, Class<? extends RuntimeException>) - Static method in class de.mrapp.android.util.Condition
-
Ensures, that a Short value is at maximum as great as a reference value.
- ensureAtMaximum(int, int, String) - Static method in class de.mrapp.android.util.Condition
-
Ensures, that an Integer value is at maximum as great as a reference value.
- ensureAtMaximum(int, int, String, Class<? extends RuntimeException>) - Static method in class de.mrapp.android.util.Condition
-
Ensures, that an Integer value is at maximum as great as a reference value.
- ensureAtMaximum(long, long, String) - Static method in class de.mrapp.android.util.Condition
-
Ensures, that a Long value is at maximum as great as a reference value.
- ensureAtMaximum(long, long, String, Class<? extends RuntimeException>) - Static method in class de.mrapp.android.util.Condition
-
Ensures, that a Long value is at maximum as great as a reference value.
- ensureAtMaximum(float, float, String) - Static method in class de.mrapp.android.util.Condition
-
Ensures, that a Float value is at maximum as great as a reference value.
- ensureAtMaximum(float, float, String, Class<? extends RuntimeException>) - Static method in class de.mrapp.android.util.Condition
-
Ensures, that a Float value is at maximum as great as a reference value.
- ensureAtMaximum(double, double, String) - Static method in class de.mrapp.android.util.Condition
-
Ensures, that a Double value is at maximum as great as a reference value.
- ensureAtMaximum(double, double, String, Class<? extends RuntimeException>) - Static method in class de.mrapp.android.util.Condition
-
Ensures, that a Double value is at maximum as great as a reference value.
- ensureFalse(boolean, String) - Static method in class de.mrapp.android.util.Condition
-
Ensures, that a specific boolean expression is false.
- ensureFalse(boolean, String, Class<? extends RuntimeException>) - Static method in class de.mrapp.android.util.Condition
-
Ensures, that a specific boolean expression is false, Otherwise a specific RuntimeException is thrown.
- ensureFileExists(File, String) - Static method in class de.mrapp.android.util.Condition
-
Ensures, that a specific file exists.
- ensureFileExists(File, String, Class<? extends RuntimeException>) - Static method in class de.mrapp.android.util.Condition
-
Ensures, that a specific file exists.
- ensureFileIsDirectory(File, String) - Static method in class de.mrapp.android.util.Condition
-
Ensures, that a specific file is a directory.
- ensureFileIsDirectory(File, String, Class<? extends RuntimeException>) - Static method in class de.mrapp.android.util.Condition
-
Ensures, that a specific file is a directory.
- ensureFileIsNoDirectory(File, String) - Static method in class de.mrapp.android.util.Condition
-
Ensures, that a specific file does exist and is not a directory.
- ensureFileIsNoDirectory(File, String, Class<? extends RuntimeException>) - Static method in class de.mrapp.android.util.Condition
-
Ensures, that a specific file does exist and is not a directory.
- ensureGreater(short, short, String) - Static method in class de.mrapp.android.util.Condition
-
Ensures, that a Short value is greater as a reference value.
- ensureGreater(short, short, String, Class<? extends RuntimeException>) - Static method in class de.mrapp.android.util.Condition
-
Ensures, that a Short value is greater as a reference value.
- ensureGreater(int, int, String) - Static method in class de.mrapp.android.util.Condition
-
Ensures, that an Integer value is greater as a reference value.
- ensureGreater(int, int, String, Class<? extends RuntimeException>) - Static method in class de.mrapp.android.util.Condition
-
Ensures, that an Integer value is greater as a reference value.
- ensureGreater(long, long, String) - Static method in class de.mrapp.android.util.Condition
-
Ensures, that a Long value is greater as a reference value.
- ensureGreater(long, long, String, Class<? extends RuntimeException>) - Static method in class de.mrapp.android.util.Condition
-
Ensures, that a Long value is greater as a reference value.
- ensureGreater(float, float, String) - Static method in class de.mrapp.android.util.Condition
-
Ensures, that a Float value is greater as a reference value.
- ensureGreater(float, float, String, Class<? extends RuntimeException>) - Static method in class de.mrapp.android.util.Condition
-
Ensures, that a Float value is greater as a reference value.
- ensureGreater(double, double, String) - Static method in class de.mrapp.android.util.Condition
-
Ensures, that a Double value is greater as a reference value.
- ensureGreater(double, double, String, Class<? extends RuntimeException>) - Static method in class de.mrapp.android.util.Condition
-
Ensures, that a Double value is greater as a reference value.
- ensureNotEmpty(CharSequence, String) - Static method in class de.mrapp.android.util.Condition
-
Ensures, that a text is not empty.
- ensureNotEmpty(CharSequence, String, Class<? extends RuntimeException>) - Static method in class de.mrapp.android.util.Condition
-
Ensures, that a text is not empty.
- ensureNotEmpty(Iterable<?>, String) - Static method in class de.mrapp.android.util.Condition
-
Ensures, that a Iterable is not empty.
- ensureNotEmpty(Iterable<?>, String, Class<? extends RuntimeException>) - Static method in class de.mrapp.android.util.Condition
-
Ensures, that a Iterable is not empty.
- ensureNotNull(Object, String) - Static method in class de.mrapp.android.util.Condition
-
Ensures that an object is not null.
- ensureNotNull(Object, String, Class<? extends RuntimeException>) - Static method in class de.mrapp.android.util.Condition
-
Ensures that an object is not null.
- ensureSmaller(short, short, String) - Static method in class de.mrapp.android.util.Condition
-
Ensures, that a Short value is smaller as a reference value.
- ensureSmaller(short, short, String, Class<? extends RuntimeException>) - Static method in class de.mrapp.android.util.Condition
-
Ensures, that a Short value is smaller as a reference value.
- ensureSmaller(int, int, String) - Static method in class de.mrapp.android.util.Condition
-
Ensures, that an Integer value is smaller as a reference value.
- ensureSmaller(int, int, String, Class<? extends RuntimeException>) - Static method in class de.mrapp.android.util.Condition
-
Ensures, that an Integer value is smaller as a reference value.
- ensureSmaller(long, long, String) - Static method in class de.mrapp.android.util.Condition
-
Ensures, that a Long value is smaller as a reference value.
- ensureSmaller(long, long, String, Class<? extends RuntimeException>) - Static method in class de.mrapp.android.util.Condition
-
Ensures, that a Long value is smaller as a reference value.
- ensureSmaller(float, float, String) - Static method in class de.mrapp.android.util.Condition
-
Ensures, that a Float value is smaller as a reference value.
- ensureSmaller(float, float, String, Class<? extends RuntimeException>) - Static method in class de.mrapp.android.util.Condition
-
Ensures, that a Float value is smaller as a reference value.
- ensureSmaller(double, double, String) - Static method in class de.mrapp.android.util.Condition
-
Ensures, that a Double value is smaller as a reference value.
- ensureSmaller(double, double, String, Class<? extends RuntimeException>) - Static method in class de.mrapp.android.util.Condition
-
Ensures, that a Double value is smaller as a reference value.
- ensureTrue(boolean, String) - Static method in class de.mrapp.android.util.Condition
-
Ensures, that a specific boolean expression is true.
- ensureTrue(boolean, String, Class<? extends RuntimeException>) - Static method in class de.mrapp.android.util.Condition
-
Ensures, that a specific boolean expression is true, Otherwise a specific RuntimeException is thrown.
- equals(Object) - Method in class de.mrapp.android.util.datastructure.Triple
-
- getDeviceType(Context) - Static method in class de.mrapp.android.util.DisplayUtil
-
Returns the type of the device, depending on its display size.
- getDisplayHeight(Context) - Static method in class de.mrapp.android.util.DisplayUtil
-
Returns the height of the device's display.
- getDisplayWidth(Context) - Static method in class de.mrapp.android.util.DisplayUtil
-
Returns the width of the device's display.
- getDistance() - Method in class de.mrapp.android.util.gesture.DragHelper
-
Returns the distance, which has been passed while dragging, in pixels.
- getDragSpeed() - Method in class de.mrapp.android.util.gesture.DragHelper
-
Returns the speed of the drag gesture in pixels per millisecond.
- getImageDimensions(File) - Static method in class de.mrapp.android.util.BitmapUtil
-
Returns the width and height of a specific image file.
- getImageDimensions(Context, int) - Static method in class de.mrapp.android.util.BitmapUtil
-
Returns the width and height of a specific image resource.
- getInsetForeground() - Method in class de.mrapp.android.util.view.ScrimInsetsLayout
-
Returns the drawable, which is shown in the layout's insets.
- getInsets() - Method in class de.mrapp.android.util.view.ScrimInsetsLayout
-
Returns the layout's current insets.
- getNavigationBarHeight(Context) - Static method in class de.mrapp.android.util.DisplayUtil
-
Returns the height of the navigation bar, which is shown at the bottom of the display
(containing for example back, home and recent apps soft-keys).
- getOrientation(Context) - Static method in class de.mrapp.android.util.DisplayUtil
-
Returns the orientation of the device.
- getShadowElevation() - Method in class de.mrapp.android.util.view.ElevationShadowView
-
Returns the elevation of the shadow, which is visualized by the view.
- getShadowOrientation() - Method in class de.mrapp.android.util.view.ElevationShadowView
-
Returns the orientation of the shadow, which is visualized by the view.
- getStartPosition() - Method in class de.mrapp.android.util.gesture.DragHelper
-
Returns the position, where the gesture has been started at.
- getStatusBarHeight(Context) - Static method in class de.mrapp.android.util.DisplayUtil
-
Returns the height of the status bar, which is shown at the top of the display (containing
the clock, battery indicator, etc.).
- getTruncatedName(Class<?>) - Static method in class de.mrapp.android.util.ClassUtil
-
Returns a truncated version of a specific class' full qualified name.
- getValue() - Method in enum de.mrapp.android.util.DisplayUtil.DeviceType
-
Returns the value of the device type.
- getValue() - Method in enum de.mrapp.android.util.ElevationUtil.Orientation
-
Returns the value of the orientation.
- PermissionUtil - Class in de.mrapp.android.util
-
An utility class, which provides static methods, which allow to handle runtime permissions.
- PermissionUtil.Callback - Interface in de.mrapp.android.util
-
Defines the interface, a callback, which should be notified, when an explanation should be
shown before requesting a permission, must implement.
- PIXEL_DP_RATIO - Static variable in class de.mrapp.android.util.DisplayUtil
-
The ratio, which can be used to convert values, which are measured in pixels, into values,
which are measured in dp, and vice versa.
- pixelsToDp(Context, int) - Static method in class de.mrapp.android.util.DisplayUtil
-
Converts an Integer value, which is measured in pixels, into a value, which is
measured in dp.
- pixelsToDp(Context, long) - Static method in class de.mrapp.android.util.DisplayUtil
-
Converts an Long value, which is measured in pixels, into a value, which is measured
in dp.
- pixelsToDp(Context, float) - Static method in class de.mrapp.android.util.DisplayUtil
-
Converts a Float value, which is measured in pixels, into a value, which is measured
in dp.
- pixelsToDp(Context, double) - Static method in class de.mrapp.android.util.DisplayUtil
-
Converts a Double value, which is measured in pixels, into a value, which is measured
in dp.
- ScrimInsetsLayout - Class in de.mrapp.android.util.view
-
- ScrimInsetsLayout(Context) - Constructor for class de.mrapp.android.util.view.ScrimInsetsLayout
-
- ScrimInsetsLayout(Context, AttributeSet) - Constructor for class de.mrapp.android.util.view.ScrimInsetsLayout
-
- ScrimInsetsLayout(Context, AttributeSet, int) - Constructor for class de.mrapp.android.util.view.ScrimInsetsLayout
-
- ScrimInsetsLayout(Context, AttributeSet, int, int) - Constructor for class de.mrapp.android.util.view.ScrimInsetsLayout
-
- ScrimInsetsLayout.Callback - Interface in de.mrapp.android.util.view
-
- second - Variable in class de.mrapp.android.util.datastructure.Triple
-
The second object.
- setBackground(View, Drawable) - Static method in class de.mrapp.android.util.ViewUtil
-
Sets the background of a view.
- setCallback(ScrimInsetsLayout.Callback) - Method in class de.mrapp.android.util.view.ScrimInsetsLayout
-
Sets the callback, which should be notified, when the layout's insets have been changed.
- setInsetForeground(Drawable) - Method in class de.mrapp.android.util.view.ScrimInsetsLayout
-
Sets the drawable, which should be shown in the layout's insets.
- setInsetForegroundColor(int) - Method in class de.mrapp.android.util.view.ScrimInsetsLayout
-
Sets the color, which should be shown in the layout's insets.
- setShadowElevation(int) - Method in class de.mrapp.android.util.view.ElevationShadowView
-
Sets the elevation of the shadow, which should be visualized by the view.
- setShadowOrientation(ElevationUtil.Orientation) - Method in class de.mrapp.android.util.view.ElevationShadowView
-
Sets the orientation of the shadow, which should be visualized by the view.
- SquareImageView - Class in de.mrapp.android.util.view
-
A custom view, which is extended from the view ImageView in order to
ensure, that its height is always equal to its width.
- SquareImageView(Context) - Constructor for class de.mrapp.android.util.view.SquareImageView
-
Creates a new square image view.
- SquareImageView(Context, AttributeSet) - Constructor for class de.mrapp.android.util.view.SquareImageView
-
Creates a new square image view.
- SquareImageView(Context, AttributeSet, int) - Constructor for class de.mrapp.android.util.view.SquareImageView
-
Creates a new square image view.
- SquareImageView(Context, AttributeSet, int, int) - Constructor for class de.mrapp.android.util.view.SquareImageView
-
Creates a new square image view.
- startCameraApp(Activity, int, File) - Static method in class de.mrapp.android.util.AppUtil
-
Starts the camera app in order to capture a picture.
- startDialer(Activity, int) - Static method in class de.mrapp.android.util.AppUtil
-
Starts the dialer in order to call a specific phone number.
- startDialer(Activity, long) - Static method in class de.mrapp.android.util.AppUtil
-
Starts the dialer in order to call a specific phone number.
- startDialer(Activity, String) - Static method in class de.mrapp.android.util.AppUtil
-
Starts the dialer in order to call a specific phone number.
- startGalleryApp(Activity, int) - Static method in class de.mrapp.android.util.AppUtil
-
Starts the gallery app in order to choose a picture.
- startGalleryApp(Activity, File) - Static method in class de.mrapp.android.util.AppUtil
-
Starts the gallery app in order to show a specific image.
- startMailClient(Activity, String) - Static method in class de.mrapp.android.util.AppUtil
-
Starts the mail client in order to send an e-mail to a specific e-mail address.
- startWebBrowser(Activity, String) - Static method in class de.mrapp.android.util.AppUtil
-
Starts the web browser in order to show a specific URI.
- startWebBrowser(Activity, Uri) - Static method in class de.mrapp.android.util.AppUtil
-
Starts the web browser in order to show a specific URI.