Home
last modified time | relevance | path

Searched refs:view (Results 1 – 25 of 82) sorted by relevance

1234

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/
DGridModel.java220 for (ViewData view : mChildViews) { in getView()
221 if (view.node == node) { in getView()
222 return view; in getView()
241 for (ViewData view : mChildViews) { in getInsertIndex()
242 if (view.column > column || view.column == column && view.row >= row) { in getInsertIndex()
243 return view.index; in getInsertIndex()
247 for (ViewData view : mChildViews) { in getInsertIndex()
248 if (view.row > row || view.row == row && view.column >= column) { in getInsertIndex()
249 return view.index; in getInsertIndex()
255 for (ViewData view : mChildViews) { in getInsertIndex()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/testdata/
Dcompletion12-expected-completion75.txt4 android:id : Supply an identifier name for this view, to later retrieve it with View.findViewById(…
5 android:tag : Supply a tag for this view containing a String, to be retrieved later with View.getT…
16 android:focusable : Boolean that controls whether a view can take focus. [boolean]
17 android:focusableInTouchMode : Boolean that controls whether a view can take focus while in touch …
18 android:visibility : Controls the initial visibility of the view. [enum]
19 android:fitsSystemWindows : Boolean internal attribute to adjust view layout based on system windo…
22 android:isScrollContainer : Set this if the view will serve as a scrolling container, meaing that …
36 android:nextFocusLeft : Defines the next view to give focus to when the next focus is FOCUS_LEFT. …
37 …tFocusRight : Defines the next view to give focus to when the next focus is FOCUS_RIGHT If the ref…
38 …d:nextFocusUp : Defines the next view to give focus to when the next focus is FOCUS_UP If the refe…
[all …]
Dcompletion8-expected-completion44.txt2 android:layout_width : Specifies the basic width of the view. [dimension, enum]
3 android:layout_height : Specifies the basic height of the view. [dimension, enum]
6 …margin : Specifies extra space on the left, top, right and bottom sides of this view. [dimension]
7 android:layout_marginLeft : Specifies extra space on the left side of this view. [dimension]
8 android:layout_marginTop : Specifies extra space on the top side of this view. [dimension]
9 android:layout_marginRight : Specifies extra space on the right side of this view. [dimension]
10 android:layout_marginBottom : Specifies extra space on the bottom side of this view. [dimension]
11 android:layout_marginStart : Specifies extra space on the start side of this view. [dimension]
12 android:layout_marginEnd : Specifies extra space on the end side of this view. [dimension]
Dcompletion8-expected-completion41.txt2 …margin : Specifies extra space on the left, top, right and bottom sides of this view. [dimension]
3 android:layout_marginLeft : Specifies extra space on the left side of this view. [dimension]
4 android:layout_marginTop : Specifies extra space on the top side of this view. [dimension]
5 android:layout_marginRight : Specifies extra space on the right side of this view. [dimension]
6 android:layout_marginBottom : Specifies extra space on the bottom side of this view. [dimension]
7 android:layout_marginStart : Specifies extra space on the start side of this view. [dimension]
8 android:layout_marginEnd : Specifies extra space on the end side of this view. [dimension]
Dcompletion8-expected-completion43.txt2 …margin : Specifies extra space on the left, top, right and bottom sides of this view. [dimension]
3 android:layout_marginLeft : Specifies extra space on the left side of this view. [dimension]
4 android:layout_marginTop : Specifies extra space on the top side of this view. [dimension]
5 android:layout_marginRight : Specifies extra space on the right side of this view. [dimension]
6 android:layout_marginBottom : Specifies extra space on the bottom side of this view. [dimension]
7 android:layout_marginStart : Specifies extra space on the start side of this view. [dimension]
8 android:layout_marginEnd : Specifies extra space on the end side of this view. [dimension]
Dcompletion5-expected-completion40.txt29 …ity : Specifies how to align the text by the view's x- and/or y-axis when the text is smaller tha…
30 android:scrollHorizontally : Whether the text is allowed to be wider than the view (and therefore …
34 android:selectAllOnFocus : If the text is selectable, select it all when the view takes focus. [b…
50 android:freezesText : If set, the text view will include its current complete text inside of its f…
51 android:ellipsize : If set, causes words that are longer than the view is wide to be ellipsized in…
64 …tent type description to supply to the input method attached to the text view, which is private t…
65 …alue for EditorInfo.actionLabel used when an input method is connected to the text view. [string]
66 … value for EditorInfo.actionId used when an input method is connected to the text view. [integer]
71 android:textEditPasteWindowLayout : The layout of the view that is displayed on top of the cursor …
79 android:id : Supply an identifier name for this view, to later retrieve it with View.findViewById(…
[all …]
Dcompletion1-expected-completion39.txt29 …ity : Specifies how to align the text by the view's x- and/or y-axis when the text is smaller tha…
30 android:scrollHorizontally : Whether the text is allowed to be wider than the view (and therefore …
34 android:selectAllOnFocus : If the text is selectable, select it all when the view takes focus. [b…
50 android:freezesText : If set, the text view will include its current complete text inside of its f…
51 android:ellipsize : If set, causes words that are longer than the view is wide to be ellipsized in…
64 …tent type description to supply to the input method attached to the text view, which is private t…
65 …alue for EditorInfo.actionLabel used when an input method is connected to the text view. [string]
66 … value for EditorInfo.actionId used when an input method is connected to the text view. [integer]
71 android:textEditPasteWindowLayout : The layout of the view that is displayed on top of the cursor …
79 android:id : Supply an identifier name for this view, to later retrieve it with View.findViewById(…
[all …]
Dcolor1-expected-completion46b.txt2 android:state_focused : State value for StateListDrawable, set when a view has input focus. [bool…
3 android:state_window_focused : State value for StateListDrawable, set when a view's window has inp…
4 android:state_enabled : State value for StateListDrawable, set when a view is enabled. [boolean]
7 android:state_selected : State value for StateListDrawable, set when a view (or one of its parents…
8 …ssed : State value for StateListDrawable, set when the user is pressing down in a view. [boolean]
9 android:state_activated : State value for StateListDrawable, set when a view or its parent has bee…
15 … State value for StateListDrawable, indicating that the Drawable is in a view that is hardware ac…
16 …ered : State value for StateListDrawable, set when a pointer is hovering over the view. [boolean]
17 …ccept : State for StateListDrawable indicating that the Drawable is in a view that is capable of …
18 …eListDrawable indicating that a drag operation (for which the Drawable's view is a valid recipien…
DTestFragment.java.txt5 import android.view.LayoutInflater;
6 import android.view.View;
7 import android.view.ViewGroup;
Dcompletionvalues1-expected-completion32.txt5 …nMargins, causes alignment to take place between the outer boundary of a view, as defined by its …
7 android:alpha : alpha property of the view, as a value between 0 (completely transparent) and 1 (c…
19 android:baseline : The offset of the baseline within this view. [dimension]
20 android:baselineAlignBottom : If true, the image view will be baseline aligned with based on its b…
27 android:calendarViewShown : Whether the calendar view is shown. [boolean]
36 android:choiceMode : Defines the choice behavior for the view. [enum]
37 class : Supply the name of the view class to instantiate
39 android:clickable : Defines whether this view reacts to click events. [boolean]
47 android:completionHintView : Defines the hint view displayed in the drop down menu. [reference]
50 android:contentDescription : Defines text that briefly describes content of the view. [string]
[all …]
Danimator1-expected-completion60.txt2 scaleX : scale of the view in the x direction.
3 scaleY : scale of the view in the y direction.
Dcompletion1-expected-completion12.txt55 <View /> : Attributes that can be used with android.view.View or any of its subclasses.
58 <ViewStub /> : A android.view.ViewStub lets you lazily include other XML layouts inside your applic…
67 <view /> : A view tag whose class attribute names the class to be instantiated
Dcompletion1-expected-completion11.txt55 <View /> : Attributes that can be used with android.view.View or any of its subclasses.
58 <ViewStub /> : A android.view.ViewStub lets you lazily include other XML layouts inside your applic…
67 <view /> : A view tag whose class attribute names the class to be instantiated
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DGridLayoutConverter.java180 for (View view : mViews) { in insertStretchableSpans()
181 if (view.mElement == mLayout) { in insertStretchableSpans()
185 int gravity = GravityHelper.getGravity(view.mGravity, 0); in insertStretchableSpans()
187 columnFixed.put(view.mCol, true); in insertStretchableSpans()
188 } else if (!columnFixed.containsKey(view.mCol)) { in insertStretchableSpans()
189 columnFixed.put(view.mCol, false); in insertStretchableSpans()
192 rowFixed.put(view.mRow, true); in insertStretchableSpans()
193 } else if (!rowFixed.containsKey(view.mRow)) { in insertStretchableSpans()
194 rowFixed.put(view.mRow, false); in insertStretchableSpans()
281 for (View view : mViews) { in removeUndefinedAttrs()
[all …]
DRelativeLayoutConversionHelper.java180 for (View view : views) { in analyzeLayout()
181 assert view.getLeftEdge() == left[view.mCol]; in analyzeLayout()
182 assert view.getTopEdge() == top[view.mRow]; in analyzeLayout()
183 assert view.getRightEdge() == left[view.mCol+view.mColSpan]; in analyzeLayout()
184 assert view.getBottomEdge() == top[view.mRow+view.mRowSpan]; in analyzeLayout()
210 for (View view : leftEdgeViews) { in createViews()
211 views.add(view); in createViews()
230 for (View view : views) { in initializeIds()
231 String id = mRefactoring.ensureHasId(mRootEdit, view.mElement, null); in initializeIds()
232 edgeList.setIdAttributeValue(view, id); in initializeIds()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/
DDependencyGraph.java85 ViewData view = new ViewData(child, id); in DependencyGraph() local
86 mNodeToView.put(child, view); in DependencyGraph()
88 mIdToView.put(id, view); in DependencyGraph()
92 for (ViewData view : mNodeToView.values()) { in DependencyGraph()
93 for (IAttribute attribute : view.node.getLiveAttributes()) { in DependencyGraph()
101 Constraint constraint = new Constraint(type, view, parentView); in DependencyGraph()
102 view.dependsOn.add(constraint); in DependencyGraph()
110 if (target == view) { in DependencyGraph()
117 Constraint constraint = new Constraint(type, view, target); in DependencyGraph()
118 view.dependsOn.add(constraint); in DependencyGraph()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/
Dplugin.properties5 view.name.Devices = Devices
6 view.name.LogCat = LogCat
7 view.name.Threads = Threads
8 view.name.Heap = Heap
9 view.name.File_Explorer = File Explorer
10 view.name.Emulator_Control = Emulator Control
11 view.name.Allocation_Tracker = Allocation Tracker
12 view.name.Network_Stats = Network Statistics
13 view.name.SysInfo = System Information
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/
DViewMetadataRepository.java114 for (ViewData view : category) { in getClassToView()
115 mClassToView.put(view.getFcqn(), view); in getClassToView() local
235 ViewData view = createViewData(fillTypes, child, in getCategories() local
237 category.addView(view); in getCategories()
281 ViewData view = new ViewData(fqcn, displayName, fillPreference, in createViewData() local
288 view.setInitString(init); in createViewData()
290 view.setIconName(icon); in createViewData()
303 view.addVariation(variationView); in createViewData()
308 return view; in createViewData()
336 for (ViewElementDescriptor view : list) { in getPaletteEntries()
[all …]
/sdk/attribute_stats/src/
DAnalyzer.java369 for (String view : views) { in printStatistics()
370 String top = processUageMap(view, mFrequencies.get(view)); in printStatistics()
372 mTopAttributes.put(view, top); in printStatistics()
383 for (String view : views) { in printStatistics()
384 String top = processUageMap(view, mLayoutAttributeFrequencies.get(view)); in printStatistics()
386 mTopLayoutAttributes.put(view, top); in printStatistics()
391 private static String processUageMap(String view, Map<String, Usage> map) { in processUageMap() argument
396 if (view.indexOf('.') != -1 && !view.startsWith("android.")) { in processUageMap()
412 System.out.println("\n<" + view + ">:"); in processUageMap()
413 if (view.equals("#document")) { in processUageMap()
[all …]
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/utils/
DApiHelper_11.java20 import android.view.View;
33 public void View_setSystemUiVisibility(View view, int visibility) { in View_setSystemUiVisibility() argument
34 view.setSystemUiVisibility(visibility); in View_setSystemUiVisibility()
/sdk/testapps/customPropAnimTest/src/com/android/custompropertyanimation/
DCustomPropertyAnimationActivity.java16 MyView view = new MyView(this); in onCreate() local
17 container.addView(view); in onCreate()
19 ObjectAnimator anim = ObjectAnimator.ofFloat(view, "foo", 1); in onCreate()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DCanvasViewInfo.java707 CanvasViewInfo view = views.get(0); // primary in create() local
708 if (view.getParent() != rootView) { in create()
716 merged.add(view); in create()
732 for (CanvasViewInfo view : merged) { in create()
733 if (rootView.removeChild(view)) { in create()
734 mergeView.addChild(view); in create()
782 CanvasViewInfo view = createView(parent, root, parentX, parentY, node); in createView() local
783 if (root.getCookie() instanceof MergeCookie && view.mNodeSiblings == null) { in createView()
787 v.add(view); in createView()
790 v.add(view); in createView()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/mock_android/widget/
DLinearLayout.java19 import mock_android.view.ViewGroup;
23 public class LayoutParams extends mock_android.view.ViewGroup.LayoutParams {
/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/
DLogCatMonitor.java224 IViewPart view = page.findView(LogCatView.ID); in focusLogCatView()
225 return view != null && page.isPartVisible(view); in focusLogCatView()
231 IViewPart view = page.findView(LogCatView.ID); in focusLogCatView()
232 if (view != null) { in focusLogCatView()
233 page.bringToTop(view); in focusLogCatView()
234 if (view instanceof LogCatView) { in focusLogCatView()
235 return (LogCatView)view; in focusLogCatView()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/sdk/
DLayoutParamsParserTest.java67 mTopViewClass = new ClassWrapper(mock_android.view.View.class); in MockLayoutParamsParser()
68 mTopGroupClass = new ClassWrapper(mock_android.view.ViewGroup.class); in MockLayoutParamsParser()
69 … mTopLayoutParamsClass = new ClassWrapper(mock_android.view.ViewGroup.LayoutParams.class); in MockLayoutParamsParser()
91 assertEquals(mock_android.view.ViewGroup.LayoutParams.class, in testFindLayoutParams()
92 ((ClassWrapper)_findLayoutParams(mock_android.view.ViewGroup.class)).wrappedClass()); in testFindLayoutParams()
103 mock_android.view.ViewGroup.LayoutParams.class); in testGetLayoutParamsInfo()

1234