Searched defs:index (Results 1 - 25 of 91) sorted by relevance

1234

/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/heap/
H A DNativeStackLabelProvider.java32 public String getColumnText(Object element, int index) { argument
34 return getResolvedStackTraceColumnText((NativeStackCallInfo) element, index);
40 return getStackAddressColumnText((Long) element, index);
46 public String getResolvedStackTraceColumnText(NativeStackCallInfo info, int index) { argument
47 switch (index) {
64 private String getStackAddressColumnText(Long address, int index) { argument
65 if (index == 0) {
H A DNativeHeapLabelProvider.java38 public String getColumnText(Object element, int index) { argument
40 return getColumnTextForNativeAllocation((NativeAllocationInfo) element, index);
44 return getColumnTextForNativeLibrary((NativeLibraryAllocationInfo) element, index);
50 private String getColumnTextForNativeAllocation(NativeAllocationInfo info, int index) { argument
53 switch (index) {
75 private String getColumnTextForNativeLibrary(NativeLibraryAllocationInfo info, int index) { argument
76 switch (index) {
H A DNativeHeapProviderByAllocations.java68 public void updateElement(Object parent, int index) { argument
72 item = getAllocations().get(index);
75 mViewer.replace(parent, index, item);
H A DNativeHeapProviderByLibrary.java65 public void updateElement(Object parent, int index) { argument
71 item = getLibraryAllocations(snapshot).get(index);
74 item = ((NativeLibraryAllocationInfo) parent).getAllocations().get(index);
77 mViewer.replace(parent, index, item);
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/logcat/
H A DLogCatFilterLabelProvider.java35 * @param index index of the column
39 public String getColumnText(Object element, int index) { argument
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/mock/
H A DMockNodeList.java52 public Node item(int index) { argument
53 if (index >= 0 && index < mChildren.size()) {
54 return mChildren.get(index);
H A DMockNamedNodeMap.java32 /** list for access by index */
88 public Node item(int index) { argument
89 return mNodeList.get(index);
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/
H A DAbstractBufferFindTarget.java39 // Find starting index for this search
45 // the current result index
61 int index = mCurrentSearchIndex;
70 } while (index != mCurrentSearchIndex); // loop through entire contents once
89 private int getNext(int index, boolean searchForward, int max) { argument
90 // increment or decrement index
91 index = searchForward ? index + 1 : index - 1;
94 if (index
110 getItem(int index) argument
113 selectAndReveal(int index) argument
[all...]
/sdk/ddms/libs/ddmuilib/tests/src/com/android/ddmuilib/logcat/
H A DRollingBufferFindTest.java44 public String getItem(int index) { argument
46 return mItems.get(index);
50 public void selectAndReveal(int index) { argument
51 mSelectedItem = index;
72 // subsequent search should hit the item at first index
76 // search again should roll over and hit the last index
104 // searching forward from there should also hit the first index
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/properties/
H A DEnumXmlPropertyEditor.java69 protected void toPropertyEx(Property property, CCombo3 combo, int index) throws Exception { argument
70 property.setValue(getItems(property)[index]);
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/manager/
H A DProjectClassLoader.java165 * @param index the offset at which to start looking into segments.
168 private File getFile(File parent, String[] segments, int index) argument
171 if (index == segments.length) {
175 String toMatch = segments[index];
179 if (index == segments.length - 1) {
200 return getFile(file, segments, index+1);
204 StringBuilder sb = new StringBuilder(segments[index]);
205 for (int i = index + 1 ; i < segments.length ; i++) {
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/
H A DTraceFileParserTask.java73 private void addMessage(int index, long traceFileOffset, GLMessage msg, long startTime) { argument
81 GLCall c = new GLCall(index,
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/transforms/
H A DGLPropertyAccessor.java105 /** Extract properties by index. */
109 public GLIndexPropertyExtractor(int index) { argument
110 mIndex = index;
/sdk/layoutlib_api/src/com/android/ide/common/rendering/api/
H A DAdapterBinding.java50 public ResourceReference getHeaderAt(int index) { argument
51 return mHeaders.get(index);
62 public DataBindingItem getItemAt(int index) { argument
63 return mItems.get(index);
74 public ResourceReference getFooterAt(int index) { argument
75 return mFooters.get(index);
/sdk/layoutlib_api/src/com/android/resources/
H A DKeyboard.java84 public static Keyboard getByIndex(int index) { argument
87 if (i == index) {
H A DKeyboardState.java81 public static KeyboardState getByIndex(int index) { argument
84 if (i == index) {
H A DNavigation.java82 public static Navigation getByIndex(int index) { argument
85 if (i == index) {
H A DNavigationState.java80 public static NavigationState getByIndex(int index) { argument
83 if (i == index) {
H A DNightMode.java80 public static NightMode getByIndex(int index) { argument
83 if (i == index) {
H A DScreenOrientation.java81 public static ScreenOrientation getByIndex(int index) { argument
84 if (i == index) {
H A DScreenRatio.java80 public static ScreenRatio getByIndex(int index) { argument
83 if (i == index) {
H A DScreenSize.java82 public static ScreenSize getByIndex(int index) { argument
85 if (i == index) {
H A DTouchScreen.java81 public static TouchScreen getByIndex(int index) { argument
84 if (i == index) {
H A DUiMode.java80 public static UiMode getByIndex(int index) { argument
83 if (i == index) {
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/util/
H A DSparseIntArray.java80 * Removes the mapping at the given index.
82 public void removeAt(int index) { argument
83 System.arraycopy(mKeys, index + 1, mKeys, index, mSize - (index + 1));
84 System.arraycopy(mValues, index + 1, mValues, index, mSize - (index + 1));
136 * Given an index in the range <code>0...size()-1</code>, returns
137 * the key from the <code>index</cod
140 keyAt(int index) argument
149 valueAt(int index) argument
[all...]

Completed in 2988 milliseconds

1234