OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:PrintDocumentAdapter
(Results
1 - 25
of
39
) sorted by null
1
2
/development/samples/ApiDemos/src/com/example/android/apis/app/
PrintHtmlOffScreen.java
26
import android.print.
PrintDocumentAdapter
;
95
// Create a wrapper
PrintDocumentAdapter
to clean up when done.
96
PrintDocumentAdapter
adapter = new
PrintDocumentAdapter
() {
97
private final
PrintDocumentAdapter
mWrappedInstance =
PrintCustomContent.java
30
import android.print.
PrintDocumentAdapter
;
64
*
PrintDocumentAdapter
} in which:
77
* @see
PrintDocumentAdapter
111
new
PrintDocumentAdapter
() {
/frameworks/base/core/java/android/print/
PrintDocumentAdapter.java
109
public abstract class
PrintDocumentAdapter
{
255
*
PrintDocumentAdapter
#onWrite(PageRange[], ParcelFileDescriptor, CancellationSignal,
297
*
PrintDocumentAdapter
#onLayout(PrintAttributes, PrintAttributes,
PrintManager.java
36
import android.print.
PrintDocumentAdapter
.LayoutResultCallback;
37
import android.print.
PrintDocumentAdapter
.WriteResultCallback;
74
* by the {@link
PrintDocumentAdapter
} class. At a higher level the contract is that
84
* Print jobs are started by calling the {@link #print(String,
PrintDocumentAdapter
,
469
* Creates a print job for printing a {@link
PrintDocumentAdapter
} with
482
* Also the passed in {@link
PrintDocumentAdapter
} will be considered invalid if
497
* the system will connect to the provided {@link
PrintDocumentAdapter
}. If a
518
@NonNull
PrintDocumentAdapter
documentAdapter,
771
private
PrintDocumentAdapter
mDocumentAdapter; // Strong reference OK - cleared in destroy
780
PrintDocumentAdapter
documentAdapter)
[
all
...]
PrintFileDocumentAdapter.java
47
public class PrintFileDocumentAdapter extends
PrintDocumentAdapter
{
/cts/tests/tests/print/src/android/print/cts/
PrinterDiscoverySessionLifecycleTest.java
27
import android.print.
PrintDocumentAdapter
;
28
import android.print.
PrintDocumentAdapter
.LayoutResultCallback;
29
import android.print.
PrintDocumentAdapter
.WriteResultCallback;
93
PrintDocumentAdapter
adapter = createMockPrintDocumentAdapter();
193
PrintDocumentAdapter
adapter = createMockPrintDocumentAdapter();
281
PrintDocumentAdapter
adapter = createMockPrintDocumentAdapter();
491
public
PrintDocumentAdapter
createMockPrintDocumentAdapter() {
PrinterInfoTest.java
29
import android.print.
PrintDocumentAdapter
;
30
import android.print.
PrintDocumentAdapter
.LayoutResultCallback;
31
import android.print.
PrintDocumentAdapter
.WriteResultCallback;
67
* Create a mock {@link
PrintDocumentAdapter
} that provides {@link #NUM_PAGES} empty pages.
71
private
PrintDocumentAdapter
createMockPrintDocumentAdapter() {
429
PrintDocumentAdapter
adapter = createMockPrintDocumentAdapter();
PrintAttributesTest.java
25
import android.print.
PrintDocumentAdapter
;
26
import android.print.
PrintDocumentAdapter
.LayoutResultCallback;
27
import android.print.
PrintDocumentAdapter
.WriteResultCallback;
226
* Create a {@link
PrintDocumentAdapter
} that serves empty pages
228
* @return A new {@link
PrintDocumentAdapter
}
230
private
PrintDocumentAdapter
createMockPrintDocumentAdapter() {
285
* @return A {@link
PrintDocumentAdapter
} that can be used for the new printer
287
private
PrintDocumentAdapter
setUpPrinter(Margins minMargins, MediaSize mediaSizes[],
376
PrintDocumentAdapter
adapter =
PrintServicesTest.java
40
import android.print.
PrintDocumentAdapter
;
41
import android.print.
PrintDocumentAdapter
.LayoutResultCallback;
42
import android.print.
PrintDocumentAdapter
.WriteResultCallback;
94
* Create a mock {@link
PrintDocumentAdapter
} that provides {@link #NUM_PAGES} empty pages.
98
private
PrintDocumentAdapter
createMockPrintDocumentAdapter() {
397
PrintDocumentAdapter
adapter = createMockPrintDocumentAdapter();
542
PrintDocumentAdapter
adapter = createMockPrintDocumentAdapter();
PageRangeAdjustmentTest.java
29
import android.print.
PrintDocumentAdapter
;
30
import android.print.
PrintDocumentAdapter
.LayoutResultCallback;
31
import android.print.
PrintDocumentAdapter
.WriteResultCallback;
98
final
PrintDocumentAdapter
adapter = createMockPrintDocumentAdapter(
206
final
PrintDocumentAdapter
adapter = createMockPrintDocumentAdapter(
326
final
PrintDocumentAdapter
adapter = createMockPrintDocumentAdapter(
443
final
PrintDocumentAdapter
adapter = createMockPrintDocumentAdapter(
550
final
PrintDocumentAdapter
adapter = createMockPrintDocumentAdapter(
BasePrintTest.java
40
import android.print.
PrintDocumentAdapter
;
41
import android.print.
PrintDocumentAdapter
.LayoutResultCallback;
42
import android.print.
PrintDocumentAdapter
.WriteResultCallback;
248
protected void print(final
PrintDocumentAdapter
adapter, final PrintAttributes attributes) {
260
protected void print(
PrintDocumentAdapter
adapter) {
613
protected void verifyLayoutCall(InOrder inOrder,
PrintDocumentAdapter
mock,
623
PrintDocumentAdapter
.EXTRA_PRINT_PREVIEW);
633
protected
PrintDocumentAdapter
createMockPrintDocumentAdapter(Answer<Void> layoutAnswer,
636
PrintDocumentAdapter
adapter = mock(
PrintDocumentAdapter
.class)
[
all
...]
PrinterCapabilitiesTest.java
25
import android.print.
PrintDocumentAdapter
;
26
import android.print.
PrintDocumentAdapter
.LayoutResultCallback;
27
import android.print.
PrintDocumentAdapter
.WriteResultCallback;
188
PrintDocumentAdapter
adapter = createMockPrintDocumentAdapter(
473
PrintDocumentAdapter
adapter = createMockPrintDocumentAdapter(null, null, null);
586
PrintDocumentAdapter
adapter = createMockPrintDocumentAdapter(null, null, null);
654
PrintDocumentAdapter
adapter = createMockPrintDocumentAdapter(
[
all
...]
PrintDocumentAdapterContractTest.java
32
import android.print.
PrintDocumentAdapter
;
33
import android.print.
PrintDocumentAdapter
.LayoutResultCallback;
34
import android.print.
PrintDocumentAdapter
.WriteResultCallback;
56
* This test verifies that the system respects the {@link
PrintDocumentAdapter
}
72
final
PrintDocumentAdapter
adapter = createMockPrintDocumentAdapter(
196
final
PrintDocumentAdapter
adapter = createMockPrintDocumentAdapter(
290
final
PrintDocumentAdapter
adapter = createMockPrintDocumentAdapter(
494
final
PrintDocumentAdapter
adapter = createMockPrintDocumentAdapter(
659
final
PrintDocumentAdapter
adapter = createMockPrintDocumentAdapter(
[
all
...]
PrintJobTest.java
25
import android.print.
PrintDocumentAdapter
;
26
import android.print.
PrintDocumentAdapter
.LayoutResultCallback;
27
import android.print.
PrintDocumentAdapter
.WriteResultCallback;
77
* Create a mock {@link
PrintDocumentAdapter
} that provides one empty page.
81
private
PrintDocumentAdapter
createMockPrintDocumentAdapter() {
268
PrintDocumentAdapter
adapter = createMockPrintDocumentAdapter();
602
PrintDocumentAdapter
adapter = createMockPrintDocumentAdapter();
CustomPrintOptionsTest.java
25
import android.print.
PrintDocumentAdapter
;
26
import android.print.
PrintDocumentAdapter
.LayoutResultCallback;
27
import android.print.
PrintDocumentAdapter
.WriteResultCallback;
167
PrintDocumentAdapter
adapter = createMockPrintDocumentAdapter(
/packages/experimental/PrintApp/src/foo/bar/permission2/
PrintActivity.java
37
import android.print.
PrintDocumentAdapter
;
85
new
PrintDocumentAdapter
() {
111
PrintDocumentAdapter
.EXTRA_PRINT_PREVIEW) );
/frameworks/support/core-utils/kitkat/android/support/v4/print/
PrintHelperKitkat.java
37
import android.print.
PrintDocumentAdapter
;
245
new
PrintDocumentAdapter
() {
325
final
PrintDocumentAdapter
.WriteResultCallback writeResultCallback) {
450
PrintDocumentAdapter
printDocumentAdapter
= new
PrintDocumentAdapter
() {
601
printManager.print(jobName,
printDocumentAdapter
, attr);
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
HelpFragment.java
29
import android.print.
PrintDocumentAdapter
;
136
final
PrintDocumentAdapter
pda = mWebView.createPrintDocumentAdapter();
/packages/experimental/PrintApp/src/foo/bar/print/
PrintActivity.java
36
import android.print.
PrintDocumentAdapter
;
107
new
PrintDocumentAdapter
() {
/cts/libs/deviceutillegacy/src/android/webkit/cts/
WebViewOnUiThread.java
29
import android.print.
PrintDocumentAdapter
;
792
public
PrintDocumentAdapter
createPrintDocumentAdapter() {
793
return getValue(new ValueGetter<
PrintDocumentAdapter
>() {
795
public
PrintDocumentAdapter
capture() {
/frameworks/base/core/java/android/webkit/
WebViewProvider.java
33
import android.print.
PrintDocumentAdapter
;
164
public
PrintDocumentAdapter
createPrintDocumentAdapter(String documentName);
WebView.java
39
import android.print.
PrintDocumentAdapter
;
[
all
...]
/frameworks/base/core/tests/coretests/src/android/print/
BasePrintTest.java
36
import android.print.
PrintDocumentAdapter
;
186
protected android.print.PrintJob print(@NonNull final
PrintDocumentAdapter
adapter,
IPrintManagerParametersTest.java
81
* Create a mock
PrintDocumentAdapter
.
85
private @NonNull
PrintDocumentAdapter
createMockAdapter() {
86
return new
PrintDocumentAdapter
() {
/cts/tests/tests/webkit/src/android/webkit/cts/
WebViewTest.java
44
import android.print.
PrintDocumentAdapter
;
45
import android.print.
PrintDocumentAdapter
.LayoutResultCallback;
46
import android.print.
PrintDocumentAdapter
.WriteResultCallback;
[
all
...]
Completed in 150 milliseconds
1
2