/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/ |
ViewTagRule.java | 35 String fqcn = mRulesEngine.displayCustomViewClassInput(); local 36 if (fqcn != null) { 37 if (!ViewElementDescriptor.viewNeedsPackage(fqcn)) { 38 fqcn = fqcn.substring(fqcn.lastIndexOf('.') + 1); 42 fqcn.length() > 0 ? fqcn : null));
|
FragmentRule.java | 35 String fqcn = mRulesEngine.displayFragmentSourceInput(); local 36 if (fqcn != null) { 39 fqcn.length() > 0 ? fqcn : null));
|
AdapterViewRule.java | 47 String fqcn = targetNode.getFqcn(); local 48 String name = fqcn.substring(fqcn.lastIndexOf('.') +1);
|
FrameLayoutRule.java | 152 String fqcn = element.getFqcn(); 154 INode newChild = targetNode.appendChild(fqcn); 182 String fqcn = node.getFqcn(); 183 IViewMetadata metadata = mRulesEngine.getMetadata(fqcn);
|
/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/eclipse/adt/internal/sdk/ |
WidgetClassLoader.java | 59 ClassDescriptor(String fqcn) { 60 mFqcn = fqcn; 61 mSimpleName = getSimpleName(fqcn); 131 private String getSimpleName(String fqcn) { 132 String[] segments = fqcn.split("\\."); 139 /** Output map of FQCN => descriptor on all classes */ 141 /** Output map of FQCN => descriptor on View classes */ 143 /** Output map of FQCN => descriptor on ViewGroup classes */ 145 /** Output map of FQCN => descriptor on LayoutParams classes */ 239 String fqcn = classes[index] local 274 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...] |
/external/slf4j/slf4j-api/src/main/java/org/slf4j/spi/ |
LocationAwareLogger.java | 52 * @param fqcn The fully qualified class name of the <b>logger instance</b>, 58 public void log(Marker marker, String fqcn, int level, String message, Object[] argArray, Throwable t);
|
/external/slf4j/slf4j-ext/src/main/java/org/slf4j/ext/ |
LoggerWrapper.java | 47 // fqcn depend on the caller, but its value would not be different 51 final String fqcn; field in class:LoggerWrapper 55 public LoggerWrapper(Logger logger, String fqcn) { 57 this.fqcn = fqcn; 87 ((LocationAwareLogger) logger).log(null, fqcn, LocationAwareLogger.TRACE_INT, msg, null, null); 102 ((LocationAwareLogger) logger).log(null, fqcn, LocationAwareLogger.TRACE_INT, formattedMessage, new Object[] { arg }, null); 117 ((LocationAwareLogger) logger).log(null, fqcn, LocationAwareLogger.TRACE_INT, formattedMessage, new Object[] { arg1, arg2 }, null); 132 ((LocationAwareLogger) logger).log(null, fqcn, LocationAwareLogger.TRACE_INT, formattedMessage, args, null); 146 ((LocationAwareLogger) logger).log(null, fqcn, LocationAwareLogger.TRACE_INT, msg, null, t) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
ActivityMenuListener.java | 58 @Nullable String fqcn) { 61 mFqcn = fqcn; 69 String fqcn = configuration.getActivity(); local 70 AdtPlugin.openJavaClass(mConfigChooser.getProject(), fqcn); local 117 for (String fqcn : activities) { 118 if (!remove.contains(fqcn)) { 119 filtered.add(fqcn); 143 for (final String fqcn : activities) { 144 String title = ConfigurationChooser.getActivityLabel(fqcn, false); 157 ACTION_SELECT_ACTIVITY, fqcn)); [all...] |
ConfigurationClient.java | 118 * @param fqcn the fully qualified class name for the associated activity context 120 void setActivity(@NonNull String fqcn);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/ |
ProjectCallback.java | 264 private String getShortClassName(String fqcn) { 267 if (fqcn.startsWith("android.")) { //$NON-NLS-1$ 269 int first = fqcn.indexOf('.'); 270 int last = fqcn.lastIndexOf('.'); 272 return fqcn.substring(0, first) + ".." + fqcn.substring(last); //$NON-NLS-1$ 277 int first = fqcn.indexOf('.'); 278 first = fqcn.indexOf('.', first + 1); 279 int last = fqcn.lastIndexOf('.'); 281 return fqcn.substring(0, first) + ".." + fqcn.substring(last); //$NON-NLS-1 561 String fqcn = clz.getName(); local 589 String fqcn = viewObject.getClass().getName(); local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/ |
ViewMetadataRepository.java | 154 * @param element the element to look up the fqcn for 155 * @return the fqcn of the view the element represents a preview for 255 String fqcn = child.getAttribute("class"); //$NON-NLS-1$ local 256 if (fqcn.length() == 0) { 257 fqcn = defaultFqcn; 281 ViewData view = new ViewData(fqcn, displayName, fillPreference, 302 fqcn, fillPreference, renderMode, resize); 331 // First record map of FQCN to ViewElementDescriptor such that we can quickly 337 String fqcn = view.getFullClassName(); local 338 if (fqcn == null) 360 String fqcn = view.getFcqn(); local [all...] |
ClientRulesEngine.java | 129 public ClientRulesEngine(RulesEngine rulesEngine, String fqcn) { 131 mFqcn = fqcn; 148 public IViewRule loadRule(@NonNull String fqcn) { 149 return mRulesEngine.loadRule(fqcn, fqcn); 233 public @NonNull IViewMetadata getMetadata(final @NonNull String fqcn) { 238 return fqcn.substring(fqcn.lastIndexOf('.') + 1); 243 return ViewMetadataRepository.get().getFillPreference(fqcn); 248 return mRulesEngine.getEditor().getCanvasControl().getInsets(fqcn); [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/descriptors/ |
CustomViewDescriptorService.java | 155 * @param fqcn the fully qualified name of the class. 159 public ViewElementDescriptor getDescriptor(IProject project, String fqcn) { 165 ViewElementDescriptor descriptor = map.get(fqcn); 180 String javaClassName = fqcn.replaceAll("\\$", "\\."); //$NON-NLS-1$ //$NON-NLS-2$ 211 String name = DescriptorsUtils.getBasename(fqcn); 212 ViewElementDescriptor descriptor = new CustomViewDescriptor(name, fqcn, 226 map.put(fqcn, descriptor); 297 String fqcn = type.getFullyQualifiedName(); local 300 ViewClassInfo classInfo = new ViewClassInfo(true, fqcn, className); 427 String fqcn = type.getFullyQualifiedName() local 585 String fqcn = getFullClassName(); local [all...] |
ViewElementDescriptor.java | 62 /** The full class name (FQCN) of this view. */ 240 * @param fqcn the fully qualified class name, such as android.widget.Button 244 public static boolean viewNeedsPackage(String fqcn) { 245 return !(fqcn.startsWith(ANDROID_WIDGET_PREFIX) 246 || fqcn.startsWith(ANDROID_VIEW_PKG) 247 || fqcn.startsWith(ANDROID_WEBKIT_PKG));
|
LayoutDescriptors.java | 229 String fqcn = info.getFullClassName(); local 230 if (ViewElementDescriptor.viewNeedsPackage(fqcn)) { 231 xmlName = fqcn; 261 attributeSources.add(fqcn); 301 fqcn, 561 * @param fqcn the fully qualified class name 564 public ViewElementDescriptor findDescriptorByClass(String fqcn) { 565 return mFqcnToDescriptor.get(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); 187 String fqcn = element.getAttribute(ATTR_CLASS); local 188 if (fqcn == null || fqcn.length() == 0) { 189 fqcn = element.getAttributeNS(ANDROID_URI, ATTR_NAME); 191 if (fqcn != null && fqcn.length() > 0) { 192 return fqcn; [all...] |
SimpleElement.java | 56 * @param fqcn A fully qualified class name of a View to inflate, e.g. 64 public SimpleElement(String fqcn, String parentFqcn, Rect bounds, Rect parentBounds) { 65 mFqcn = fqcn; 238 String fqcn = null; local 261 fqcn = value; 290 if (version != null && fqcn != null && fqcn.length() > 0) { 291 e = new SimpleElement(fqcn, parent, bounds, pbounds);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/core/ |
AndroidPackageRenameParticipant.java | 333 * @param fqcn the fully qualified class name in the renamed package 336 private String getNewClassName(String fqcn) { 337 assert isInRenamedPackage(fqcn) : fqcn; 338 int lastDot = fqcn.lastIndexOf('.'); 342 String name = fqcn.substring(lastDot, fqcn.length()); 432 private boolean isInRenamedPackage(String fqcn) { 433 return fqcn.startsWith(mOldPackage) 434 && fqcn.length() > mOldPackage.length( [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/ |
LayoutTestBase.java | 225 public @NonNull IViewMetadata getMetadata(final @NonNull String fqcn) { 230 return fqcn.substring(fqcn.lastIndexOf('.') + 1); 235 return ViewMetadataRepository.get().getFillPreference(fqcn); 245 return ViewMetadataRepository.get().getTopAttributes(fqcn); 256 public IViewRule loadRule(@NonNull String fqcn) {
|
TestNode.java | 73 public TestNode(String fqcn) { 74 this.mFqcn = fqcn; 295 String fqcn = ANDROID_WIDGET_PREFIX + element.getTagName(); local 296 TestNode node = new TestXmlNode(fqcn, element); 327 private static String getTagName(String fqcn) { 328 return fqcn.substring(fqcn.lastIndexOf('.') + 1); 334 public TestXmlNode(String fqcn, Element element) { 335 super(fqcn);
|
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/ |
Main.java | 145 for (String fqcn : notRenamed) { 146 log.error("- Class not found: %s", fqcn.replace('/', '.'));
|