/frameworks/base/core/tests/coretests/src/android/view/accessibility/ |
H A D | RecycleAccessibilityEventTest.java | 43 AccessibilityEvent first = 45 assertNotNull(first); 47 first.setClassName(CLASS_NAME); 48 first.setPackageName(PACKAGE_NAME); 49 first.getText().add(TEXT); 50 first.setFromIndex(FROM_INDEX); 51 first.setAddedCount(ADDED_COUNT); 52 first.setRemovedCount(REMOVED_COUNT); 53 first.setChecked(true); 54 first [all...] |
/frameworks/base/graphics/java/android/graphics/ |
H A D | SumPathEffect.java | 23 * (e.g. first(path) + second(path)) 25 public SumPathEffect(PathEffect first, PathEffect second) { argument 26 native_instance = nativeCreate(first.native_instance, 30 private static native int nativeCreate(int first, int second); argument
|
/frameworks/base/core/java/android/util/ |
H A D | Pair.java | 25 public final F first; field in class:Pair 31 * @param first the first object in the Pair 34 public Pair(F first, S second) { argument 35 this.first = first; 53 return first.equals(other.first) && second.equals(other.second); 62 result = 31 * result + first.hashCode(); 69 * @param a the first objec [all...] |
H A D | TimingLogger.java | 133 final long first = mSplits.get(0); 134 long now = first; 142 Log.d(mTag, mLabel + ": end, " + (now - first) + " ms");
|
/frameworks/base/opengl/libagl/ |
H A D | Tokenizer.cpp | 43 if (!mRanges.size() || mRanges[0].first) { 48 // just extend the first run 50 uint32_t token = run.first + run.length; 76 if ((token >= run.first) && (token < run.first+run.length)) { 79 if ((token == run.first) || (token == run.first+run.length-1)) { 80 if (token == run.first) { 81 run.first += 1; 91 new_run.first [all...] |
H A D | Tokenizer.h | 45 run_t(uint32_t f, uint32_t l) : first(f), length(l) {} 46 uint32_t first; member in struct:android::Tokenizer::run_t
|
H A D | array.cpp | 462 // We never use the first and second entries because they might be in 529 void drawPrimitivesPoints(ogles_context_t* c, GLint first, GLsizei count) argument 542 c->arrays.compileElements(c, v, first, num); 543 first += num; 560 void drawPrimitivesLineStrip(ogles_context_t* c, GLint first, GLsizei count) argument 567 c->arrays.compileElement(c, c->vc.vBuffer, first); 568 first += 1; 579 c->arrays.compileElements(c, v, first, num); 580 first += num; 599 void drawPrimitivesLineLoop(ogles_context_t* c, GLint first, GLsize argument 614 drawPrimitivesLines(ogles_context_t* c, GLint first, GLsizei count) argument 646 drawPrimitivesTriangleFanOrStrip(ogles_context_t* c, GLint first, GLsizei count, int winding) argument 700 drawPrimitivesTriangleStrip(ogles_context_t* c, GLint first, GLsizei count) argument 705 drawPrimitivesTriangleFan(ogles_context_t* c, GLint first, GLsizei count) argument 710 drawPrimitivesTriangles(ogles_context_t* c, GLint first, GLsizei count) argument 947 compileElement__generic(ogles_context_t* c, vertex_t* v, GLint first) argument 961 compileElements__generic(ogles_context_t* c, vertex_t* v, GLint first, GLsizei count) argument 1341 glDrawArrays(GLenum mode, GLint first, GLsizei count) argument [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/ |
H A D | ListItemFocusablesCloseTest.java | 49 final LinearLayout first = (LinearLayout) mListView.getSelectedView(); 51 assertEquals("first item should be at top of screen", 53 first.getTop()); 54 assertTrue("first button of first list item should have focus", 55 first.getChildAt(0).isFocused()); 57 first.getHeight() < mListView.getHeight()); 60 assertTrue("first button of second item should be on screen", 67 final LinearLayout first = (LinearLayout) mListView.getSelectedView(); 68 final int topOfFirstItemBefore = first [all...] |
H A D | ListWithScreenOfNoSelectablesTest.java | 42 assertTrue("expecting first position to be selectable", 57 // go down until first (and only selectable) item is off screen 58 View first = mListView.getChildAt(0); 59 while (first.getParent() != null) { 81 // go down untile first (and only selectable) item is off screen 82 View first = mListView.getChildAt(0); 83 while (first.getParent() != null) { 93 assertEquals("first visible position", 0, mListView.getFirstVisiblePosition());
|
/frameworks/base/core/java/android/text/style/ |
H A D | LeadingMarginSpan.java | 40 * @param first true if the request is for the first line of a paragraph, 44 public int getLeadingMargin(boolean first); argument 61 * @param first true if this is the first line of its paragraph 68 boolean first, Layout layout); 74 * this object is attached that the "first line of paragraph" margin 80 * attached that the "first line" margin will apply to. 81 * Note that if this returns N, the first N lines of the region, 82 * not the first 64 drawLeadingMargin(Canvas c, Paint p, int x, int dir, int top, int baseline, int bottom, CharSequence text, int start, int end, boolean first, Layout layout) argument 102 Standard(int first, int rest) argument 133 getLeadingMargin(boolean first) argument 137 drawLeadingMargin(Canvas c, Paint p, int x, int dir, int top, int baseline, int bottom, CharSequence text, int start, int end, boolean first, Layout layout) argument [all...] |
H A D | IconMarginSpan.java | 38 public int getLeadingMargin(boolean first) { argument 45 boolean first, Layout layout) { 42 drawLeadingMargin(Canvas c, Paint p, int x, int dir, int top, int baseline, int bottom, CharSequence text, int start, int end, boolean first, Layout layout) argument
|
H A D | QuoteSpan.java | 62 public int getLeadingMargin(boolean first) { argument 69 boolean first, Layout layout) { 66 drawLeadingMargin(Canvas c, Paint p, int x, int dir, int top, int baseline, int bottom, CharSequence text, int start, int end, boolean first, Layout layout) argument
|
H A D | BulletSpan.java | 73 public int getLeadingMargin(boolean first) { argument 80 boolean first, Layout l) { 77 drawLeadingMargin(Canvas c, Paint p, int x, int dir, int top, int baseline, int bottom, CharSequence text, int start, int end, boolean first, Layout l) argument
|
H A D | DrawableMarginSpan.java | 38 public int getLeadingMargin(boolean first) { argument 45 boolean first, Layout layout) { 42 drawLeadingMargin(Canvas c, Paint p, int x, int dir, int top, int baseline, int bottom, CharSequence text, int start, int end, boolean first, Layout layout) argument
|
/frameworks/base/test-runner/src/android/test/ |
H A D | ViewAsserts.java | 113 * @param first The first view 116 static public void assertBaselineAligned(View first, View second) { argument 118 first.getLocationOnScreen(xy); 119 int firstTop = xy[1] + first.getBaseline(); 131 * @param first The first view 134 static public void assertRightAligned(View first, View second) { argument 136 first.getLocationOnScreen(xy); 137 int firstRight = xy[0] + first 153 assertRightAligned(View first, View second, int margin) argument 171 assertLeftAligned(View first, View second) argument 190 assertLeftAligned(View first, View second, int margin) argument 208 assertBottomAligned(View first, View second) argument 227 assertBottomAligned(View first, View second, int margin) argument 245 assertTopAligned(View first, View second) argument 264 assertTopAligned(View first, View second, int margin) argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | ContextThemeWrapper.java | 84 * @param first Set to true if this is the first time a style is being 87 protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first) { argument 92 final boolean first = mTheme == null; 93 if (first) { 100 onApplyThemeResource(mTheme, mThemeResource, first);
|
/frameworks/base/core/tests/coretests/src/android/content/ |
H A D | SyncQueueTest.java | 71 assertEquals(op6, mSyncQueue.nextReadyToRun(now).first); 74 assertEquals(op1, mSyncQueue.nextReadyToRun(now).first); 77 assertEquals(op4, mSyncQueue.nextReadyToRun(now).first); 80 assertEquals(op5, mSyncQueue.nextReadyToRun(now).first); 83 assertEquals(op2, mSyncQueue.nextReadyToRun(now).first); 86 assertEquals(op3, mSyncQueue.nextReadyToRun(now).first); 114 assertEquals(op6, mSyncQueue.nextReadyToRun(now).first); 117 assertEquals(op1, mSyncQueue.nextReadyToRun(now).first); 121 assertEquals(op5, mSyncQueue.nextReadyToRun(now).first); 124 assertEquals(op4, mSyncQueue.nextReadyToRun(now).first); [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | SumPathEffect_Delegate.java | 65 /*package*/ static int nativeCreate(int first, int second) { argument
|
/frameworks/base/include/utils/ |
H A D | List.h | 189 * Return the first element or one past the last element. The 222 void insert(iterator posn, const_iterator first, const_iterator last) { argument 223 for ( ; first != last; ++first) 224 insert(posn, *first); 238 iterator erase(iterator first, iterator last) { argument 239 while (first != last) 240 erase(first++); // don't erase than incr later! 259 * Measure the distance between two iterators. On exist, "first" 274 _ListIterator<U, CL> first, _ListIterato 273 distance( _ListIterator<U, CL> first, _ListIterator<U, CR> last) const argument [all...] |
/frameworks/base/core/tests/coretests/src/android/pim/vcard/test_utils/ |
H A D | PropertyNode.java | 164 boolean first = true; 166 if (first) { 167 first = false; 178 first = true; 180 if (first) { 181 first = false;
|
/frameworks/base/tests/CoreTests/android/core/ |
H A D | TreeSetTest.java | 75 * Tests performance for the java.util.TreeSet method - first() 83 value = set.first(); 84 value = set.first(); 85 value = set.first(); 86 value = set.first(); 87 value = set.first(); 88 value = set.first(); 89 value = set.first(); 90 value = set.first(); 91 value = set.first(); [all...] |
/frameworks/base/libs/utils/ |
H A D | BufferedTextOutput.cpp | 168 const char* first = txt; local 174 // Special cases for first data on a line. 193 vec.iov_base = (void*)first; 194 vec.iov_len = lastLine-first; 203 err = b->append(first, txt-first);
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | RetryManager.java | 64 * <li>4 retries with a 100 as the default randomization value for the first 2 values and 68 * <li>Infinite number of retries with the first one at 1000, the second at 2000 all 187 if (!value.first) return false; 194 if (!value.first) return false; 211 if (!value.first) return false; 219 if (!value.first) return false; 342 * @return Pair.first == true if stringValue an integer >= 0 355 + retVal.first + ", " + retVal.second); 364 * @return Pair.first
|
/frameworks/base/core/jni/android/graphics/ |
H A D | PathEffect.cpp | 24 SkPathEffect* first, SkPathEffect* second) { 25 return new SkSumPathEffect(first, second); 23 Sum_constructor(JNIEnv* env, jobject, SkPathEffect* first, SkPathEffect* second) argument
|
/frameworks/base/libs/ui/ |
H A D | Android.mk | 50 include $(call first-makefiles-under,$(LOCAL_PATH))
|