Home
last modified time | relevance | path

Searched refs:View (Results 1 – 25 of 52) sorted by relevance

123

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DRelativeLayoutConversionHelper.java135 List<View> views = analyzeLayout(layoutView); in convertToRelative()
150 private List<View> analyzeLayout(CanvasViewInfo layoutView) { in analyzeLayout()
176 List<View> views = createViews(edgeList, columnOffsets); in analyzeLayout()
180 for (View view : views) { in analyzeLayout()
202 private List<View> createViews(EdgeList edgeList, List<Integer> columnOffsets) { in createViews()
203 List<View> views = new ArrayList<View>(); in createViews()
205 List<View> leftEdgeViews = edgeList.getLeftEdgeViews(offset); in createViews()
210 for (View view : leftEdgeViews) { in createViews()
228 private void initializeIds(EdgeList edgeList, List<View> views) { in initializeIds()
230 for (View view : views) { in initializeIds()
[all …]
DGridLayoutConverter.java117 private List<View> mViews;
180 for (View view : mViews) { in insertStretchableSpans()
281 for (View view : mViews) { in removeUndefinedAttrs()
337 for (View view : mViews) { in assignCellAttributes()
401 for (View view : mViews) { in processGravities()
506 private static class View { class in GridLayoutConverter
519 public View(CanvasViewInfo view, Element element) { in View() method in GridLayoutConverter.View
619 private final List<View> mViews = new ArrayList<View>();
621 private final Map<Element, View> mElementToView = new HashMap<Element, View>();
641 public List<View> getViews() { in getViews()
[all …]
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/editor/
DEditors.java20 import android.view.View;
35 Runnable bindEditor(View v, EditableItem item, Runnable afterChange); in bindEditor()
56 public static View newEditor(final NotificationStudioActivity activity, in newEditor()
58 final View editorView = activity.getLayoutInflater().inflate(R.layout.editable_item, null); in newEditor()
62 editorView.setVisibility(item.isVisible() ? View.VISIBLE : View.GONE); in newEditor()
65 editorView.setVisibility(item.isVisible() ? View.VISIBLE : View.GONE); in newEditor()
DDropDownEditor.java20 import android.view.View;
34 public Runnable bindEditor(View v, final EditableItem item, final Runnable afterChange) { in bindEditor()
36 dropDownEditor.setVisibility(View.VISIBLE); in bindEditor()
45 public View getDropDownView(int position, View convertView, ViewGroup parent) { in bindEditor()
54 public View getView(int position, View convertView, ViewGroup parent) { in bindEditor()
70 public void onItemSelected(AdapterView<?> parent, View view, int position, long id) { in bindEditor()
DIconEditor.java22 import android.view.View;
23 import android.view.View.OnTouchListener;
37 public Runnable bindEditor(View v, final EditableItem item, final Runnable afterChange) { in bindEditor()
41 scroller.setVisibility(View.VISIBLE); in bindEditor()
47 View imageViewHolder = iconEditor.getChildAt(i); in bindEditor()
72 public boolean onTouch(View v, MotionEvent event) { in bindEditor()
DDateTimeEditor.java28 import android.view.View;
29 import android.view.View.OnClickListener;
46 public Runnable bindEditor(View v, final EditableItem item, final Runnable afterChange) { in bindEditor()
55 b.setVisibility(View.VISIBLE); in bindEditor()
117 public void onClick(View v) { in bindEditor()
133 public void onClick(View v) { in launchDialogOnClick()
DBooleanEditor.java19 import android.view.View;
31 public Runnable bindEditor(View v, final EditableItem item, final Runnable afterChange) { in bindEditor()
39 booleanEditor.setVisibility(View.VISIBLE); in bindEditor()
DTextEditor.java22 import android.view.View;
31 public Runnable bindEditor(View v, final EditableItem item, final Runnable afterChange) { in bindEditor()
33 textEditor.setVisibility(View.VISIBLE); in bindEditor()
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/
DNotificationStudioActivity.java34 import android.view.View;
35 import android.view.View.OnLayoutChangeListener;
90 public void onLayoutChange(View v, int left, int top, int right, int bottom, in initPreviewScroller()
94 final View e = findViewById(R.id.editors); in initPreviewScroller()
126 View dividerView = getLayoutInflater().inflate(R.layout.divider, null);
131 View editorView = Editors.newEditor(this, items, item);
155 View oneUView = refreshRemoteViews(oneU, notification.contentView);
160 largeIcon.setVisibility(notification.largeIcon == null ? View.GONE : View.VISIBLE);
182 private View refreshRemoteViews(ViewGroup parent, RemoteViews remoteViews) { in refreshRemoteViews()
185 parent.setVisibility(View.VISIBLE); in refreshRemoteViews()
[all …]
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/activities/
DMainActivity.java22 import android.view.View;
23 import android.view.View.OnClickListener;
114 public void onClick(View v) { in setupButtons()
123 public void onClick(View v) { in setupButtons()
196 mTextError.setVisibility(error.length() == 0 ? View.GONE : View.VISIBLE); in updateError()
DSensorActivity.java28 import android.view.View;
29 import android.view.View.OnFocusChangeListener;
30 import android.view.View.OnKeyListener;
86 public boolean onKey(View v, int keyCode, KeyEvent event) { in onCreate()
93 public void onFocusChange(View v, boolean hasFocus) { in onCreate()
305 mTextStatus.setVisibility(status == null ? View.GONE : View.VISIBLE); in updateStatus()
316 mTextError.setVisibility(error.length() == 0 ? View.GONE : View.VISIBLE); in updateError()
DMultiTouchActivity.java28 import android.view.View;
29 import android.view.View.OnTouchListener;
77 ah.View_setSystemUiVisibility(mImageView, View.SYSTEM_UI_FLAG_LOW_PROFILE); in onCreate()
166 public boolean onTouch(View v, MotionEvent event) { in onTouch()
374 mTextStatus.setVisibility(status == null ? View.GONE : View.VISIBLE); in updateStatus()
385 mTextError.setVisibility(error.length() == 0 ? View.GONE : View.VISIBLE); in updateError()
/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()
DApiHelper.java21 import android.view.View;
54 public void View_setSystemUiVisibility(View view, int visibility) { in View_setSystemUiVisibility()
/sdk/testapps/customPropAnimTest/src/com/android/custompropertyanimation/
DMyView.java4 import android.view.View;
6 public class MyView extends View {
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/testdata/
DTestFragment.java.txt6 import android.view.View;
11 public View onCreateView(LayoutInflater inflater, ViewGroup container,
Dcompletion1-expected-completion11.txt55 <View /> : Attributes that can be used with android.view.View or any of its subclasses.
Dcompletion1-expected-completion12.txt55 <View /> : Attributes that can be used with android.view.View or any of its subclasses.
Dcompletion9-expected-completion64.txt55 <View /> : Attributes that can be used with android.view.View or any of its subclasses.
Dcompletionvalues1-expected-completion29.txt3 android:groupIndicator : Indicator shown beside the group View. [reference]
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/mock_android/view/
DView.java19 public class View { class
DViewGroup.java19 public class ViewGroup extends View {
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/action/
DShareMockupAction.java25 import android.view.View;
45 View v = activity.findViewById(R.id.preview); in launch()
/sdk/apps/DeviceConfig/src/com/example/android/deviceconfig/
DMyActivity.java27 import android.view.View;
28 import android.view.View.OnClickListener;
133 public void onClick(View v) { in onClick()
/sdk/testapps/customViewTest/libWithCustomView/src/com/android/tests/libwithcustom/
DLabelView.java26 import android.view.View;
35 public class LabelView extends View {

123