Lines Matching refs:MediaSize
40 import android.print.PrintAttributes.MediaSize;
813 private static final String TAG_MEDIA_SIZE = "mediaSize";
957 MediaSize mediaSize = attributes.getMediaSize();
958 if (mediaSize != null) {
960 serializer.attribute(null, ATTR_ID, mediaSize.getId());
962 mediaSize.getWidthMils()));
964 mediaSize.getHeightMils()));
967 if (!TextUtils.isEmpty(mediaSize.mPackageName)
968 && mediaSize.mLabelResId > 0) {
970 mediaSize.mPackageName);
972 String.valueOf(mediaSize.mLabelResId));
975 mediaSize.getLabel(getPackageManager()));
1231 MediaSize mediaSize = new MediaSize(id, label, packageName,
1233 builder.setMediaSize(mediaSize);