Home
last modified time | relevance | path

Searched refs:v (Results 1 – 25 of 57) sorted by relevance

123

/sdk/apps/NotificationStudio/src/com/android/notificationstudio/editor/
DDropDownEditor.java34 public Runnable bindEditor(View v, final EditableItem item, final Runnable afterChange) { in bindEditor() argument
35 final Spinner dropDownEditor = (Spinner) v.findViewById(R.id.drop_down_editor); in bindEditor()
38 final float textSize = v.getResources().getDimensionPixelSize(R.dimen.editor_text_size); in bindEditor()
39 final int p = v.getResources().getDimensionPixelSize(R.dimen.editor_drop_down_padding); in bindEditor()
42 … new ArrayAdapter<Integer>(v.getContext(), android.R.layout.simple_spinner_item, values) { in bindEditor()
46 TextView v = (TextView) super.getDropDownView(position, convertView, parent); in bindEditor()
47 v.setTextSize(TypedValue.COMPLEX_UNIT_PX, textSize); in bindEditor()
48 v.setPadding(p2, p2, p2, p2); in bindEditor()
49 v.setText(v.getResources().getString(getItem(position))); in bindEditor()
50 return v; in bindEditor()
[all …]
DIconEditor.java37 public Runnable bindEditor(View v, final EditableItem item, final Runnable afterChange) { in bindEditor() argument
38 final LinearLayout iconEditor = (LinearLayout) v.findViewById(R.id.icon_editor_layout); in bindEditor()
40 (HorizontalScrollView) v.findViewById(R.id.icon_editor_scroller); in bindEditor()
62 int iconSize = getIconSize(v.getResources()); in bindEditor()
63 int outerMargin = v.getResources().getDimensionPixelSize(R.dimen.editor_icon_outer_margin); in bindEditor()
64 int innerMargin = v.getResources().getDimensionPixelSize(R.dimen.editor_icon_inner_margin); in bindEditor()
67 final FrameLayout imageViewHolder = new FrameLayout(v.getContext()); in bindEditor()
69 final ImageView imageView = new ImageView(v.getContext()); in bindEditor()
72 public boolean onTouch(View v, MotionEvent event) { in bindEditor()
74 v.playSoundEffect(SoundEffectConstants.CLICK); in bindEditor()
DDateTimeEditor.java46 public Runnable bindEditor(View v, final EditableItem item, final Runnable afterChange) { in bindEditor() argument
48 final Button dateButton = (Button) v.findViewById(R.id.date_button); in bindEditor()
49 final Button timeButton = (Button) v.findViewById(R.id.time_button); in bindEditor()
50 final Button resetButton = (Button) v.findViewById(R.id.reset_button); in bindEditor()
52 int vPad = v.getResources().getDimensionPixelSize(R.dimen.editor_datetime_padding_v); in bindEditor()
53 int hPad = v.getResources().getDimensionPixelSize(R.dimen.editor_datetime_padding_h); in bindEditor()
90 Activity activity = (Activity) v.getContext(); in bindEditor()
117 public void onClick(View v) { in bindEditor()
133 public void onClick(View v) { in launchDialogOnClick()
DBooleanEditor.java31 public Runnable bindEditor(View v, final EditableItem item, final Runnable afterChange) { in bindEditor() argument
32 final ViewStub booleanEditorStub = (ViewStub) v.findViewById(R.id.boolean_editor_stub); in bindEditor()
DTextEditor.java31 public Runnable bindEditor(View v, final EditableItem item, final Runnable afterChange) { in bindEditor() argument
32 final EditText textEditor = (EditText) v.findViewById(R.id.text_editor); in bindEditor()
/sdk/find_java2/src/
DJavaFinder.cpp195 TCHAR *v = _tcsstr(first32, _T("version")); in getJavaVersion() local
200 if (j != NULL && v != NULL) { in getJavaVersion()
260 int v = checkBinPath(&p); in findJavaInEnvPath() local
261 if (v > 0) { in findJavaInEnvPath()
262 outPaths->insert(CJavaPath(v, p)); in findJavaInEnvPath()
277 int v = checkPath(&p); in findJavaInEnvPath() local
278 if (v > 0) { in findJavaInEnvPath()
279 outPaths->insert(CJavaPath(v, p)); in findJavaInEnvPath()
354 int v = checkBinPath(&javaHome); in exploreJavaRegistry() local
355 if (v > 0) { in exploreJavaRegistry()
[all …]
/sdk/find_java/src/source/
Dfind_java_lib.cpp160 int v = checkBinPath(&p); in findJavaInEnvPath() local
161 if (v >= minVersion) { in findJavaInEnvPath()
163 fprintf(stderr, "Java %d found via JAVA_HOME: %s\n", v, p.cstr()); in findJavaInEnvPath()
168 return v; in findJavaInEnvPath()
188 int v = checkPath(&p); in findJavaInEnvPath() local
189 if (v >= minVersion && v > currVersion) { in findJavaInEnvPath()
191 fprintf(stderr, "Java %d found via env PATH: %s\n", v, p.cstr()); in findJavaInEnvPath()
194 currVersion = v; in findJavaInEnvPath()
316 int v = checkBinPath(&javaHome); in exploreJavaRegistry() local
317 if (v > versionInt) { in exploreJavaRegistry()
[all …]
Dfind_java_exe.cpp74 int v = findJavaInEnvPath(&javaPath, isJdk, minVersion); in testFindJava() local
75 printf(" findJavaInEnvPath: [%d] %s\n", v, javaPath.cstr()); in testFindJava()
78 v = findJavaInRegistry(&javaPath, isJdk, minVersion); in testFindJava()
79 printf(" findJavaInRegistry [%d] %s\n", v, javaPath.cstr()); in testFindJava()
82 v = findJavaInProgramFiles(&javaPath, isJdk, minVersion); in testFindJava()
83 printf(" findJavaInProgramFiles [%d] %s\n", v, javaPath.cstr()); in testFindJava()
/sdk/emulator/mksdcard/src/source/
Dmksdcard.c56 #define POKEB(p,v) BYTE_(p,0) = (Byte)(v) argument
57 #define POKES(p,v) ( BYTE_(p,0) = (Byte)(v), BYTE_(p,1) = (Byte)((v) >> 8) ) argument
58 #define POKEW(p,v) ( BYTE_(p,0) = (Byte)(v), BYTE_(p,1) = (Byte)((v) >> 8), BYTE_(p,2) = (Byte)(… argument
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/action/
DShareMockupAction.java45 View v = activity.findViewById(R.id.preview); in launch() local
46 int w = v.getMeasuredWidth(); in launch()
47 int h = v.getMeasuredHeight(); in launch()
50 v.layout(0, 0, w, h); in launch()
51 v.draw(c); in launch()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/descriptors/
DAttributeDescriptorLabelProvider.java43 String v = node.getCurrentValue(); in getImage() local
44 if (v != null && v.length() > 0) { in getImage()
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/views/
DStateView.java53 StateViewPage v = (StateViewPage) pageRecord.page; in doDestroyPage() local
54 v.dispose(); in doDestroyPage()
/sdk/
D.gitignore20 /eclipse/v[0-9-]*-[0-9]*
21 /eclipse/v[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/
DNotificationStudioActivity.java90 public void onLayoutChange(View v, int left, int top, int right, int bottom, in initPreviewScroller()
187 View v = remoteViews.apply(this, parent); in refreshRemoteViews() local
188 parent.addView(v); in refreshRemoteViews()
189 return v; in refreshRemoteViews()
226 View v = getCurrentFocus(); in dispatchTouchEvent() local
229 if (v instanceof EditText) { in dispatchTouchEvent()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DLintTooltipManager.java163 CanvasViewInfo v = viewHierarchy.findViewInfoFor(xmlNode); in computeNodes() local
164 if (v != null) { in computeNodes()
165 Rectangle b = v.getAbsRect(); in computeNodes()
175 nodes.add(v.getUiViewNode()); in computeNodes()
DCanvasViewInfo.java784 List<CanvasViewInfo> v = mMergeNodeMap == null ? in createView() local
786 if (v != null) { in createView()
787 v.add(view); in createView()
789 v = new ArrayList<CanvasViewInfo>(); in createView()
790 v.add(view); in createView()
795 mMergeNodeMap.put(node, v); in createView()
797 view.mNodeSiblings = v; in createView()
1082 CanvasViewInfo v = new CanvasViewInfo(parentView, name, null, found, in addMismatched() local
1098 parentView.addChildAt(insertPosition, v); in addMismatched()
1107 CanvasViewInfo v = new CanvasViewInfo(parentView, name, null, node, absRect, in addMismatched() local
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/
DLogCatMonitor.java211 final LogCatView v = displayLogCatView(page); in focusLogCatView()
212 if (v == null) { in focusLogCatView()
217 v.selectionChanged(device); in focusLogCatView()
220 v.selectTransientAppFilter(appName); in focusLogCatView()
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/handlers/
DSensorChannel.java215 Log.v(TAG, "Starting sensors emulation."); in onEmulatorMessage()
219 Log.v(TAG, "Stopping sensors emulation."); in onEmulatorMessage()
224 Log.v(TAG, "Enabling sensor: " + enable_name); in onEmulatorMessage()
229 Log.v(TAG, "Disabling sensor: " + disable_name); in onEmulatorMessage()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/
DAdtUtils.java770 String v = value;
771 if (appendValue && v != null) {
774 v = prev + ',' + value;
780 if (v != null) {
781 element.setAttribute(prefix + ':' + name, v);
787 if (rootUiNode != null && v != null) {
890 String v = value;
891 if (appendValue && v != null) {
894 v = prev + ',' + value;
900 if (v != null) {
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/format/
DGLMessageFormatter.java142 for (Integer v: vals) { in formatPointer()
143 sb.append(GLEnum.valueOf(v.intValue())); in formatPointer()
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/activities/
DMainActivity.java114 public void onClick(View v) { in setupButtons()
123 public void onClick(View v) { in setupButtons()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
DLinearLayoutRule.java321 int v = isVertical ? bc.y + (bc.h / 2) : bc.x + (bc.w / 2); in onDropEnter() local
323 indexes.add(new MatchPos(v, pos++)); in onDropEnter()
332 int v = isVertical ? bc.y : bc.x; in onDropEnter() local
333 v = (last + v) / 2; in onDropEnter()
334 indexes.add(new MatchPos(v, pos++)); in onDropEnter()
349 int v = last + 1; in onDropEnter() local
350 indexes.add(new MatchPos(v, pos)); in onDropEnter()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/ui/
DResourceChooser.java577 String v = null; in updateResolvedLabel() local
579 v = mCurrentResource; in updateResolvedLabel()
583 v = value.getValue(); in updateResolvedLabel()
588 if (v == null) { in updateResolvedLabel()
589 v = ""; in updateResolvedLabel()
592 mResolvedLabel.setText(String.format("Resolved Value: %1$s", v)); in updateResolvedLabel()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/
DNewProjectWizardState.java339 String v = p.getProperty(ProjectProperties.PROPERTY_TARGET); in updateSdkTargetToMatchProject() local
340 IAndroidTarget desiredTarget = Sdk.getCurrent().getTargetFromHashString(v); in updateSdkTargetToMatchProject()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/resources/platform/
DAttributeInfo.java291 for (String v : Splitter.on('|').split(value)) { in isValid()
293 if (v.equals(e)) { in isValid()

123