Home
last modified time | relevance | path

Searched refs:item (Results 1 – 15 of 15) sorted by relevance

/sdk/
Dbuild.gradle5 item('files/tools_source.properties') {
9 item('files/plugin.prop') {
14 item('emulator/snapshot/snapshots.img') {
18 item('emulator/skins/dynamic') {
23 item('templates/build.template') {
27 item('templates/uibuild.template') {
31 item('templates/build_gradle.template') {
36 item('files/ant') {
40 item('files/proguard-project.txt') {
44 item('files/proguard-project.txt') {
[all …]
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/editor/
DEditors.java35 Runnable bindEditor(View v, EditableItem item, Runnable afterChange); in bindEditor() argument
57 final ViewGroup parent, final EditableItem item) { in newEditor() argument
59 ((TextView) editorView.findViewById(R.id.caption)).setText(item.getCaption(activity)); in newEditor()
62 editorView.setVisibility(item.isVisible() ? View.VISIBLE : View.GONE); in newEditor()
63 item.setVisibilityListener(new Runnable(){ in newEditor()
65 editorView.setVisibility(item.isVisible() ? View.VISIBLE : View.GONE); in newEditor()
69 Editor editor = EDITORS.get(item.getType()); in newEditor()
72 Runnable updater = editor.bindEditor(editorView, item, new Runnable() { in newEditor()
74 if (item.equals(EditableItem.PRESET)) { in newEditor()
85 if (item.equals(EditableItem.PRESET)) in newEditor()
DDateTimeEditor.java46 public Runnable bindEditor(View v, final EditableItem item, final Runnable afterChange) { in bindEditor() argument
61 Date d = getDateTime(item); in bindEditor()
73 Date d = getDateTime(item); in bindEditor()
77 Date d = getDateTime(item); in bindEditor()
81 item.setValue(d.getTime()); in bindEditor()
97 Date d = getDateTime(item); in bindEditor()
101 Date d = getDateTime(item); in bindEditor()
104 item.setValue(d.getTime()); in bindEditor()
118 item.setValue(null); in bindEditor()
125 private static Date getDateTime(EditableItem item) { in getDateTime() argument
[all …]
DTextEditor.java31 public Runnable bindEditor(View v, final EditableItem item, final Runnable afterChange) { in bindEditor() argument
37 textEditor.setText(item.getValue() == null ? "" : item.getValue().toString()); in bindEditor()
39 if (item.hasValue()) in bindEditor()
44 if (equal(newVal, item.getValue())) in bindEditor()
46 item.setValue(newVal); in bindEditor()
DBooleanEditor.java31 public Runnable bindEditor(View v, final EditableItem item, final Runnable afterChange) { in bindEditor() argument
37 booleanEditor.setChecked(item.hasValue() && item.getValueBool()); in bindEditor()
43 item.setValue(isChecked); in bindEditor()
DIconEditor.java37 public Runnable bindEditor(View v, final EditableItem item, final Runnable afterChange) { in bindEditor() argument
43 final Object[] displayValues = getAvailableValuesForDisplay(item); in bindEditor()
49 boolean selected = item.hasValue() && item.getValue().equals(iconResId) || in bindEditor()
50 !item.hasValue() && iconResId == null; in bindEditor()
75 item.setValue(iconResId); in bindEditor()
111 private Object[] getAvailableValuesForDisplay(EditableItem item) { in getAvailableValuesForDisplay() argument
112 Object[] avail = item.getAvailableValues(); in getAvailableValuesForDisplay()
DDropDownEditor.java34 public Runnable bindEditor(View v, final EditableItem item, final Runnable afterChange) { in bindEditor() argument
37 Integer[] values = item.getAvailableValuesInteger(); in bindEditor()
65 dropDownEditor.setSelection(adapter.getPosition(item.getValueInt())); in bindEditor()
67 if (item.hasValue()) in bindEditor()
71 Object oldValue = item.getValue(); in bindEditor()
75 item.setValue(newValue); in bindEditor()
/sdk/find_java/
Dbuild.gradle22 item( { getExeName("windows32FindJavaExecutable") } ) {
28 item( { getExeName("windows64FindJavaExecutable") } ) {
34 item('find_java.bat') {
44 // calling .exeFile on the set returns an array with the result from each item in the set...
/sdk/sdklauncher/
Dbuild.gradle22 item( { getExeName("windows32SdkLauncherExecutable") } ) {
33 // calling .exeFile on the set returns an array with the result from each item in the set...
/sdk/avdlauncher/
Dbuild.gradle22 item( { getExeName("windows32AvdLauncherExecutable") } ) {
33 // calling .exeFile on the set returns an array with the result from each item in the set...
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/
DNotificationStudioActivity.java123 for (EditableItem item : EditableItem.values()) {
124 String itemCategory = item.getCategory(this);
131 View editorView = Editors.newEditor(this, items, item);
211 public boolean onOptionsItemSelected(MenuItem item) { in onOptionsItemSelected() argument
212 switch (item.getItemId()) { in onOptionsItemSelected()
214 ShareCodeAction.launch(this, item.getTitle()); in onOptionsItemSelected()
217 ShareMockupAction.launch(this, item.getTitle()); in onOptionsItemSelected()
/sdk/annotations/
Dbuild.gradle14 item(jar.archivePath) {
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/model/
DEditableItem.java84 private static void loadBitmaps(Context context, EditableItem item, int[] bitmapResIds) { in loadBitmaps() argument
89 item.setAvailableValues(largeIconBitmaps); in loadBitmaps()
134 for (EditableItem item : values()) in applyPreset()
135 if (item != PRESET) in applyPreset()
136 item.setValue(null); in applyPreset()
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/generator/
DCodeGenerator.java131 private static String getResourceVar(Context context, EditableItem item) { in getResourceVar() argument
132 int resId = item.getValueInt(); in getResourceVar()
/sdk/templates/docs/
Ddefault.css100 nav > .item > span {