/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/ |
D | GlifLayoutTest.java | 62 GlifLayout layout = new GlifLayout(context); in testDefaultTemplate() local 68 GlifLayout layout = new GlifLayout(context); in testSetHeaderText() local 79 GlifLayout layout = new GlifLayout(context); in testAddView() local 90 GlifLayout layout = new GlifLayout(context); in testGetScrollView() local 98 GlifLayout layout = new GlifLayout(context); in testSetPrimaryColor() local 119 GlifLayout layout = new GlifLayout(context); in testSetPrimaryColorTablet() local 141 GlifLayout layout = new GlifLayout(context); in testSetBackgroundBaseColor() local 152 GlifLayout layout = new GlifLayout(context); in testSetBackgroundBaseColorTablet() local 162 GlifLayout layout = new GlifLayout(context); in testSetBackgroundPatternedTrue() local 171 GlifLayout layout = new GlifLayout(context); in testSetBackgroundPatternedFalse() local [all …]
|
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/ |
D | SetupWizardLayoutTest.java | 67 SetupWizardLayout layout = new SetupWizardLayout(mContext); in testDefaultTemplate() local 73 SetupWizardLayout layout = new SetupWizardLayout(mContext); in testSetHeaderText() local 81 SetupWizardLayout layout = new SetupWizardLayout(mContext); in testAddView() local 93 SetupWizardLayout layout = (SetupWizardLayout) inflater.inflate(R.layout.test_layout, null); in testInflateFromXml() local 101 SetupWizardLayout layout = new SetupWizardLayout(mContext, R.layout.test_template); in testCustomTemplate() local 123 final SetupWizardLayout layout = new SetupWizardLayout(mContext); in testGetNavigationBar() local 134 final SetupWizardLayout layout = new SetupWizardLayout(mContext, R.layout.test_template); in testGetNavigationBarNull() local 141 final SetupWizardLayout layout = new SetupWizardLayout(mContext); in testShowProgressBar() local 152 final SetupWizardLayout layout = new SetupWizardLayout(mContext); in testHideProgressBar() local 166 final SetupWizardLayout layout = new SetupWizardLayout(mContext, R.layout.test_template); in testShowProgressBarNotExist() local [all …]
|
D | GlifListLayoutTest.java | 58 GlifListLayout layout = new GlifListLayout(mContext); in testDefaultTemplate() local 64 GlifListLayout layout = new GlifListLayout(mContext); in testAddView() local 77 GlifListLayout layout = (GlifListLayout) inflater.inflate(R.layout.test_glif_list_layout, null); in testInflateFromXml() local 83 GlifListLayout layout = new GlifListLayout(mContext); in testGetListView() local 90 GlifListLayout layout = new GlifListLayout(mContext); in testAdapter() local 105 GlifListLayout layout = new GlifListLayout(mContext); in testDividerInsetLegacy() local 120 GlifListLayout layout = new GlifListLayout(mContext); in testDividerInsets() local 134 private void assertListTemplateInflated(GlifListLayout layout) { in assertListTemplateInflated()
|
D | SetupWizardListLayoutTest.java | 59 SetupWizardListLayout layout = new SetupWizardListLayout(mContext); in testDefaultTemplate() local 65 SetupWizardListLayout layout = new SetupWizardListLayout(mContext); in testAddView() local 78 SetupWizardListLayout layout = in testInflateFromXml() local 85 final SetupWizardListLayout layout = new SetupWizardListLayout(mContext); in testShowProgressBar() local 96 SetupWizardListLayout layout = new SetupWizardListLayout(mContext); in testDividerInsetLegacy() local 111 SetupWizardListLayout layout = new SetupWizardListLayout(mContext); in testDividerInsets() local 125 private void assertListTemplateInflated(SetupWizardLayout layout) { in assertListTemplateInflated()
|
D | GlifLayoutTest.java | 59 GlifLayout layout = (GlifLayout) inflater.inflate(R.layout.test_glif_layout, null); in testInflateFromXml() local 68 GlifLayout layout = in testPrimaryColorFromXml() local 77 GlifLayout layout = new GlifLayout(mContext, R.layout.test_template); in testSetProgressBarShownInvalid() local 133 private void assertDefaultTemplateInflated(GlifLayout layout) { in assertDefaultTemplateInflated()
|
/frameworks/minikin/tests/unittest/ |
D | LayoutCoreTest.cpp | 74 auto layout = buildLayout("I", {"LayoutTestFont.ttf"}); in TEST() local 86 auto layout = buildLayout("II", {"LayoutTestFont.ttf"}); in TEST() local 102 auto layout = buildLayout("IV", {"LayoutTestFont.ttf"}); in TEST() local 129 auto layout = buildLayout("I\u3042", {"LayoutTestFont.ttf", "Hiragana.ttf"}); in TEST() local 145 auto layout = buildLayout("\u3042I", {"LayoutTestFont.ttf", "Hiragana.ttf"}); in TEST() local 168 auto layout = buildLayout("fi", {"Ligature.ttf"}); in TEST() local 181 auto layout = buildLayout("ff", {"Ligature.ttf"}); in TEST() local 194 auto layout = buildLayout("fi", {"Ligature.ttf"}, "'liga' off"); in TEST() local 207 auto layout = buildLayout("ff", {"Ligature.ttf"}, "'liga' off"); in TEST() local 222 auto layout = buildLayout("fii", {"Ligature.ttf"}); in TEST() local [all …]
|
D | LayoutTest.cpp | 64 Layout layout(text, range, Bidi::LTR, paint, StartHyphenEdit::NO_EDIT, in TEST_F() local 82 Layout layout(text, range, Bidi::LTR, paint, StartHyphenEdit::NO_EDIT, in TEST_F() local 100 Layout layout(text, range, Bidi::LTR, paint, StartHyphenEdit::NO_EDIT, in TEST_F() local 118 Layout layout(text, range, Bidi::LTR, paint, StartHyphenEdit::NO_EDIT, in TEST_F() local 148 Layout layout(text, range, Bidi::LTR, paint, StartHyphenEdit::NO_EDIT, in TEST_F() local 166 Layout layout(text, range, Bidi::LTR, paint, StartHyphenEdit::NO_EDIT, in TEST_F() local 185 Layout layout(text, range, Bidi::LTR, paint, StartHyphenEdit::NO_EDIT, in TEST_F() local 205 Layout layout(text, range, Bidi::LTR, paint, StartHyphenEdit::NO_EDIT, in TEST_F() local 238 Layout layout(text, range, Bidi::LTR, paint, StartHyphenEdit::NO_EDIT, in TEST_F() local 256 Layout layout(text, range, Bidi::LTR, paint, StartHyphenEdit::NO_EDIT, in TEST_F() local [all …]
|
/frameworks/opt/setupwizard/library/recyclerview/test/instrumentation/src/com/android/setupwizardlib/test/ |
D | SetupWizardRecyclerLayoutTest.java | 60 SetupWizardRecyclerLayout layout = new SetupWizardRecyclerLayout(mContext); in testDefaultTemplate() local 67 SetupWizardRecyclerLayout layout = in testInflateFromXml() local 74 SetupWizardRecyclerLayout layout = new SetupWizardRecyclerLayout(mContext); in testGetRecyclerView() local 81 SetupWizardRecyclerLayout layout = new SetupWizardRecyclerLayout(mContext); in testAdapter() local 94 SetupWizardRecyclerLayout layout = new SetupWizardRecyclerLayout(mContext); in testLayout() local 108 SetupWizardRecyclerLayout layout = new SetupWizardRecyclerLayout(mContext); in testDividerInsetLegacy() local 123 SetupWizardRecyclerLayout layout = new SetupWizardRecyclerLayout(mContext); in testDividerInsets() local 147 private void assertRecyclerTemplateInflated(SetupWizardRecyclerLayout layout) { in assertRecyclerTemplateInflated()
|
D | GlifRecyclerLayoutTest.java | 58 GlifRecyclerLayout layout = new GlifRecyclerLayout(mContext); in testDefaultTemplate() local 65 GlifRecyclerLayout layout = in testInflateFromXml() local 72 GlifRecyclerLayout layout = new GlifRecyclerLayout(mContext); in testGetRecyclerView() local 79 GlifRecyclerLayout layout = new GlifRecyclerLayout(mContext); in testAdapter() local 92 GlifRecyclerLayout layout = new GlifRecyclerLayout(mContext); in testLayout() local 106 GlifRecyclerLayout layout = new GlifRecyclerLayout(mContext); in testDividerInsetLegacy() local 121 GlifRecyclerLayout layout = new GlifRecyclerLayout(mContext); in testDividerInsets() local 145 private void assertRecyclerTemplateInflated(GlifRecyclerLayout layout) { in assertRecyclerTemplateInflated()
|
D | GlifPreferenceLayoutTest.java | 54 GlifPreferenceLayout layout = new GlifPreferenceLayout(mContext); in testDefaultTemplate() local 60 GlifPreferenceLayout layout = new GlifPreferenceLayout(mContext); in testGetRecyclerView() local 67 GlifPreferenceLayout layout = new GlifPreferenceLayout(mContext); in testOnCreateRecyclerView() local 77 GlifPreferenceLayout layout = new GlifPreferenceLayout(mContext); in testDividerInset() local 85 LayoutInflater.from(mContext), layout, null /* savedInstanceState */)); in testDividerInset() local 94 private void assertPreferenceTemplateInflated(GlifPreferenceLayout layout) { in assertPreferenceTemplateInflated()
|
D | SetupWizardPreferenceLayoutTest.java | 55 SetupWizardPreferenceLayout layout = new SetupWizardPreferenceLayout(mContext); in testDefaultTemplate() local 61 SetupWizardPreferenceLayout layout = new SetupWizardPreferenceLayout(mContext); in testGetRecyclerView() local 68 SetupWizardPreferenceLayout layout = new SetupWizardPreferenceLayout(mContext); in testOnCreateRecyclerView() local 78 SetupWizardPreferenceLayout layout = new SetupWizardPreferenceLayout(mContext); in testDividerInset() local 86 LayoutInflater.from(mContext), layout, null /* savedInstanceState */)); in testDividerInset() local 95 private void assertPreferenceTemplateInflated(SetupWizardPreferenceLayout layout) { in assertPreferenceTemplateInflated()
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | LayoutTest.java | 89 Layout layout = new MockLayout(text, mTextPaint, mWidth, in testGetText() local 99 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, in testGetPaint() local 110 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, 10, in testGetWidth() local 120 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, 15, in testGetEllipsizedWidth() local 130 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, in testIncreaseWidthTo() local 149 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, in testGetHeight() local 156 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, in testGetAlignment() local 166 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, mAlign, -1, mSpacingAdd); in testGetSpacingMultiplier() local 175 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, mAlign, mSpacingMult, -1); in testGetSpacingAdd() local 184 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, in testGetLineBounds() local [all …]
|
D | DynamicLayoutTest.java | 48 final DynamicLayout layout = new DynamicLayout(builder, new TextPaint(), WIDTH, in testGetBlocksAlwaysNeedToBeRedrawn_en() local 74 final DynamicLayout layout = new DynamicLayout(builder, new TextPaint(), WIDTH, in testGetBlocksAlwaysNeedToBeRedrawn_replacementSpan() local 103 final DynamicLayout layout = new DynamicLayout(builder, new TextPaint(), WIDTH, in testGetBlocksAlwaysNeedToBeRedrawn_thai() local 182 final DynamicLayout layout = new DynamicLayout("", new TextPaint(), 10 /*width*/, in testGetLineExtra_withNegativeValue() local 189 final DynamicLayout layout = new DynamicLayout("", new TextPaint(), 10 /*width*/, in testGetLineExtra_withParamGreaterThanLineCount() local 202 final DynamicLayout layout = new DynamicLayout(spannable, new TextPaint(), WIDTH, in testReflow_afterSpannableEdit() local 246 DynamicLayout layout = DynamicLayout.Builder in testFallbackLineSpacing() local 292 final DynamicLayout layout = builder.build(); in testBuilder_defaultTextDirection() local 301 final DynamicLayout layout = builder.build(); in testBuilder_setTextDirection() local
|
D | StaticLayoutTest.java | 84 final StaticLayout layout = builder.build(); in testBuilder_textDirection() local 94 final StaticLayout layout = builder.build(); in testBuilder_textDirection() local 288 final Layout layout = builder().build(); in testGetLineExtra_withNegativeValue() local 294 final Layout layout = builder().build(); in testGetLineExtra_withParamGreaterThanLineCount() local 432 final Layout layout = builder().setText(state.mText.toString()).setPaint(paint).build(); in moveCursorToRightCursorableOffset() local 439 final Layout layout = builder().setText(state.mText.toString()).setPaint(paint).build(); in moveCursorToLeftCursorableOffset() local 533 StaticLayout layout = createEllipsizeStaticLayout(LAYOUT_TEXT_SINGLE_LINE, in testEllipsis_singleLine() local 539 StaticLayout layout = createEllipsizeStaticLayout(LAYOUT_TEXT_SINGLE_LINE, in testEllipsis_singleLine() local 545 StaticLayout layout = createEllipsizeStaticLayout(LAYOUT_TEXT_SINGLE_LINE, in testEllipsis_singleLine() local 551 StaticLayout layout = createEllipsizeStaticLayout(LAYOUT_TEXT_SINGLE_LINE, in testEllipsis_singleLine() local [all …]
|
D | StaticLayoutTextMeasuringTest.java | 55 StaticLayout layout = new StaticLayout(testString, mDefaultPaint, in testGetPrimaryHorizontal_zwnbsp() local 66 StaticLayout layout = new StaticLayout(testString, mDefaultPaint, in testGetPrimaryHorizontal_devanagari() local 79 StaticLayout layout = new StaticLayout(testString, mDefaultPaint, in testGetPrimaryHorizontal_flagEmoji() local
|
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/ |
D | TemplateLayoutTest.java | 51 TemplateLayout layout = in testAddView() local 63 TemplateLayout layout = (TemplateLayout) inflater.inflate(R.layout.test_template_layout, null); in testInflateFromXml() local 70 TemplateLayout layout = in testTemplate() local 97 TemplateLayout layout = in testGetMixin() local
|
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/view/ |
D | FillContentLayoutTest.java | 36 FillContentLayout layout = in testMeasureMinSize() local 54 FillContentLayout layout = in testMeasureChildIsSmallerThanMaxSize() local 73 FillContentLayout layout = in testMeasureChildIsSmallerThanParent() local
|
/frameworks/base/core/java/android/text/ |
D | Selection.java | 198 public static boolean moveUp(Spannable text, Layout layout) { in moveUp() 232 private static void setSelectionAndMemory(Spannable text, Layout layout, int line, int end, in setSelectionAndMemory() 269 public static boolean moveDown(Spannable text, Layout layout) { in moveDown() 305 public static boolean moveLeft(Spannable text, Layout layout) { in moveLeft() 330 public static boolean moveRight(Spannable text, Layout layout) { in moveRight() 353 public static boolean extendUp(Spannable text, Layout layout) { in extendUp() 372 public static boolean extendDown(Spannable text, Layout layout) { in extendDown() 391 public static boolean extendLeft(Spannable text, Layout layout) { in extendLeft() 407 public static boolean extendRight(Spannable text, Layout layout) { in extendRight() 419 public static boolean extendToLeftEdge(Spannable text, Layout layout) { in extendToLeftEdge() [all …]
|
/frameworks/base/core/java/android/text/method/ |
D | ArrowKeyMovementMethod.java | 38 private static int getCurrentLineTop(Spannable buffer, Layout layout) { in getCurrentLineTop() 70 final Layout layout = widget.getLayout(); in left() local 80 final Layout layout = widget.getLayout(); in right() local 90 final Layout layout = widget.getLayout(); in up() local 100 final Layout layout = widget.getLayout(); in down() local 110 final Layout layout = widget.getLayout(); in pageUp() local 134 final Layout layout = widget.getLayout(); in pageDown() local 178 final Layout layout = widget.getLayout(); in lineStart() local 188 final Layout layout = widget.getLayout(); in lineEnd() local
|
/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/ |
D | DpiTestActivity.java | 85 LinearLayout layout = new LinearLayout(this); in onCreate() local 159 private void addChildToRoot(LinearLayout root, LinearLayout layout) { in addChildToRoot() 164 private void addBitmapDrawable(LinearLayout layout, int resource, boolean scale) { in addBitmapDrawable() 179 private void addResourceDrawable(LinearLayout layout, int resource) { in addResourceDrawable() 190 private void addCanvasBitmap(LinearLayout layout, int resource, boolean scale) { in addCanvasBitmap() 201 private void addNinePatchResourceDrawable(LinearLayout layout, int resource) { in addNinePatchResourceDrawable()
|
/frameworks/ml/nn/runtime/test/generated/models/ |
D | depth_to_space_v1_2.model.cpp | 11 auto layout = model->addOperand(&type0); in CreateModel_nhwc() local 39 auto layout = model->addOperand(&type0); in CreateModel_nhwc_relaxed() local 69 auto layout = model->addOperand(&type0); in CreateModel_nhwc_float16() local 97 auto layout = model->addOperand(&type0); in CreateModel_nhwc_quant8() local 125 auto layout = model->addOperand(&type0); in CreateModel_nchw() local 153 auto layout = model->addOperand(&type0); in CreateModel_nchw_relaxed() local 183 auto layout = model->addOperand(&type0); in CreateModel_nchw_float16() local 211 auto layout = model->addOperand(&type0); in CreateModel_nchw_quant8() local 239 auto layout = model->addOperand(&type0); in CreateModel_dynamic_output_shape_nhwc() local 267 auto layout = model->addOperand(&type0); in CreateModel_dynamic_output_shape_nhwc_relaxed() local [all …]
|
D | space_to_depth_v1_2.model.cpp | 11 auto layout = model->addOperand(&type0); in CreateModel_nhwc() local 39 auto layout = model->addOperand(&type0); in CreateModel_nhwc_relaxed() local 69 auto layout = model->addOperand(&type0); in CreateModel_nhwc_float16() local 97 auto layout = model->addOperand(&type0); in CreateModel_nhwc_quant8() local 125 auto layout = model->addOperand(&type0); in CreateModel_nchw() local 153 auto layout = model->addOperand(&type0); in CreateModel_nchw_relaxed() local 183 auto layout = model->addOperand(&type0); in CreateModel_nchw_float16() local 211 auto layout = model->addOperand(&type0); in CreateModel_nchw_quant8() local 239 auto layout = model->addOperand(&type0); in CreateModel_dynamic_output_shape_nhwc() local 267 auto layout = model->addOperand(&type0); in CreateModel_dynamic_output_shape_nhwc_relaxed() local [all …]
|
/frameworks/base/core/java/android/widget/ |
D | ResourceCursorAdapter.java | 54 public ResourceCursorAdapter(Context context, int layout, Cursor c) { in ResourceCursorAdapter() 77 public ResourceCursorAdapter(Context context, int layout, Cursor c, boolean autoRequery) { in ResourceCursorAdapter() 95 public ResourceCursorAdapter(Context context, int layout, Cursor c, int flags) { in ResourceCursorAdapter() 148 public void setViewResource(int layout) { in setViewResource()
|
/frameworks/base/apct-tests/perftests/core/src/android/text/ |
D | StaticLayoutPerfTest.java | 266 final StaticLayout layout = in testDraw_FixedText_NoStyled() local 283 final StaticLayout layout = in testDraw_RandomText_Styled() local 300 final StaticLayout layout = in testDraw_RandomText_NoStyled() local 317 final StaticLayout layout = in testDraw_RandomText_Styled_WithoutCache() local 335 final StaticLayout layout = in testDraw_RandomText_NoStyled_WithoutCache() local 354 final StaticLayout layout = in testDraw_PrecomputedText_Styled() local 372 final StaticLayout layout = in testDraw_PrecomputedText_NoStyled() local 390 final StaticLayout layout = in testDraw_PrecomputedText_Styled_WithoutCache() local 409 final StaticLayout layout = in testDraw_PrecomputedText_NoStyled_WithoutCache() local
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | TaskLaunchParamsModifierTests.java | 307 final ActivityInfo.WindowLayout layout = new WindowLayoutBuilder() in testNonEmptyLayoutInfersFreeformOnFreeformDisplay() local 324 final ActivityInfo.WindowLayout layout = new WindowLayoutBuilder() in testNonEmptyLayoutInfersFreeformWithEmptySize() local 336 final ActivityInfo.WindowLayout layout = new WindowLayoutBuilder() in testNonEmptyLayoutUsesFullscreenWithResizeableActivity() local 567 final ActivityInfo.WindowLayout layout = new WindowLayoutBuilder() in testNonEmptyLayoutBoundsRespectsGravityWithEmptySize_LeftGravity() local 583 final ActivityInfo.WindowLayout layout = new WindowLayoutBuilder() in testNonEmptyLayoutBoundsRespectsGravityWithEmptySize_TopGravity() local 599 final ActivityInfo.WindowLayout layout = new WindowLayoutBuilder() in testNonEmptyLayoutBoundsRespectsGravityWithEmptySize_TopLeftGravity() local 616 final ActivityInfo.WindowLayout layout = new WindowLayoutBuilder() in testNonEmptyLayoutBoundsRespectsGravityWithEmptySize_RightGravity() local 632 final ActivityInfo.WindowLayout layout = new WindowLayoutBuilder() in testNonEmptyLayoutBoundsRespectsGravityWithEmptySize_BottomGravity() local 648 final ActivityInfo.WindowLayout layout = new WindowLayoutBuilder() in testNonEmptyLayoutBoundsRespectsGravityWithEmptySize_BottomRightGravity() local 665 final ActivityInfo.WindowLayout layout = new WindowLayoutBuilder() in testNonEmptyLayoutBoundsOnFreeformDisplay_CenterToDisplay() local [all …]
|