/cts/tests/tests/print/src/android/print/pdf/cts/ |
PrintedPdfDocumentTest.java | 39 private static final PrintAttributes.Margins ZERO_MARGINS = new PrintAttributes.Margins(0, 0, 0, 147 PrintAttributes.Margins margins = new PrintAttributes.Margins(50, 60, 70, 80); local 148 PrintAttributes attr = new PrintAttributes.Builder().setMinMargins(margins) 152 assertEquals(new Rect(milsToPts(margins.getLeftMils()), milsToPts(margins.getTopMils()), 153 milsToPts(attr.getMediaSize().getWidthMils()) - milsToPts(margins.getRightMils()), 155 milsToPts(margins.getBottomMils())), doc.getPageContentRect()) [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
ImageFloatingTextView.java | 102 int[] margins = null; local 104 margins = new int[mIndentLines + 1]; 106 margins[i] = endMargin; 110 builder.setIndents(margins, null); 112 builder.setIndents(null, margins);
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
PrintPreviewController.java | 25 import android.print.PrintAttributes.Margins; 133 Margins minMargins) { 300 Margins margins = (Margins) args.arg4; local 305 mediaSize, margins);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/ |
GuidelineHandler.java | 61 import com.android.ide.common.api.Margins; 135 * edges, and top and bottom edges offset by the applicable margins in each direction 141 * right edges offset by the applicable margins in each direction 320 Margins margins = node.getMargins(); local 322 if (margins.top != 0) { 324 mHorizontalEdges.add(new Segment(b.y - margins.top, b.x, b.x2(), node, id, 329 if (margins.bottom != 0) { 332 mHorizontalEdges.add(new Segment(b.y2() + margins.bottom, b.x, b.x2(), node, 340 if (margins.left != 0) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/ |
NodeProxy.java | 24 import com.android.ide.common.api.Margins; 59 private static final Margins NO_MARGINS = new Margins(0, 0, 0, 0); 97 public @NonNull Margins getMargins() { 101 Margins margins = view.getMargins(); local 102 if (margins != null) { 103 return margins;
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ui/ |
ViewInflater.java | 559 MarginLayoutParams margins = (MarginLayoutParams) layout; local 561 margins.bottomMargin = size; 563 margins.topMargin = size; 565 margins.leftMargin = size; 567 margins.rightMargin = size; [all...] |
/packages/services/BuiltInPrintService/jni/lib/ |
lib_wprint.c | 1590 float margins[NUM_PAGE_MARGINS]; local [all...] |
/frameworks/base/core/java/android/widget/ |
FastScroller.java | 120 * Padding in pixels around the preview text. Applied as layout margins to 615 // Apply the preview image's padding as layout margins. 616 final Rect margins = mTempMargins; local 617 margins.left = mPreviewImage.getPaddingLeft(); 618 margins.top = mPreviewImage.getPaddingTop(); 619 margins.right = mPreviewImage.getPaddingRight(); 620 margins.bottom = mPreviewImage.getPaddingBottom(); 623 measureFloating(v, margins, out); 625 measureViewToSide(v, mThumbImage, margins, out); 637 * @param margins Layout margins to apply to the view [all...] |
GridLayout.java | 105 * property is set, default margins around children are automatically 107 * Each of the margins so defined may be independently overridden by an assignment 228 * to their margins, before the edges of the resulting rectangle are aligned. 438 * Returns whether or not this GridLayout will allocate default margins when no 441 * @return {@code true} if default margins should be allocated 452 * When {@code true}, GridLayout allocates default margins around children 454 * margins so defined may be independently overridden by an assignment 457 * When {@code false}, the default value of all margins is zero. 465 * @param useDefaultMargins use {@code true} to make GridLayout allocate default margins 696 int[] margins = leading ? axis.getLeadingMargins() : axis.getTrailingMargins() local 1665 int[] margins = leading ? leadingMargins : trailingMargins; local [all...] |
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
PrintSpoolerService.java | 39 import android.print.PrintAttributes.Margins; 817 private static final String TAG_MARGINS = "margins"; 995 Margins margins = attributes.getMinMargins(); local 1268 Margins margins = new Margins(leftMils, topMils, rightMils, bottomMils); local [all...] |
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/ |
GridLayout.java | 101 * property is set, default margins around children are automatically 103 * Each of the margins so defined may be independently overridden by an assignment 213 * to their margins, before the edges of the resulting rectangle are aligned. 427 * Returns whether or not this GridLayout will allocate default margins when no 430 * @return {@code true} if default margins should be allocated 441 * When {@code true}, GridLayout allocates default margins around children 443 * margins so defined may be independently overridden by an assignment 446 * When {@code false}, the default value of all margins is zero. 454 * @param useDefaultMargins use {@code true} to make GridLayout allocate default margins 684 int[] margins = leading ? axis.getLeadingMargins() : axis.getTrailingMargins() local 1556 int[] margins = leading ? leadingMargins : trailingMargins; local [all...] |
/prebuilts/sdk/current/support/v7/gridlayout/libs/ |
android-support-v7-gridlayout.jar | |
/sdk/testapps/gridlayoutTest/v7-gridlayout/libs/ |
android-support-v7-gridlayout.jar | |
/prebuilts/tools/common/m2/repository/com/android/tools/external/propertysheet/1.0/ |
propertysheet-1.0.jar | |
/hardware/qcom/camera/msm8998/QCamera2/stack/common/ |
cam_types.h | 1538 cam_frame_margins_t margins; \/\/ Margins used by dual camera with spatial alignment block member in struct:__anon43940 1842 cam_frame_margins_t margins[MAX_NUM_STREAMS]; member in struct:__anon43980 [all...] |
/prebuilts/devtools/tools/lib/ |
org-eclipse-jface-3.6.2.jar | |
sdkuilib.jar | |
/prebuilts/tools/common/eclipse/ |
org.eclipse.jface_3.6.2.M20110210-1200.jar | |
org.eclipse.jface_3.4.2.M20090107-0800.jar | |
/prebuilts/tools/common/m2/repository/com/android/external/eclipse/org-eclipse-jface/3.6.2/ |
org-eclipse-jface-3.6.2.jar | |
/prebuilts/gradle-plugin/com/android/tools/sdkuilib/24.4.0-beta6/ |
sdkuilib-24.4.0-beta6.jar | |
/prebuilts/gradle-plugin/com/android/tools/sdkuilib/24.5.0/ |
sdkuilib-24.5.0.jar | |
/prebuilts/gradle-plugin/com/android/tools/sdkuilib/25.0.0-alpha1/ |
sdkuilib-25.0.0-alpha1.jar | |
/prebuilts/sdk/19/ |
android.jar | |
/prebuilts/sdk/21/ |
android.jar | |