HomeSort by relevance Sort by last modified time
    Searched refs:fqcn (Results 1 - 25 of 47) sorted by null

1 2

  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gre/
MockNodeProxy.java 32 * Generates a {@link NodeProxy} using an FQCN (e.g. android.view.View)
33 * and making the last segment of the FQCN the XML name of the view (e.g. "View")
36 * @param fqcn The fully qualified name of the class to wrap, e.g. "android.view.Button".
44 public MockNodeProxy(String fqcn, Rectangle bounds, NodeFactory factory) {
45 super(makeUiViewNode(fqcn), bounds, factory);
49 * Generates a {@link ViewElementDescriptor} using an FQCN (e.g. android.view.View)
50 * and making the last segment of the FQCN the XML name of the view (e.g. "View").
52 * @param fqcn The fully qualified name of the class to wrap, e.g. "android.view.Button"
53 * @return A new view element node with a new descriptor for the FQCN and an XML name
54 * matching the last FQCN segment (e.g. "Button"
    [all...]
ViewMetadataRepositoryTest.java 48 for (String fqcn : repository.getAllFqcns()) {
49 repository.getRelatedTo(fqcn);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
FragmentRule.java 33 String fqcn = mRulesEngine.displayFragmentSourceInput(); local
34 if (fqcn != null) {
37 fqcn.length() > 0 ? fqcn : null));
AdapterViewRule.java 42 String fqcn = targetNode.getFqcn(); local
43 String name = fqcn.substring(fqcn.lastIndexOf('.') +1);
FrameLayoutRule.java 146 String fqcn = element.getFqcn();
148 INode newChild = targetNode.appendChild(fqcn);
173 String fqcn = node.getFqcn();
174 IViewMetadata metadata = mRulesEngine.getMetadata(fqcn);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/
WidgetClassLoader.java 59 ClassDescriptor(String fqcn) {
60 mFqcn = fqcn;
61 mSimpleName = getSimpleName(fqcn);
125 private String getSimpleName(String fqcn) {
126 String[] segments = fqcn.split("\\.");
133 /** Output map of FQCN => descriptor on all classes */
135 /** Output map of FQCN => descriptor on View classes */
137 /** Output map of FQCN => descriptor on ViewGroup classes */
139 /** Output map of FQCN => descriptor on LayoutParams classes */
232 String fqcn = classes[index] local
267 String fqcn = param.getFullClassName(); local
    [all...]
LayoutParamsParser.java 89 /** Output map of FQCN => info on View classes */
91 /** Output map of FQCN => info on ViewGroup classes */
93 /** Output map of FQCN => info on LayoutParams classes */
113 /** Returns the map of FQCN => info on View classes */
118 /** Returns the map of FQCN => info on ViewGroup classes */
129 * Note on Vocabulary: FQCN=Fully Qualified Class Name (e.g. "my.package.class$innerClass")
221 String fqcn = viewClass.getFullClassName(); local
222 if (mViewMap.containsKey(fqcn)) {
223 return mViewMap.get(fqcn);
224 } else if (mGroupMap.containsKey(fqcn)) {
249 String fqcn = groupClass.getFullClassName(); local
317 String fqcn = layoutParamsClass.getFullClassName(); local
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/descriptors/
CustomViewDescriptorService.java 126 * @param fqcn the fully qualified name of the class.
130 public ViewElementDescriptor getDescriptor(IProject project, String fqcn) {
136 ViewElementDescriptor descriptor = map.get(fqcn);
151 String javaClassName = fqcn.replaceAll("\\$", "\\."); //$NON-NLS-1$ //$NON-NLS-2$
168 String name = DescriptorsUtils.getBasename(fqcn);
169 ViewElementDescriptor descriptor = new CustomViewDescriptor(name, fqcn,
182 map.put(fqcn, descriptor);
213 String fqcn = type.getFullyQualifiedName(); local
222 ViewElementDescriptor d = descriptors.findDescriptorByClass(fqcn);
245 String name = DescriptorsUtils.getBasename(fqcn);
    [all...]
ViewElementDescriptor.java 60 /** The full class name (FQCN) of this view. */
234 * @param fqcn the fully qualified class name, such as android.widget.Button
238 public static boolean viewNeedsPackage(String fqcn) {
239 return !(fqcn.startsWith(ANDROID_WIDGET_PREFIX)
240 || fqcn.startsWith(ANDROID_VIEW_PKG)
241 || fqcn.startsWith(ANDROID_WEBKIT_PKG));
LayoutDescriptors.java 265 String fqcn = info.getFullClassName(); local
266 if (ViewElementDescriptor.viewNeedsPackage(fqcn)) {
267 xmlName = fqcn;
297 attributeSources.add(fqcn);
356 fqcn,
580 * @param fqcn the fully qualified class name
583 public ViewElementDescriptor findDescriptorByClass(String fqcn) {
584 return mFqcnToDescriptor.get(fqcn);
  /sdk/rule_api/src/com/android/ide/common/api/
IClientRulesEngine.java 36 * Returns the FQCN for which the rule was loaded.
51 * Loads and returns an {@link IViewRule} for the given FQCN.
53 * @param fqcn A non-null, non-empty FQCN for the rule to load.
54 * @return The rule that best matches the given FQCN according to the
55 * inheritance chain. Rules are cached and requesting the same FQCN twice
58 IViewRule loadRule(String fqcn);
63 * @param fqcn a fully qualified class name for an Android view class
66 IViewMetadata getMetadata(String fqcn);
239 * @param fqcn The fully qualified class name of the view to generate a unique id fo
    [all...]
IViewRule.java 47 * @param fqcn The fully qualified class name of the Layout or View that will be managed by
49 * instance. This may or may not match the script's filename as it may be the fqcn of a
54 * @return True if this rule can handle the given FQCN. False if the rule can't handle the
55 * given FQCN, in which case the rule engine will find another rule matching a parent class.
57 boolean onInitialize(String fqcn, IClientRulesEngine engine);
69 * The class name is the <code>fqcn</code> argument that was given
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/
ProjectCallback.java 227 private String getShortClassName(String fqcn) {
230 if (fqcn.startsWith("android.")) { //$NON-NLS-1$
232 int first = fqcn.indexOf('.');
233 int last = fqcn.lastIndexOf('.');
235 return fqcn.substring(0, first) + ".." + fqcn.substring(last); //$NON-NLS-1$
240 int first = fqcn.indexOf('.');
241 first = fqcn.indexOf('.', first + 1);
242 int last = fqcn.lastIndexOf('.');
244 return fqcn.substring(0, first) + ".." + fqcn.substring(last); //$NON-NLS-1
499 String fqcn = clz.getName(); local
527 String fqcn = viewObject.getClass().getName(); local
    [all...]
LayoutEditor.java 606 * Helper method that returns a {@link ViewElementDescriptor} for the requested FQCN.
607 * Will return null if we can't find that FQCN or we lack the editor/data/descriptors info.
609 public ViewElementDescriptor getFqcnViewDescriptor(String fqcn) {
618 desc = internalFindFqcnViewDescriptor(fqcn, docDesc.getChildren(), null);
624 // We failed to find a descriptor for the given FQCN.
626 desc = createUnknownDescriptor(fqcn);
634 * the requested FQCN.
636 * @param fqcn The target View FQCN to find.
642 private ViewElementDescriptor internalFindFqcnViewDescriptor(String fqcn,
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/
ViewMetadataRepository.java 147 * @param element the element to look up the fqcn for
148 * @return the fqcn of the view the element represents a preview for
247 String fqcn = child.getAttribute("class"); //$NON-NLS-1$ local
248 if (fqcn.length() == 0) {
249 fqcn = defaultFqcn;
273 ViewData view = new ViewData(fqcn, displayName, fillPreference,
294 fqcn, fillPreference, renderMode, resize);
323 // First record map of FQCN to ViewElementDescriptor such that we can quickly
329 String fqcn = view.getFullClassName(); local
330 if (fqcn == null)
352 String fqcn = view.getFcqn(); local
    [all...]
ClientRulesEngine.java 103 public ClientRulesEngine(RulesEngine rulesEngine, String fqcn) {
105 mFqcn = fqcn;
119 public IViewRule loadRule(String fqcn) {
120 return mRulesEngine.loadRule(fqcn, fqcn);
158 public IViewMetadata getMetadata(final String fqcn) {
162 return fqcn.substring(fqcn.lastIndexOf('.') + 1);
166 return ViewMetadataRepository.get().getFillPreference(fqcn);
170 return mRulesEngine.getEditor().getCanvasControl().getInsets(fqcn);
    [all...]
RulesEngine.java 197 // try to find a rule for this element's FQCN
222 // try to find a rule for this element's FQCN
257 // try to find a rule for this element's FQCN
283 // try to find a rule for this element's FQCN
302 // try to find a rule for this element's FQCN
325 // try to find a rule for this element's FQCN
351 // try to find a rule for this element's FQCN
374 // try to find a rule for this element's FQCN
397 // try to find a rule for this element's FQCN
438 // try to find a rule for this element's FQCN
685 String fqcn = desc.getFullClassName(); local
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
WrapInRefactoringTest.java 45 private void checkRefactoring(String basename, String fqcn, String... ids) throws Exception {
55 refactoring.setType(fqcn);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
FragmentMenu.java 98 String fqcn = getFragmentClass(element); local
99 if (fqcn != null) {
107 IType type = javaProject.findType(fqcn);
180 String fqcn = element.getAttribute(ATTR_CLASS); local
181 if (fqcn == null || fqcn.length() == 0) {
182 fqcn = element.getAttributeNS(ANDROID_URI, ATTR_NAME);
184 if (fqcn != null && fqcn.length() > 0) {
185 return fqcn;
    [all...]
SimpleElement.java 52 * @param fqcn A fully qualified class name of a View to inflate, e.g.
60 public SimpleElement(String fqcn, String parentFqcn, Rect bounds, Rect parentBounds) {
61 mFqcn = fqcn;
190 String fqcn = null; local
213 fqcn = value;
242 if (version != null && fqcn != null && fqcn.length() > 0) {
243 e = new SimpleElement(fqcn, parent, bounds, pbounds);
  /frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
Main.java 113 for (String fqcn : notRenamed) {
114 log.error("- Class not found: %s", fqcn.replace('/', '.'));
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/
LayoutTestBase.java 216 public IViewMetadata getMetadata(final String fqcn) {
220 return fqcn.substring(fqcn.lastIndexOf('.') + 1);
224 return ViewMetadataRepository.get().getFillPreference(fqcn);
232 return ViewMetadataRepository.get().getTopAttributes(fqcn);
241 public IViewRule loadRule(String fqcn) {
  /cts/tools/dx-tests/src/util/
CollectAllTests.java 148 String fqcn = test.getClass().getName(); // e.g.
155 List<String> li = map.get(fqcn);
159 map.put(fqcn, li);
170 String fqcn = entry.getKey();
171 int lastDotPos = fqcn.lastIndexOf('.');
172 String pName = fqcn.substring(0, lastDotPos);
173 String classOnlyName = fqcn.substring(lastDotPos + 1);
261 + method + " for " + fqcn);
  /cts/tools/vm-tests-tf/src/util/build/
BuildDalvikSuite.java 169 String fqcn = test.getClass().getName(); // e.g.
173 if (restrictTo != null && !fqcn.contains(restrictTo)) return;
176 List<String> li = map.get(fqcn);
180 map.put(fqcn, li);
273 String fqcn = entry.getKey();
274 int lastDotPos = fqcn.lastIndexOf('.');
275 String pName = fqcn.substring(0, lastDotPos);
276 String classOnlyName = fqcn.substring(lastDotPos + 1);
  /cts/tools/vm-tests/src/util/build/
BuildDalvikSuite.java 181 String fqcn = test.getClass().getName(); // e.g.
185 if (restrictTo != null && !fqcn.contains(restrictTo)) return;
188 List<String> li = map.get(fqcn);
192 map.put(fqcn, li);
331 String fqcn = entry.getKey();
332 int lastDotPos = fqcn.lastIndexOf('.');
333 String pName = fqcn.substring(0, lastDotPos);
334 String classOnlyName = fqcn.substring(lastDotPos + 1);
431 + method + " for " + fqcn);

Completed in 428 milliseconds

1 2