granularity level: instruction
.class public final Landroidx/print/PrintHelper;
.super Ljava/lang/Object;
.source "PrintHelper.java"
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Landroidx/print/PrintHelper$PrintUriAdapter;,
Landroidx/print/PrintHelper$PrintBitmapAdapter;,
Landroidx/print/PrintHelper$OnPrintFinishCallback;
}
.end annotation
.field public static final COLOR_MODE_COLOR:I = 0x2
.field public static final COLOR_MODE_MONOCHROME:I = 0x1
.field static final IS_MIN_MARGINS_HANDLING_CORRECT:Z
.field private static final LOG_TAG:Ljava/lang/String; = "PrintHelper"
.field private static final MAX_PRINT_SIZE:I = 0xdac
.field public static final ORIENTATION_LANDSCAPE:I = 0x1
.field public static final ORIENTATION_PORTRAIT:I = 0x2
.field static final PRINT_ACTIVITY_RESPECTS_ORIENTATION:Z
.field public static final SCALE_MODE_FILL:I = 0x2
.field public static final SCALE_MODE_FIT:I = 0x1
.field mColorMode:I
.field final mContext:Landroid/content/Context;
.field mDecodeOptions:Landroid/graphics/BitmapFactory$Options;
.field final mLock:Ljava/lang/Object;
.field mOrientation:I
.field mScaleMode:I
.method static constructor <clinit>()V
.locals 5
return-void
.end method
.method public constructor <init>(Landroid/content/Context;)V
.locals 1
invoke-direct/range {p0 .. p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method static convertBitmapForColorMode(Landroid/graphics/Bitmap;I)Landroid/graphics/Bitmap;
.locals 5
const/4 v0, 0x0
return-object v0
.end method
.method private static copyAttributes(Landroid/print/PrintAttributes;)Landroid/print/PrintAttributes$Builder;
.locals 3
const/4 v0, 0x0
return-object v0
.end method
.method static getMatrix(IILandroid/graphics/RectF;I)Landroid/graphics/Matrix;
.locals 3
const/4 v0, 0x0
return-object v0
.end method
.method static isPortrait(Landroid/graphics/Bitmap;)Z
.locals 1
const/4 v0, 0x0
return v0
.end method
.method private loadBitmap(Landroid/net/Uri;Landroid/graphics/BitmapFactory$Options;)Landroid/graphics/Bitmap;
.locals 4
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/FileNotFoundException;
}
.end annotation
const/4 v0, 0x0
return-object v0
.end method
.method public static systemSupportsPrint()Z
.locals 2
const/4 v0, 0x0
return v0
.end method
.method public getColorMode()I
.locals 1
const/4 v0, 0x0
return v0
.end method
.method public getOrientation()I
.locals 2
const/4 v0, 0x0
return v0
.end method
.method public getScaleMode()I
.locals 1
const/4 v0, 0x0
return v0
.end method
.method loadConstrainedBitmap(Landroid/net/Uri;)Landroid/graphics/Bitmap;
.locals 7
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/FileNotFoundException;
}
.end annotation
const/4 v0, 0x0
return-object v0
.end method
.method public printBitmap(Ljava/lang/String;Landroid/graphics/Bitmap;)V
.locals 1
return-void
.end method
.method public printBitmap(Ljava/lang/String;Landroid/graphics/Bitmap;Landroidx/print/PrintHelper$OnPrintFinishCallback;)V
.locals 9
return-void
.end method
.method public printBitmap(Ljava/lang/String;Landroid/net/Uri;)V
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/FileNotFoundException;
}
.end annotation
return-void
.end method
.method public printBitmap(Ljava/lang/String;Landroid/net/Uri;Landroidx/print/PrintHelper$OnPrintFinishCallback;)V
.locals 8
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/FileNotFoundException;
}
.end annotation
return-void
.end method
.method public setColorMode(I)V
.locals 0
return-void
.end method
.method public setOrientation(I)V
.locals 0
return-void
.end method
.method public setScaleMode(I)V
.locals 0
return-void
.end method
.method writeBitmap(Landroid/print/PrintAttributes;ILandroid/graphics/Bitmap;Landroid/os/ParcelFileDescriptor;Landroid/os/CancellationSignal;Landroid/print/PrintDocumentAdapter$WriteResultCallback;)V
.locals 11
return-void
.end method