/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/ |
D | GlifLayoutTest.java | 68 GlifLayout layout = new GlifLayout(mContext); in testDefaultTemplate() local 69 assertDefaultTemplateInflated(layout); in testDefaultTemplate() 74 GlifLayout layout = new GlifLayout(mContext); in testSetHeaderText() local 75 TextView title = (TextView) layout.findViewById(R.id.suw_layout_title); in testSetHeaderText() 76 layout.setHeaderText("Abracadabra"); in testSetHeaderText() 83 GlifLayout layout = new GlifLayout(mContext); in testAddView() local 86 layout.addView(tv); in testAddView() 87 assertDefaultTemplateInflated(layout); in testAddView() 88 View view = layout.findViewById(testViewId); in testAddView() 94 GlifLayout layout = new GlifLayout(mContext); in testGetScrollView() local [all …]
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | StaticLayoutLineBreakingTest.java | 133 private static void layout(CharSequence source, int[] breaks) { in layout() method in StaticLayoutLineBreakingTest 134 layout(source, breaks, WIDTH); in layout() 137 private static void layout(CharSequence source, int[] breaks, int width) { in layout() method in StaticLayoutLineBreakingTest 239 layout("", NO_BREAK); in testNoLineBreak() 240 layout("I", NO_BREAK); in testNoLineBreak() 241 layout("V", NO_BREAK); in testNoLineBreak() 242 layout("X", NO_BREAK); in testNoLineBreak() 243 layout("L", NO_BREAK); in testNoLineBreak() 244 layout("I VILI", NO_BREAK); in testNoLineBreak() 245 layout("XXXX", NO_BREAK); in testNoLineBreak() [all …]
|
D | LayoutTest.java | 84 Layout layout = new MockLayout(text, mTextPaint, mWidth, in testGetText() local 86 assertEquals(text, layout.getText()); in testGetText() 88 layout = new MockLayout(null, mTextPaint, mWidth, mAlign, mSpacingMult, mSpacingAdd); in testGetText() 89 assertNull(layout.getText()); in testGetText() 94 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, in testGetPaint() local 97 assertSame(mTextPaint, layout.getPaint()); in testGetPaint() 99 layout = new MockLayout(LAYOUT_TEXT, null, mWidth, mAlign, mSpacingMult, mSpacingAdd); in testGetPaint() 100 assertNull(layout.getPaint()); in testGetPaint() 105 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, 10, in testGetWidth() local 107 assertEquals(10, layout.getWidth()); in testGetWidth() [all …]
|
D | StaticLayoutTextMeasuringTest.java | 54 StaticLayout layout = new StaticLayout(testString, mDefaultPaint, in testGetPrimaryHorizontal_zwnbsp() local 57 assertEquals(0.0f, layout.getPrimaryHorizontal(0), 0f); in testGetPrimaryHorizontal_zwnbsp() 58 assertEquals(layout.getPrimaryHorizontal(2), layout.getPrimaryHorizontal(1), 0f); in testGetPrimaryHorizontal_zwnbsp() 65 StaticLayout layout = new StaticLayout(testString, mDefaultPaint, in testGetPrimaryHorizontal_devanagari() local 68 assertEquals(0.0f, layout.getPrimaryHorizontal(0), 0f); in testGetPrimaryHorizontal_devanagari() 69 assertEquals(layout.getPrimaryHorizontal(2), layout.getPrimaryHorizontal(1), 0f); in testGetPrimaryHorizontal_devanagari() 78 StaticLayout layout = new StaticLayout(testString, mDefaultPaint, in testGetPrimaryHorizontal_flagEmoji() local 81 assertEquals(0.0f, layout.getPrimaryHorizontal(0), 0f); in testGetPrimaryHorizontal_flagEmoji() 82 assertEquals(layout.getPrimaryHorizontal(4), layout.getPrimaryHorizontal(1), 0f); in testGetPrimaryHorizontal_flagEmoji() 83 assertEquals(layout.getPrimaryHorizontal(4), layout.getPrimaryHorizontal(2), 0f); in testGetPrimaryHorizontal_flagEmoji() [all …]
|
D | DynamicLayoutTest.java | 43 final DynamicLayout layout = new DynamicLayout(builder, new TextPaint(), WIDTH, in testGetBlocksAlwaysNeedToBeRedrawn_en() local 46 assertNull(layout.getBlocksAlwaysNeedToBeRedrawn()); in testGetBlocksAlwaysNeedToBeRedrawn_en() 50 assertNull(layout.getBlocksAlwaysNeedToBeRedrawn()); in testGetBlocksAlwaysNeedToBeRedrawn_en() 53 assertNull(layout.getBlocksAlwaysNeedToBeRedrawn()); in testGetBlocksAlwaysNeedToBeRedrawn_en() 69 final DynamicLayout layout = new DynamicLayout(builder, new TextPaint(), WIDTH, in testGetBlocksAlwaysNeedToBeRedrawn_replacementSpan() local 72 assertNull(layout.getBlocksAlwaysNeedToBeRedrawn()); in testGetBlocksAlwaysNeedToBeRedrawn_replacementSpan() 76 assertNull(layout.getBlocksAlwaysNeedToBeRedrawn()); in testGetBlocksAlwaysNeedToBeRedrawn_replacementSpan() 79 assertNotNull(layout.getBlocksAlwaysNeedToBeRedrawn()); in testGetBlocksAlwaysNeedToBeRedrawn_replacementSpan() 80 assertTrue(layout.getBlocksAlwaysNeedToBeRedrawn().contains(0)); in testGetBlocksAlwaysNeedToBeRedrawn_replacementSpan() 83 assertTrue(layout.getBlocksAlwaysNeedToBeRedrawn().contains(0)); in testGetBlocksAlwaysNeedToBeRedrawn_replacementSpan() [all …]
|
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/ |
D | SetupWizardLayoutTest.java | 69 SetupWizardLayout layout = new SetupWizardLayout(mContext); in testDefaultTemplate() local 70 assertDefaultTemplateInflated(layout); in testDefaultTemplate() 75 SetupWizardLayout layout = new SetupWizardLayout(mContext); in testSetHeaderText() local 76 TextView title = (TextView) layout.findViewById(R.id.suw_layout_title); in testSetHeaderText() 77 layout.setHeaderText("Abracadabra"); in testSetHeaderText() 83 SetupWizardLayout layout = new SetupWizardLayout(mContext); in testAddView() local 86 layout.addView(tv); in testAddView() 87 assertDefaultTemplateInflated(layout); in testAddView() 88 View view = layout.findViewById(R.id.test_view_id); in testAddView() 95 SetupWizardLayout layout = (SetupWizardLayout) inflater.inflate(R.layout.test_layout, null); in testInflateFromXml() local [all …]
|
D | GlifListLayoutTest.java | 60 GlifListLayout layout = new GlifListLayout(mContext); in testDefaultTemplate() local 61 assertListTemplateInflated(layout); in testDefaultTemplate() 66 GlifListLayout layout = new GlifListLayout(mContext); in testAddView() local 69 layout.addView(tv); in testAddView() 79 GlifListLayout layout = (GlifListLayout) in testInflateFromXml() local 80 inflater.inflate(R.layout.test_glif_list_layout, null); in testInflateFromXml() 81 assertListTemplateInflated(layout); in testInflateFromXml() 86 GlifListLayout layout = new GlifListLayout(mContext); in testGetListView() local 87 assertListTemplateInflated(layout); in testGetListView() 88 assertNotNull("getListView should not be null", layout.getListView()); in testGetListView() [all …]
|
D | SetupWizardListLayoutTest.java | 60 SetupWizardListLayout layout = new SetupWizardListLayout(mContext); in testDefaultTemplate() local 61 assertListTemplateInflated(layout); in testDefaultTemplate() 66 SetupWizardListLayout layout = new SetupWizardListLayout(mContext); in testAddView() local 69 layout.addView(tv); in testAddView() 79 SetupWizardListLayout layout = (SetupWizardListLayout) in testInflateFromXml() local 80 inflater.inflate(R.layout.test_list_layout, null); in testInflateFromXml() 81 assertListTemplateInflated(layout); in testInflateFromXml() 86 final SetupWizardListLayout layout = new SetupWizardListLayout(mContext); in testShowProgressBar() local 87 layout.showProgressBar(); in testShowProgressBar() 88 assertTrue("Progress bar should be shown", layout.isProgressBarShown()); in testShowProgressBar() [all …]
|
D | GlifLayoutTest.java | 61 GlifLayout layout = (GlifLayout) inflater.inflate(R.layout.test_glif_layout, null); in testInflateFromXml() local 62 assertDefaultTemplateInflated(layout); in testInflateFromXml() 63 View content = layout.findViewById(R.id.test_content); in testInflateFromXml() 70 GlifLayout layout = in testPrimaryColorFromXml() local 71 (GlifLayout) inflater.inflate(R.layout.test_glif_layout_primary_color, null); in testPrimaryColorFromXml() 72 assertDefaultTemplateInflated(layout); in testPrimaryColorFromXml() 74 assertEquals(ColorStateList.valueOf(Color.RED), layout.getPrimaryColor()); in testPrimaryColorFromXml() 79 GlifLayout layout = new GlifLayout(mContext, R.layout.test_template); in testSetProgressBarShownInvalid() local 80 layout.setProgressBarShown(true); in testSetProgressBarShownInvalid() 130 private void assertDefaultTemplateInflated(GlifLayout layout) { in assertDefaultTemplateInflated() argument [all …]
|
/frameworks/base/core/java/android/text/ |
D | Selection.java | 122 public static boolean moveUp(Spannable text, Layout layout) { in moveUp() argument 138 int line = layout.getLineForOffset(end); in moveUp() 143 if (layout.getParagraphDirection(line) == in moveUp() 144 layout.getParagraphDirection(line - 1)) { in moveUp() 145 float h = layout.getPrimaryHorizontal(end); in moveUp() 146 move = layout.getOffsetForHorizontal(line - 1, h); in moveUp() 148 move = layout.getLineStart(line - 1); in moveUp() 168 public static boolean moveDown(Spannable text, Layout layout) { in moveDown() argument 184 int line = layout.getLineForOffset(end); in moveDown() 186 if (line < layout.getLineCount() - 1) { in moveDown() [all …]
|
/frameworks/opt/setupwizard/library/recyclerview/test/instrumentation/src/com/android/setupwizardlib/test/ |
D | SetupWizardRecyclerLayoutTest.java | 61 SetupWizardRecyclerLayout layout = new SetupWizardRecyclerLayout(mContext); in testDefaultTemplate() local 62 assertRecyclerTemplateInflated(layout); in testDefaultTemplate() 68 SetupWizardRecyclerLayout layout = (SetupWizardRecyclerLayout) in testInflateFromXml() local 69 inflater.inflate(R.layout.test_recycler_layout, null); in testInflateFromXml() 70 assertRecyclerTemplateInflated(layout); in testInflateFromXml() 75 SetupWizardRecyclerLayout layout = new SetupWizardRecyclerLayout(mContext); in testGetRecyclerView() local 76 assertRecyclerTemplateInflated(layout); in testGetRecyclerView() 77 assertNotNull("getRecyclerView should not be null", layout.getRecyclerView()); in testGetRecyclerView() 82 SetupWizardRecyclerLayout layout = new SetupWizardRecyclerLayout(mContext); in testAdapter() local 83 assertRecyclerTemplateInflated(layout); in testAdapter() [all …]
|
D | GlifRecyclerLayoutTest.java | 60 GlifRecyclerLayout layout = new GlifRecyclerLayout(mContext); in testDefaultTemplate() local 61 assertRecyclerTemplateInflated(layout); in testDefaultTemplate() 67 GlifRecyclerLayout layout = (GlifRecyclerLayout) in testInflateFromXml() local 68 inflater.inflate(R.layout.test_glif_recycler_layout, null); in testInflateFromXml() 69 assertRecyclerTemplateInflated(layout); in testInflateFromXml() 74 GlifRecyclerLayout layout = new GlifRecyclerLayout(mContext); in testGetRecyclerView() local 75 assertRecyclerTemplateInflated(layout); in testGetRecyclerView() 76 assertNotNull("getRecyclerView should not be null", layout.getRecyclerView()); in testGetRecyclerView() 81 GlifRecyclerLayout layout = new GlifRecyclerLayout(mContext); in testAdapter() local 82 assertRecyclerTemplateInflated(layout); in testAdapter() [all …]
|
D | GlifPreferenceLayoutTest.java | 56 GlifPreferenceLayout layout = new GlifPreferenceLayout(mContext); in testDefaultTemplate() local 57 assertPreferenceTemplateInflated(layout); in testDefaultTemplate() 62 GlifPreferenceLayout layout = new GlifPreferenceLayout(mContext); in testGetRecyclerView() local 63 assertPreferenceTemplateInflated(layout); in testGetRecyclerView() 64 assertNotNull("getRecyclerView should not be null", layout.getRecyclerView()); in testGetRecyclerView() 69 GlifPreferenceLayout layout = new GlifPreferenceLayout(mContext); in testOnCreateRecyclerView() local 70 assertPreferenceTemplateInflated(layout); in testOnCreateRecyclerView() 71 final RecyclerView recyclerView = layout.onCreateRecyclerView(LayoutInflater.from(mContext), in testOnCreateRecyclerView() 72 layout, null /* savedInstanceState */); in testOnCreateRecyclerView() 78 GlifPreferenceLayout layout = new GlifPreferenceLayout(mContext); in testDividerInset() local [all …]
|
D | SetupWizardPreferenceLayoutTest.java | 56 SetupWizardPreferenceLayout layout = new SetupWizardPreferenceLayout(mContext); in testDefaultTemplate() local 57 assertPreferenceTemplateInflated(layout); in testDefaultTemplate() 62 SetupWizardPreferenceLayout layout = new SetupWizardPreferenceLayout(mContext); in testGetRecyclerView() local 63 assertPreferenceTemplateInflated(layout); in testGetRecyclerView() 64 assertNotNull("getRecyclerView should not be null", layout.getRecyclerView()); in testGetRecyclerView() 69 SetupWizardPreferenceLayout layout = new SetupWizardPreferenceLayout(mContext); in testOnCreateRecyclerView() local 70 assertPreferenceTemplateInflated(layout); in testOnCreateRecyclerView() 71 final RecyclerView recyclerView = layout.onCreateRecyclerView(LayoutInflater.from(mContext), in testOnCreateRecyclerView() 72 layout, null /* savedInstanceState */); in testOnCreateRecyclerView() 78 SetupWizardPreferenceLayout layout = new SetupWizardPreferenceLayout(mContext); in testDividerInset() local [all …]
|
/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/ |
D | DpiTestActivity.java | 85 LinearLayout layout = new LinearLayout(this); in onCreate() local 86 addBitmapDrawable(layout, R.drawable.logo120dpi, true); in onCreate() 87 addBitmapDrawable(layout, R.drawable.logo160dpi, true); in onCreate() 88 addBitmapDrawable(layout, R.drawable.logo240dpi, true); in onCreate() 90 addChildToRoot(root, layout); in onCreate() 92 layout = new LinearLayout(this); in onCreate() 93 addBitmapDrawable(layout, R.drawable.logo120dpi, false); in onCreate() 94 addBitmapDrawable(layout, R.drawable.logo160dpi, false); in onCreate() 95 addBitmapDrawable(layout, R.drawable.logo240dpi, false); in onCreate() 97 addChildToRoot(root, layout); in onCreate() [all …]
|
/frameworks/minikin/tests/unittest/ |
D | LayoutTest.cpp | 73 Layout layout; in TEST_F() local 80 layout.doLayout(text.data(), 0, text.size(), text.size(), kBidi_LTR, FontStyle(), paint, in TEST_F() 82 EXPECT_EQ(70.0f, layout.getAdvance()); in TEST_F() 83 layout.getBounds(&rect); in TEST_F() 89 layout.getAdvances(advances); in TEST_F() 99 layout.doLayout(text.data(), 0, text.size(), text.size(), kBidi_LTR, FontStyle(), paint, in TEST_F() 101 EXPECT_EQ(90.0f, layout.getAdvance()); in TEST_F() 102 layout.getBounds(&rect); in TEST_F() 108 layout.getAdvances(advances); in TEST_F() 118 layout.doLayout(text.data(), 0, text.size(), text.size(), kBidi_LTR, FontStyle(), paint, in TEST_F() [all …]
|
/frameworks/base/core/java/android/text/method/ |
D | ArrowKeyMovementMethod.java | 38 private static int getCurrentLineTop(Spannable buffer, Layout layout) { in getCurrentLineTop() argument 39 return layout.getLineTop(layout.getLineForOffset(Selection.getSelectionEnd(buffer))); in getCurrentLineTop() 70 final Layout layout = widget.getLayout(); in left() local 72 return Selection.extendLeft(buffer, layout); in left() 74 return Selection.moveLeft(buffer, layout); in left() 80 final Layout layout = widget.getLayout(); in right() local 82 return Selection.extendRight(buffer, layout); in right() 84 return Selection.moveRight(buffer, layout); in right() 90 final Layout layout = widget.getLayout(); in up() local 92 return Selection.extendUp(buffer, layout); in up() [all …]
|
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/ |
D | TemplateLayoutTest.java | 53 TemplateLayout layout = new TemplateLayout(mContext, R.layout.test_template, in testAddView() local 57 layout.addView(tv); in testAddView() 58 View view = layout.findViewById(R.id.test_view_id); in testAddView() 65 TemplateLayout layout = in testInflateFromXml() local 66 (TemplateLayout) inflater.inflate(R.layout.test_template_layout, null); in testInflateFromXml() 67 View content = layout.findViewById(R.id.test_content); in testInflateFromXml() 73 TemplateLayout layout = new TemplateLayout(mContext, R.layout.test_template, in testTemplate() local 75 View templateView = layout.findViewById(R.id.test_template_view); in testTemplate() 80 layout.addView(tv); in testTemplate() 82 templateView = layout.findViewById(R.id.test_template_view); in testTemplate() [all …]
|
/frameworks/support/emoji/core/tests/java/android/support/text/emoji/widget/ |
D | EmojiExtractTextLayoutTest.java | 73 final EmojiExtractTextLayout layout = (EmojiExtractTextLayout) LayoutInflater.from(context) in testInflate() local 74 .inflate(android.support.text.emoji.test.R.layout.extract_view, null); in testInflate() 76 final EmojiExtractEditText extractEditText = layout.findViewById( in testInflate() 80 final ViewGroup inputExtractAccessories = layout.findViewById( in testInflate() 94 final EmojiExtractTextLayout layout = (EmojiExtractTextLayout) LayoutInflater.from(context) in testSetEmojiReplaceStrategy() local 95 .inflate(android.support.text.emoji.test.R.layout.extract_view_with_attrs, null); in testSetEmojiReplaceStrategy() 97 assertEquals(EmojiCompat.REPLACE_STRATEGY_NON_EXISTENT, layout.getEmojiReplaceStrategy()); in testSetEmojiReplaceStrategy() 99 final EmojiExtractEditText extractEditText = layout.findViewById( in testSetEmojiReplaceStrategy() 105 layout.setEmojiReplaceStrategy(EmojiCompat.REPLACE_STRATEGY_ALL); in testSetEmojiReplaceStrategy() 106 assertEquals(EmojiCompat.REPLACE_STRATEGY_ALL, layout.getEmojiReplaceStrategy()); in testSetEmojiReplaceStrategy() [all …]
|
/frameworks/base/libs/hwui/hwui/ |
D | Canvas.cpp | 94 DrawTextFunctor(const minikin::Layout& layout, Canvas* canvas, in DrawTextFunctor() argument 97 : layout(layout) in DrawTextFunctor() 110 text[textIndex++] = layout.getGlyphId(i); in operator ()() 111 positions[posIndex++] = x + layout.getX(i); in operator ()() 112 positions[posIndex++] = y + layout.getY(i); in operator ()() 116 text[textIndex++] = layout.getGlyphId(i); in operator ()() 117 positions[posIndex++] = layout.getX(i); in operator ()() 118 positions[posIndex++] = layout.getY(i); in operator ()() 151 const minikin::Layout& layout; member in android::DrawTextFunctor 165 minikin::Layout layout = MinikinUtils::doLayout( in drawText() local [all …]
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | TextGammaActivity.java | 37 final LinearLayout layout = new LinearLayout(this); in onCreate() local 38 layout.setOrientation(LinearLayout.VERTICAL); in onCreate() 41 layout.addView(gamma, new LinearLayout.LayoutParams( in onCreate() 45 setContentView(layout); in onCreate() 47 layout.post(new Runnable() { in onCreate() 58 layout.addView(image, new LinearLayout.LayoutParams( in onCreate() 77 inflater.inflate(R.layout.text_large, this, true); in GammaTextView() 78 inflater.inflate(R.layout.text_medium, this, true); in GammaTextView() 79 inflater.inflate(R.layout.text_small, this, true); in GammaTextView() 88 final LinearLayout layout = new LinearLayout(this); in onCreate() local [all …]
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | RemoteViewsTest.java | 73 RemoteViews original = new RemoteViews(mPackage, R.layout.remote_views_test); in clone_doesNotCopyBitmap() 86 RemoteViews original = new RemoteViews(mPackage, R.layout.remote_views_test); in clone_originalCanStillBeApplied() 95 RemoteViews original = new RemoteViews(mPackage, R.layout.remote_views_test); in clone_clones() 107 RemoteViews original = new RemoteViews(mPackage, R.layout.remote_views_test); in clone_child_fails() 108 RemoteViews child = new RemoteViews(mPackage, R.layout.remote_views_test); in clone_child_fails() 110 original.addView(R.id.layout, child); in clone_child_fails() 118 RemoteViews original = new RemoteViews(mPackage, R.layout.remote_views_test); in clone_repeatedly() 128 RemoteViews original = new RemoteViews(mPackage, R.layout.remote_views_test); in clone_chained() 137 RemoteViews original = new RemoteViews(mPackage, R.layout.remote_views_test); in parcelSize_nestedViews() 141 original.addView(R.id.layout, child); in parcelSize_nestedViews() [all …]
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | InflateTest.java | 72 inflateTest(R.layout.layout_one); in testLayout1() 77 inflateTest(R.layout.layout_two); in testLayout2() 82 inflateTest(R.layout.layout_three); in testLayout3() 87 inflateTest(R.layout.layout_four); in testLayout4() 92 inflateTest(R.layout.layout_five); in testLayout5() 97 inflateTest(R.layout.layout_six); in testLayout6() 102 inflateCachedTest(R.layout.layout_one); in testCachedLayout1() 107 inflateCachedTest(R.layout.layout_two); in testCachedLayout2() 112 inflateCachedTest(R.layout.layout_three); in testCachedLayout3() 117 inflateCachedTest(R.layout.layout_four); in testCachedLayout4() [all …]
|
/frameworks/base/tests/BiDiTests/src/com/android/bidi/ |
D | BiDiTestGridLayoutCodeLtr.java | 52 currentView = (FrameLayout) inflater.inflate(R.layout.grid_layout_code, container, false); in onCreateView() 63 GridLayout layout = new GridLayout(context); in create() local 64 layout.setUseDefaultMargins(true); in create() 65 layout.setAlignmentMode(ALIGN_BOUNDS); in create() 66 layout.setRowOrderPreserved(false); in create() 67 layout.setLayoutDirection(View.LAYOUT_DIRECTION_LTR); in create() 89 layout.addView(c, new GridLayout.LayoutParams(row1, col1a)); in create() 95 layout.addView(c, new GridLayout.LayoutParams(row2, col1b)); in create() 100 layout.addView(c, new GridLayout.LayoutParams(row3, col1c)); in create() 106 layout.addView(c, new GridLayout.LayoutParams(row3, col2)); in create() [all …]
|
D | BiDiTestGridLayoutCodeRtl.java | 52 currentView = (FrameLayout) inflater.inflate(R.layout.grid_layout_code, container, false); in onCreateView() 63 GridLayout layout = new GridLayout(context); in create() local 64 layout.setUseDefaultMargins(true); in create() 65 layout.setAlignmentMode(ALIGN_BOUNDS); in create() 66 layout.setRowOrderPreserved(false); in create() 67 layout.setLayoutDirection(View.LAYOUT_DIRECTION_RTL); in create() 89 layout.addView(c, new GridLayout.LayoutParams(row1, col1a)); in create() 95 layout.addView(c, new GridLayout.LayoutParams(row2, col1b)); in create() 100 layout.addView(c, new GridLayout.LayoutParams(row3, col1c)); in create() 106 layout.addView(c, new GridLayout.LayoutParams(row3, col2)); in create() [all …]
|