[]Struct jni_android_sys::android::graphics::BitmapFactory_Options

#[repr(transparent)]
pub struct BitmapFactory_Options(_);

public class BitmapFactory.Options

Required feature: "android-graphics-BitmapFactory_Options"

Methods

impl BitmapFactory_Options

pub fn new<'env>(
    __jni_env: &'env Env
) -> Result<Local<'env, BitmapFactory_Options>, Local<'env, Throwable>>
[src]

pub fn requestCancelDecode<'env>(
    &'env self
) -> Result<(), Local<'env, Throwable>>
[src]

Deprecated

pub fn inBitmap<'env>(&'env self) -> Option<Local<'env, Bitmap>>[src]

get public inBitmap

Required feature: "android-graphics-Bitmap"

pub fn set_inBitmap<'env, 'obj>(
    &'env self,
    value: impl Into<Option<&'obj Bitmap>>
)
[src]

set public inBitmap

Required feature: "android-graphics-Bitmap"

pub fn inDensity<'env>(&'env self) -> i32[src]

get public inDensity

pub fn set_inDensity<'env>(&'env self, value: i32)[src]

set public inDensity

pub fn inDither<'env>(&'env self) -> bool[src]

Deprecated

get public inDither

pub fn set_inDither<'env>(&'env self, value: bool)[src]

Deprecated

set public inDither

pub fn inInputShareable<'env>(&'env self) -> bool[src]

Deprecated

get public inInputShareable

pub fn set_inInputShareable<'env>(&'env self, value: bool)[src]

Deprecated

set public inInputShareable

pub fn inJustDecodeBounds<'env>(&'env self) -> bool[src]

get public inJustDecodeBounds

pub fn set_inJustDecodeBounds<'env>(&'env self, value: bool)[src]

set public inJustDecodeBounds

pub fn inMutable<'env>(&'env self) -> bool[src]

get public inMutable

pub fn set_inMutable<'env>(&'env self, value: bool)[src]

set public inMutable

pub fn inPreferQualityOverSpeed<'env>(&'env self) -> bool[src]

Deprecated

pub fn set_inPreferQualityOverSpeed<'env>(&'env self, value: bool)[src]

Deprecated

pub fn inPreferredColorSpace<'env>(
    &'env self
) -> Option<Local<'env, ColorSpace>>
[src]

get public inPreferredColorSpace

Required feature: "android-graphics-ColorSpace"

pub fn set_inPreferredColorSpace<'env, 'obj>(
    &'env self,
    value: impl Into<Option<&'obj ColorSpace>>
)
[src]

set public inPreferredColorSpace

Required feature: "android-graphics-ColorSpace"

pub fn inPreferredConfig<'env>(&'env self) -> Option<Local<'env, Bitmap_Config>>[src]

get public inPreferredConfig

Required feature: "android-graphics-Bitmap_Config"

pub fn set_inPreferredConfig<'env, 'obj>(
    &'env self,
    value: impl Into<Option<&'obj Bitmap_Config>>
)
[src]

set public inPreferredConfig

Required feature: "android-graphics-Bitmap_Config"

pub fn inPremultiplied<'env>(&'env self) -> bool[src]

get public inPremultiplied

pub fn set_inPremultiplied<'env>(&'env self, value: bool)[src]

set public inPremultiplied

pub fn inPurgeable<'env>(&'env self) -> bool[src]

Deprecated

get public inPurgeable

pub fn set_inPurgeable<'env>(&'env self, value: bool)[src]

Deprecated

set public inPurgeable

pub fn inSampleSize<'env>(&'env self) -> i32[src]

get public inSampleSize

pub fn set_inSampleSize<'env>(&'env self, value: i32)[src]

set public inSampleSize

pub fn inScaled<'env>(&'env self) -> bool[src]

get public inScaled

pub fn set_inScaled<'env>(&'env self, value: bool)[src]

set public inScaled

pub fn inScreenDensity<'env>(&'env self) -> i32[src]

get public inScreenDensity

pub fn set_inScreenDensity<'env>(&'env self, value: i32)[src]

set public inScreenDensity

pub fn inTargetDensity<'env>(&'env self) -> i32[src]

get public inTargetDensity

pub fn set_inTargetDensity<'env>(&'env self, value: i32)[src]

set public inTargetDensity

pub fn inTempStorage<'env>(&'env self) -> Option<Local<'env, ByteArray>>[src]

get public inTempStorage

pub fn set_inTempStorage<'env, 'obj>(
    &'env self,
    value: impl Into<Option<&'obj ByteArray>>
)
[src]

set public inTempStorage

pub fn mCancel<'env>(&'env self) -> bool[src]

Deprecated

get public mCancel

pub fn set_mCancel<'env>(&'env self, value: bool)[src]

Deprecated

set public mCancel

pub fn outColorSpace<'env>(&'env self) -> Option<Local<'env, ColorSpace>>[src]

get public outColorSpace

Required feature: "android-graphics-ColorSpace"

pub fn set_outColorSpace<'env, 'obj>(
    &'env self,
    value: impl Into<Option<&'obj ColorSpace>>
)
[src]

set public outColorSpace

Required feature: "android-graphics-ColorSpace"

pub fn outConfig<'env>(&'env self) -> Option<Local<'env, Bitmap_Config>>[src]

get public outConfig

Required feature: "android-graphics-Bitmap_Config"

pub fn set_outConfig<'env, 'obj>(
    &'env self,
    value: impl Into<Option<&'obj Bitmap_Config>>
)
[src]

set public outConfig

Required feature: "android-graphics-Bitmap_Config"

pub fn outHeight<'env>(&'env self) -> i32[src]

get public outHeight

pub fn set_outHeight<'env>(&'env self, value: i32)[src]

set public outHeight

pub fn outMimeType<'env>(&'env self) -> Option<Local<'env, String>>[src]

get public outMimeType

Required feature: "java-lang-String"

pub fn set_outMimeType<'env, 'obj>(
    &'env self,
    value: impl Into<Option<&'obj String>>
)
[src]

set public outMimeType

Required feature: "java-lang-String"

pub fn outWidth<'env>(&'env self) -> i32[src]

get public outWidth

pub fn set_outWidth<'env>(&'env self, value: i32)[src]

set public outWidth

Methods from Deref<Target = Object>

pub fn getClass<'env>(
    &'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
[src]

getClass

Required features: "java-lang-Class"

pub fn hashCode<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn equals<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
[src]

equals

Required features: "java-lang-Object"

pub fn toString<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

toString

Required features: "java-lang-String"

pub fn notify<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

pub fn notifyAll<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

pub fn wait_long<'env>(
    &'env self,
    arg0: i64
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn wait_long_int<'env>(
    &'env self,
    arg0: i64,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn wait<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

Trait Implementations

impl AsJValue for BitmapFactory_Options

impl AsValidJObjectAndEnv for BitmapFactory_Options

impl Deref for BitmapFactory_Options

type Target = Object

The resulting type after dereferencing.

impl JniType for BitmapFactory_Options

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.