/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 27 second.native_instance); 30 private static native long nativeCreate(long first, long second); argument
|
H A D | Atlas.java | 367 Cell second = new Cell(); 373 second.x = cell.x; 374 second.y = cell.y + height + mPadding; 375 second.height = deltaHeight - mPadding; 380 second.width = cell.width; 383 second.width = width; 389 first = second; 390 second = temp; 399 if (second.width > 0 && second [all...] |
/frameworks/base/core/java/android/util/ |
H A D | Pair.java | 28 public final S second; field in class:Pair 34 * @param second the second object in the pair 36 public Pair(F first, S second) { argument 38 this.second = second; 55 return Objects.equals(p.first, first) && Objects.equals(p.second, second); 65 return (first == null ? 0 : first.hashCode()) ^ (second == null ? 0 : second [all...] |
/frameworks/av/media/img_utils/include/img_utils/ |
H A D | Pair.h | 32 S second; member in class:android::img_utils::Pair 36 Pair(const Pair& o) : first(o.first), second(o.second) {} 38 Pair(const F& f, const S& s) : first(f), second(s) {}
|
/frameworks/support/compat/java/android/support/v4/util/ |
H A D | Pair.java | 26 public final S second; field in class:Pair 32 * @param second the second object in the pair 34 public Pair(F first, S second) { argument 36 this.second = second; 53 return objectsEqual(p.first, first) && objectsEqual(p.second, second); 67 return (first == null ? 0 : first.hashCode()) ^ (second == null ? 0 : second [all...] |
/frameworks/base/test-runner/src/android/test/ |
H A D | ViewAsserts.java | 122 * @param second The second view 124 static public void assertBaselineAligned(View first, View second) { argument 129 second.getLocationOnScreen(xy); 130 int secondTop = xy[1] + second.getBaseline(); 140 * @param second The second view 142 static public void assertRightAligned(View first, View second) { argument 147 second.getLocationOnScreen(xy); 148 int secondRight = xy[0] + second 161 assertRightAligned(View first, View second, int margin) argument 179 assertLeftAligned(View first, View second) argument 198 assertLeftAligned(View first, View second, int margin) argument 216 assertBottomAligned(View first, View second) argument 235 assertBottomAligned(View first, View second, int margin) argument 253 assertTopAligned(View first, View second) argument 272 assertTopAligned(View first, View second, int margin) argument [all...] |
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
H A D | GestureUtils.java | 26 private static boolean eventsWithinTimeAndDistanceSlop(MotionEvent first, MotionEvent second, argument 28 if (isTimedOut(first, second, timeout)) { 31 final double deltaMove = computeDistance(first, second, actionIndex); 38 public static double computeDistance(MotionEvent first, MotionEvent second, int pointerIndex) { argument 40 second.getX(pointerIndex), second.getY(pointerIndex)); 48 public static boolean isSamePointerContext(MotionEvent first, MotionEvent second) { argument 49 return (first.getPointerIdBits() == second.getPointerIdBits() 51 == second.getPointerId(second [all...] |
/frameworks/base/libs/hwui/utils/ |
H A D | Pair.h | 28 S second; member in struct:android::uirenderer::Pair 31 Pair(const Pair& o) : first(o.first), second(o.second) { } 32 Pair(const F& f, const S& s) : first(f), second(s) { } 39 return second;
|
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/native/ |
H A D | sparse_weight_vector.cpp | 41 if (isnanf(iter->second) || __isinff(iter->second)) 55 w_[iter->first] += ((multiplier * iter->second) / w1.normalizer_ 69 w_[iter->first] += ((multiplier * iter->second * iter->second) / 84 if(iter->second > 0.0) { 86 (sqrt(iter->second)) 103 w_[iter->first] += ((multiplier * iter->second) / w1.normalizer_ 127 iter->second *= w1.GetElement(iter->first); 143 iter->second * [all...] |
/frameworks/base/packages/services/Proxy/src/com/android/proxyhandler/ |
H A D | SocketConnect.java | 41 public static void connect(Socket first, Socket second) { argument 43 SocketConnect sc1 = new SocketConnect(first, second); 44 SocketConnect sc2 = new SocketConnect(second, first);
|
/frameworks/base/tools/aapt/ |
H A D | ResourceFilter.cpp | 39 entry.second = mDefault.diff(entry.first); 42 entry.second &= ~ResTable_config::CONFIG_VERSION; 45 if ((entry.second & ResTable_config::CONFIG_DENSITY) != 0) { 48 entry.second &= ~ResTable_config::CONFIG_DENSITY; 51 mConfigMask |= entry.second; 111 if ((diff & entry.second) == 0) { 113 matchedAxis |= entry.second; 114 } else if ((diff & entry.second) == ResTable_config::CONFIG_LOCALE) { 132 } else if ((diff & entry.second) == ResTable_config::CONFIG_SMALLEST_SCREEN_SIZE) {
|
/frameworks/rs/java/tests/Refocus/src/com/android/rs/test/ |
H A D | ImageCompare.java | 26 byte[] second = loadImageByteArray(file2); 30 int v2 = 0xFF & second[i]; 54 byte[] second = loadBitmapByteArray(bitmap2); 56 int loopCount = first.length > second.length ? second.length : first.length; 62 int v2 = 0xFF & second[i]; 115 byte[] second = stream2.toByteArray(); 127 int v2 = 0xFF & second[i]; 134 difference[i] = (byte)(first[i] - second[i]);
|
/frameworks/opt/chips/tests/src/com/android/ex/chips/ |
H A D | ChipsTest.java | 185 String second = (String) mTokenizer.terminateToken("SECOND"); 188 mEditable.append(first + extra + second); 191 int secondStart = mEditable.toString().indexOf(second); 192 int secondEnd = secondStart + second.trim().length(); 199 assertEquals(editableString.indexOf(second), secondStart - extra.length()); 200 assertEquals(editableString, (first + second)); 222 String second = (String) mTokenizer.terminateToken("SECOND"); 225 mEditable.append(first + second); 228 int secondStart = mEditable.toString().indexOf(second); 229 int secondEnd = secondStart + second [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | SumPathEffect_Delegate.java | 65 /*package*/ static long nativeCreate(long first, long second) { argument
|
/frameworks/compile/mclinker/include/mcld/ADT/ |
H A D | ilist_sort.h | 36 iterator second = xs.begin(); local 37 ++second; 38 if (is_less_than(*second, *first)) { 39 xs.splice(first, xs, second);
|
/frameworks/compile/mclinker/include/mcld/Support/ |
H A D | UniqueGCFactory.h | 43 return dataIter->second; 50 return dataIter->second; 58 return dataIter->second; 71 return dataIter->second;
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | ControlBar.java | 75 View second = getChildAt(i+1); 76 int measuredWidth = first.getMeasuredWidth() + second.getMeasuredWidth(); 78 LayoutParams lp = (LayoutParams) second.getLayoutParams(); 81 second.setLayoutParams(lp);
|
/frameworks/av/media/mtp/ |
H A D | MtpUtils.cpp | 32 second (00-59). The ".s" is optional, and represents tenths of a second. 37 int year, month, day, hour, minute, second; local 39 &year, &month, &day, &hour, &minute, &second) != 6) 42 // skip optional tenth of second 59 tm.tm_sec = second;
|
/frameworks/base/core/java/android/security/net/config/ |
H A D | ApplicationConfig.java | 91 NetworkSecurityConfig config = entry.second; 109 return bestMatch.second; 133 if (!entry.second.isCleartextTrafficPermitted()) { 157 if (updatedConfigs.add(entry.second)) { 158 entry.second.handleTrustStorageUpdate();
|
/frameworks/av/include/media/ |
H A D | IMediaSource.h | 213 if (MediaBuffer::isDeadObject(p->second.first)) { 219 ALOGW_IF(p->second.first.get() != mem.get(), "Mismatched buffers without reset"); 220 return p->second.second; 239 return p->second.second; 249 if (MediaBuffer::isDeadObject(it->second.first)) {
|
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | gl_env.cpp | 50 eglDestroySurface(display(), it->second.first); 51 if (it->second.second) { 52 it->second.second->Destroy(); 53 delete it->second.second; 63 eglDestroyContext(display(), it->second); 234 if (surface_window_pair->second) { 235 surface_window_pair->second [all...] |
/frameworks/rs/ |
H A D | rsMap.h | 13 Pair(T1 f1, T2 f2) : first(f1), second(f2) {} 16 T2 second; member in class:android::renderscript::Pair 20 Pair<T1, T2> make_pair(T1 first, T2 second) { argument 21 return Pair<T1, T2>(first, second); 62 return node->entry.second; 76 return node->entry.second;
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
H A D | ListItemRequestRectAboveThinFirstItemTest.java | 53 // having the second item call requestRectangleOnScreen with a rect above 61 final View second = mListView.getChildAt(1); 63 second.getDrawingRect(rect); 64 rect.offset(0, -2 * second.getBottom());
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | LaunchingTaskPositioner.java | 280 private static final boolean closeLeftTopCorner(Rect first, Rect second) { argument 281 return Math.abs(first.left - second.left) < BOUNDS_CONFLICT_MIN_DISTANCE 282 && Math.abs(first.top - second.top) < BOUNDS_CONFLICT_MIN_DISTANCE; 285 private static final boolean closeRightTopCorner(Rect first, Rect second) { argument 286 return Math.abs(first.right - second.right) < BOUNDS_CONFLICT_MIN_DISTANCE 287 && Math.abs(first.top - second.top) < BOUNDS_CONFLICT_MIN_DISTANCE; 290 private static final boolean closeLeftBottomCorner(Rect first, Rect second) { argument 291 return Math.abs(first.left - second.left) < BOUNDS_CONFLICT_MIN_DISTANCE 292 && Math.abs(first.bottom - second.bottom) < BOUNDS_CONFLICT_MIN_DISTANCE; 295 private static final boolean closeRightBottomCorner(Rect first, Rect second) { argument [all...] |
/frameworks/base/media/mca/filterfw/native/base/ |
H A D | utilities.h | 65 delete i->second; 81 return &it->second; 135 return it->second; 154 return ret.second;
|