Searched defs:layout (Results 76 - 100 of 103) sorted by relevance

12345

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DQSTileView.java253 layout(mTopBackgroundView, 0, mTileSpacingPx);
259 layout(mIcon, iconLeft, top);
267 layout(mDivider, 0, top);
270 layout(labelView(), 0, top);
281 private static void layout(View child, int left, int top) { method in class:QSTileView
282 child.layout(left, top, left + child.getMeasuredWidth(), top + child.getMeasuredHeight());
/frameworks/support/v4/java/android/support/v4/widget/
H A DSimpleCursorAdapter.java62 public SimpleCursorAdapter(Context context, int layout, Cursor c, String[] from, int[] to) { argument
63 super(context, layout, c);
74 * @param layout resource identifier of a layout file that defines the views
75 * for this list item. The layout file should include at least
87 public SimpleCursorAdapter(Context context, int layout, Cursor c, String[] from, argument
89 super(context, layout, c, flags);
327 // rescan columns in case cursor layout is different
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DAbsSpinnerCompat.java183 // Put in recycler for re-measuring and/or layout
277 layout(delta, animate);
282 abstract void layout(int delta, boolean animate); method in class:AbsSpinnerCompat
294 * Override to prevent spamming ourselves with layout requests
H A DSpinnerCompat.java449 layout(0, false);
460 void layout(int delta, boolean animate) { method in class:SpinnerCompat
517 * layout parameters to animate from the old to new positions.
547 * Helper for makeAndAddView to set the position of a view and fill out its layout paramters.
554 // Respect layout params that are already in the view. Otherwise
592 child.layout(childLeft, childTop, childRight, childBottom);
1066 // Skip setting up the layout/dismiss listener below. If we were previously
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DRecyclerViewBasicTest.java45 assertTrue("Calling measure without a layout manager should throw exception"
53 private void layout() { method in class:RecyclerViewBasicTest
54 mRecyclerView.layout(0, 0, 320, 320);
59 layout();
69 assertEquals("layout manager should not be called if there is no adapter attached",
77 layout();
78 assertEquals("when both layout manager and activity is set, recycler view should call"
79 + " layout manager's layout method", 1, layoutManager.mLayoutCount);
149 layout();
[all...]
/frameworks/base/core/java/android/widget/
H A DAbsSpinner.java82 R.layout.simple_spinner_item, entries);
83 adapter.setDropDownViewResource(R.layout.simple_spinner_dropdown_item);
205 // Put in recycler for re-measuring and/or layout
299 layout(delta, animate);
304 abstract void layout(int delta, boolean animate); method in class:AbsSpinner
316 * Override to prevent spamming ourselves with layout requests
H A DGallery.java51 * layout parameters type.
92 * Left most edge of a child seen so far during layout.
97 * Right most edge of a child seen so far during layout.
187 * Used to reset position correctly during layout.
357 * Remember that we are in layout to prevent more layout request from
361 layout(0, false);
618 * We layout rarely, most of the time {@link #trackMotionScroll(int)} takes
626 void layout(int delta, boolean animate) { method in class:Gallery
648 // All views go in recycler while we are in layout
[all...]
H A DRemoteViewsAdapter.java303 // Remove all the children of this layout first
330 public void add(int position, RemoteViewsFrameLayout layout) { argument
341 mViewToLinkedList.put(layout, refs);
344 refs.add(layout);
467 RemoteViewsFrameLayout layout = new RemoteViewsFrameLayout(context);
480 layout.addView(loadingView);
509 com.android.internal.R.layout.remote_views_adapter_default_loading_view,
510 layout, false);
514 layout.addView(loadingTextView);
518 return layout;
[all...]
H A DSpinner.java527 layout(0, false);
538 void layout(int delta, boolean animate) { method in class:Spinner
596 * there is enough information in the view's layout parameters to animate
627 * and fill out its layout paramters.
634 // Respect layout params that are already in the view. Otherwise
672 child.layout(childLeft, childTop, childRight, childBottom);
1146 // Skip setting up the layout/dismiss listener below. If we were previously
H A DGridLayout.java55 * A layout that places its children in a rectangular <em>grid</em>.
70 * {@link GridLayout.LayoutParams#columnSpec columnSpec} layout parameters.
76 * overlap after the layout operation completes.
96 * layout parameters. When the
101 * to the appropriate layout parameter.
114 * {@link LayoutParams#setGravity(int) gravity} property of the child's layout parameters.
132 * and <em>bottom</em> edges. To be more precise, GridLayout treats each of its layout
134 * given axis. During layout, GridLayout solves the constraints so as to return the unique
140 * For layout purposes, GridLayout treats views whose visibility status is
145 * view has no effect on the layout an
1852 public void layout(int size) { method in class:GridLayout.Axis
[all...]
H A DEditor.java320 com.android.internal.R.layout.textview_hint, null);
833 Layout layout = mTextView.getLayout();
834 if (layout == null) return false;
836 final int line = layout.getLineForOffset(offset);
837 final int lineBottom = layout.getLineBottom(line);
838 final int primaryHorizontal = (int) layout.getPrimaryHorizontal(offset);
847 Layout layout = mTextView.getLayout();
848 if (layout == null) return false;
853 if (x < layout.getLineLeft(line)) return false;
854 if (x > layout
1282 onDraw(Canvas canvas, Layout layout, Path highlight, Paint highlightPaint, int cursorOffsetVertical) argument
1322 drawHardwareAccelerated(Canvas canvas, Layout layout, Path highlight, Paint highlightPaint, int cursorOffsetVertical) argument
1450 invalidateTextDisplayList(Layout layout, int start, int end) argument
1518 getPrimaryHorizontal(Layout layout, Layout hintLayout, int offset, boolean clamped) argument
[all...]
/frameworks/base/core/java/android/print/
H A DPrintManager.java70 * allowing it to layout the content to better fit these new constraints. After a
71 * layout pass the system may ask the application to render one or more pages one
559 public void layout(PrintAttributes oldAttributes, PrintAttributes newAttributes, method in class:PrintManager.PrintDocumentAdapterDelegate
567 Log.e(LOG_TAG, "Error notifying for layout start", re);
/frameworks/base/core/java/android/text/
H A DDynamicLayout.java29 * DynamicLayout is a text layout that updates itself as the text is edited.
30 * <p>This is used by widgets to control text layout. You should not need
42 * Make a layout for the specified text that will be updated as
55 * Make a layout for the transformed text (password transformation
69 * Make a layout for the transformed text (password transformation
86 * Make a layout for the transformed text (password transformation
125 * This is annoying, but we can't refer to the layout until
259 // find affected region of old layout
270 // generate new layout for affected text
291 // If the new layout ha
631 ChangeWatcher(DynamicLayout layout) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DExpandableNotificationRow.java79 private void setIconAnimationRunning(boolean running, NotificationContentView layout) { argument
80 if (layout != null) {
81 View contractedChild = layout.getContractedChild();
82 View expandedChild = layout.getExpandedChild();
185 // Add a record for the entire layout since its content is somehow small.
308 * Apply an expansion state to the layout.
337 * view can differ from this state, if layout params are modified from outside.
/frameworks/compile/mclinker/lib/Object/
H A DObjectLinker.cpp608 /// prelayout - help backend to do some modification before layout
648 /// layout - linearly layout all output sections and reserve some space
653 bool ObjectLinker::layout() function in class:ObjectLinker
655 m_LDBackend.layout(*m_pModule);
659 /// prelayout - help backend to do some modification after layout
667 /// Before relocate(), after layout(), ObjectLinker should correct value of all
/frameworks/base/core/java/com/android/internal/widget/
H A DSlidingTab.java341 void layout(int l, int t, int r, int b, int alignment) { method in class:SlidingTab.Slider
364 tab.layout(0, top, handleWidth, bottom);
365 text.layout(0 - parentWidth, top, 0, bottom);
367 target.layout(leftTarget, targetTop, leftTarget + targetWidth, targetBottom);
370 tab.layout(parentWidth - handleWidth, top, parentWidth, bottom);
371 text.layout(parentWidth, top, parentWidth + parentWidth, bottom);
372 target.layout(rightTarget, targetTop, rightTarget + targetWidth, targetBottom);
383 tab.layout(left, 0, right, handleHeight);
384 text.layout(left, 0 - parentHeight, right, 0);
385 target.layout(targetLef
[all...]
/frameworks/base/core/java/com/android/internal/app/
H A DWindowDecorActionBar.java65 * by devices of all screen sizes as part of the window decor layout.
180 public WindowDecorActionBar(View layout) { argument
181 assert layout.isInEditMode();
182 init(layout);
201 "with a compatible window decor layout");
262 // Switch tab layout configuration if needed
970 // apps better anticipate visibility and layout behavior.
/frameworks/base/core/jni/android/graphics/
H A DPaint.cpp532 Layout layout; local
534 MinikinUtils::doLayout(&layout, paint, bidiFlags, typeface, textArray, index, count, textLength);
535 result = layout.getAdvance();
559 Layout layout; local
561 MinikinUtils::doLayout(&layout, paint, bidiFlags, typeface, textArray, start, count, textLength);
562 width = layout.getAdvance();
581 Layout layout; local
583 MinikinUtils::doLayout(&layout, paint, bidiFlags, typeface, textArray, 0, textLength, textLength);
584 width = layout.getAdvance();
611 Layout layout; local
664 Layout layout; local
732 GetTextFunctor(const Layout& layout, SkPath* path, jfloat x, jfloat y, Paint* paint, uint16_t* glyphs, SkPoint* pos) argument
751 const Layout& layout; member in class:android::PaintGlue::GetTextFunctor
763 Layout layout; local
825 Layout layout; local
905 Layout layout; local
[all...]
/frameworks/base/core/jni/
H A Dandroid_graphics_Canvas.cpp413 DrawTextFunctor(const Layout& layout, Canvas* canvas, uint16_t* glyphs, float* pos, argument
415 : layout(layout), canvas(canvas), glyphs(glyphs), pos(pos), paint(paint),
421 glyphs[i] = layout.getGlyphId(i);
422 pos[2 * i] = x + layout.getX(i);
423 pos[2 * i + 1] = y + layout.getY(i);
427 glyphs[i] = layout.getGlyphId(i);
428 pos[2 * i] = layout.getX(i);
429 pos[2 * i + 1] = layout.getY(i);
438 const Layout& layout; member in class:android::CanvasJNI::DrawTextFunctor
486 Layout layout; local
597 DrawTextOnPathFunctor(const Layout& layout, Canvas* canvas, float hOffset, float vOffset, const Paint& paint, const SkPath& path) argument
612 const Layout& layout; member in class:android::CanvasJNI::DrawTextOnPathFunctor
624 Layout layout; local
[all...]
H A Dandroid_view_GLES20Canvas.cpp608 RenderTextFunctor(const Layout& layout, DisplayListRenderer* renderer, jfloat x, jfloat y, argument
611 : layout(layout), renderer(renderer), x(x), y(y), paint(paint), glyphs(glyphs),
615 glyphs[i] = layout.getGlyphId(i);
616 pos[2 * i] = layout.getX(i);
617 pos[2 * i + 1] = layout.getY(i);
625 const Layout& layout; member in class:android::RenderTextFunctor
636 static void renderTextLayout(DisplayListRenderer* renderer, Layout* layout, argument
638 size_t nGlyphs = layout->nGlyphs();
642 layout
655 Layout layout; local
663 RenderTextOnPathFunctor(const Layout& layout, DisplayListRenderer* renderer, float hOffset, float vOffset, Paint* paint, SkPath* path) argument
678 const Layout& layout; member in class:android::RenderTextOnPathFunctor
689 Layout layout; local
703 Layout layout; local
[all...]
/frameworks/minikin/libs/minikin/
H A DLayout.cpp97 void doLayout(Layout* layout, LayoutContext* ctx, const FontCollection* collection) const { argument
98 layout->setFontCollection(collection);
99 layout->mAdvances.resize(mCount, 0);
101 layout->doLayoutRun(mChars, mStart, mCount, mNchars, mIsRtl, ctx);
132 Layout* layout = mCache.get(key); local
133 if (layout == NULL) {
135 layout = new Layout();
136 key.doLayout(layout, ctx, collection);
137 mCache.put(key, layout);
139 return layout;
622 Layout layout; local
626 Layout* layout = cache.get(key, ctx, mCollection); local
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/internal/app/
H A DWindowDecorActionBar.java68 * by devices of all screen sizes as part of the window decor layout.
191 public WindowDecorActionBar(View layout) { argument
192 assert layout.isInEditMode();
193 init(layout);
211 "with a compatible window decor layout");
272 // Switch tab layout configuration if needed
978 // apps better anticipate visibility and layout behavior.
/frameworks/compile/mclinker/lib/Target/
H A DGNULDBackend.cpp965 /// the size of these tables should be computed before layout
966 /// layout should computes the start offset of these tables
1034 /// the size of these tables should be computed before layout
1035 /// layout should computes the start offset of these tables
1496 /// getSymbolValue - this function is called after layout()
1505 /// getSymbolShndx - this function is called after layout()
1562 /// sections. This is executed at pre-layout stage.
2131 /// @ref gold linker: layout.cc:2608
2539 /// layout - layout metho
2540 void GNULDBackend::layout(Module& pModule) function in class:GNULDBackend
[all...]
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
H A DGridLayout.java53 * A layout that places its children in a rectangular <em>grid</em>.
68 * {@link GridLayout.LayoutParams#columnSpec columnSpec} layout parameters.
74 * overlap after the layout operation completes.
94 * layout parameters. When the
99 * to the appropriate layout parameter.
111 * {@link LayoutParams#setGravity(int) gravity} property of the child's layout parameters.
129 * and <em>bottom</em> edges. To be more precise, GridLayout treats each of its layout
131 * given axis. During layout, GridLayout solves the constraints so as to return the unique
137 * For layout purposes, GridLayout treats views whose visibility status is
142 * view has no effect on the layout an
1730 public void layout(int size) { method in class:GridLayout.Axis
[all...]
/frameworks/base/core/java/android/view/
H A DViewGroup.java69 * Also see {@link LayoutParams} for layout attributes.
75 * <a href="{@docRoot}guide/topics/ui/declaring-layout.html">XML Layouts</a> developer
85 * <p>If you are implementing XML layout attributes as shown in the example, this is the
90 * <p>Finally the layout manager can be used in an XML layout like so:</p>
92 * {@sample development/samples/ApiDemos/res/layout/custom_layout.xml Complete}
231 // When set, dispatchDraw() will run the layout animation and unset the flag
234 // When set, there is either no layout animation on the ViewGroup or the layout
243 // When set, this ViewGroup caches its children in a Bitmap before starting a layout animatio
4961 public final void layout(int l, int t, int r, int b) { method in class:ViewGroup
[all...]

Completed in 715 milliseconds

12345