OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mediaSize
(Results
1 - 12
of
12
) sorted by null
/frameworks/base/core/java/android/print/pdf/
PrintedPdfDocument.java
26
import android.print.PrintAttributes.
MediaSize
;
85
MediaSize
mediaSize
= attributes.getMediaSize();
88
mPageWidth = (int) (((float)
mediaSize
.getWidthMils() / MILS_PER_INCH)
90
mPageHeight = (int) (((float)
mediaSize
.getHeightMils() / MILS_PER_INCH)
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/
MediaSizeUtils.java
20
import android.print.PrintAttributes.
MediaSize
;
31
private static Map<
MediaSize
, String> sMediaSizeToStandardMap;
39
public static
MediaSize
getDefault(Context context) {
41
return
MediaSize
.getStandardMediaSizeById(mediaSizeId);
44
private static String getStandardForMediaSize(Context context,
MediaSize
mediaSize
) {
46
sMediaSizeToStandardMap = new ArrayMap<
MediaSize
, String>();
52
MediaSize
key =
MediaSize
.getStandardMediaSizeById(mediaSizeId);
57
String standard = sMediaSizeToStandardMap.get(
mediaSize
);
[
all
...]
PrintJobConfigActivity.java
51
import android.print.PrintAttributes.
MediaSize
;
[
all
...]
PrintSpoolerService.java
34
import android.print.PrintAttributes.
MediaSize
;
730
private static final String TAG_MEDIA_SIZE = "
mediaSize
";
[
all
...]
/frameworks/support/v4/kitkat/android/support/v4/print/
PrintHelperKitkat.java
169
PrintAttributes.
MediaSize
mediaSize
= PrintAttributes.
MediaSize
.UNKNOWN_PORTRAIT;
171
mediaSize
= PrintAttributes.
MediaSize
.UNKNOWN_LANDSCAPE;
174
.setMediaSize(
mediaSize
)
439
builder.setMediaSize(PrintAttributes.
MediaSize
.UNKNOWN_LANDSCAPE);
441
builder.setMediaSize(PrintAttributes.
MediaSize
.UNKNOWN_PORTRAIT);
/frameworks/base/core/java/android/print/
PrinterCapabilitiesInfo.java
22
import android.print.PrintAttributes.
MediaSize
;
55
private List<
MediaSize
> mMediaSizes;
91
mMediaSizes = new ArrayList<
MediaSize
>(other.mMediaSizes);
121
public List<
MediaSize
> getMediaSizes() {
307
mMediaSizes = new ArrayList<
MediaSize
>();
310
mMediaSizes.add(
MediaSize
.createFromParcel(parcel));
397
* @param
mediaSize
A media size.
403
* @see PrintAttributes.
MediaSize
405
public Builder addMediaSize(
MediaSize
mediaSize
, boolean isDefault)
[
all
...]
PrintAttributes.java
48
private
MediaSize
mMediaSize;
59
mMediaSize = (parcel.readInt() == 1) ?
MediaSize
.createFromParcel(parcel) : null;
70
public
MediaSize
getMediaSize() {
81
public void setMediaSize(
MediaSize
mediaSize
) {
82
mMediaSize =
mediaSize
;
236
builder.append("
mediaSize
: ").append(mMediaSize);
274
public static final class
MediaSize
{
275
private static final String LOG_TAG = "
MediaSize
";
277
private static final Map<String,
MediaSize
> sIdToMediaSizeMap
[
all
...]
/packages/apps/Settings/src/com/android/settings/deviceinfo/
StorageVolumePreferenceCategory.java
328
final long dcimSize = totalValues(details.
mediaSize
, Environment.DIRECTORY_DCIM,
332
final long musicSize = totalValues(details.
mediaSize
, Environment.DIRECTORY_MUSIC,
337
final long downloadsSize = totalValues(details.
mediaSize
, Environment.DIRECTORY_DOWNLOADS);
StorageMeasurement.java
131
public HashMap<String, Long>
mediaSize
= Maps.newHashMap();
135
* {@link #
mediaSize
}.
420
details.
mediaSize
.put(type, size);
/prebuilts/maven_repo/android/com/android/support/support-v4/19.0.0/
support-v4-19.0.0.jar
/prebuilts/sdk/19/
android.jar
/prebuilts/sdk/current/
android.jar
Completed in 210 milliseconds