OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:wordPrefix
(Results
1 - 6
of
6
) sorted by null
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/
AndroidContentAssist.java
143
String
wordPrefix
= extractElementPrefix(viewer, offset);
172
wordPrefix
);
175
AttribInfo info = parseAttributeInfo(viewer, offset, offset -
wordPrefix
.length());
181
computeAttributeProposals(proposals, viewer, offset,
wordPrefix
, currentUiNode,
184
computeNonAttributeProposals(viewer, offset,
wordPrefix
, proposals, parentNode,
192
private void computeNonAttributeProposals(ITextViewer viewer, int offset, String
wordPrefix
,
195
if (startsWith(parent,
wordPrefix
)) {
204
int replaceLength = parent.length() -
wordPrefix
.length();
209
if (
wordPrefix
.length() == 0 && nextChar == '<') {
217
char needTag = computeElementNeedTag(viewer, offset,
wordPrefix
);
[
all
...]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/animator/
AnimationContentAssist.java
74
String parentTagName, String attributeName, Node node, String
wordPrefix
,
80
if (!
wordPrefix
.startsWith("@android:anim/")) { //$NON-NLS-1$
92
addMatchingProposals(proposals, interpolators.toArray(), offset, node,
wordPrefix
,
99
node,
wordPrefix
, skipEndTag, replaceLength);
108
String attributePrefix =
wordPrefix
;
156
addMatchingProposals(proposals, pairs.toArray(), offset, node,
wordPrefix
,
165
node,
wordPrefix
, skipEndTag, replaceLength);
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/
ManifestContentAssist.java
52
String parentTagName, String attributeName, Node node, String
wordPrefix
,
85
addMatchingProposals(proposals, choices.toArray(), offset, node,
wordPrefix
,
91
node,
wordPrefix
, skipEndTag, replaceLength);
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/format/
FormatUtilsTests.java
108
* @param
wordPrefix
the word prefix to look for
111
private void checkIndexOfWordPrefix(String text, String
wordPrefix
, int expectedIndex) {
112
assertEquals(expectedIndex, FormatUtils.indexOfWordPrefix(text,
wordPrefix
));
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/values/
ValuesContentAssist.java
74
String parentTagName, String attributeName, Node node, String
wordPrefix
,
77
wordPrefix
, skipEndTag, replaceLength);
87
if (startsWith(ANDROID_NS_NAME_PREFIX,
wordPrefix
)) {
89
offset -
wordPrefix
.length(), // replacementOffset
90
wordPrefix
.length() + replaceLength, // replacementLength
97
String attributePrefix =
wordPrefix
;
129
addMatchingProposals(proposals, sorted.toArray(), offset, node,
wordPrefix
,
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/
LayoutContentAssist.java
156
String parentTagName, String attributeName, Node node, String
wordPrefix
,
159
wordPrefix
, skipEndTag, replaceLength);
223
addMatchingProposals(proposals, sorted.toArray(), offset, node,
wordPrefix
,
Completed in 1032 milliseconds