/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 | 391 Cell second = new Cell(); 397 second.x = cell.x; 398 second.y = cell.y + height + mPadding; 399 second.height = deltaHeight - mPadding; 404 second.width = cell.width; 407 second.width = width; 413 first = second; 414 second = temp; 423 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.equal(p.first, first) && Objects.equal(p.second, second); 65 return (first == null ? 0 : first.hashCode()) ^ (second == null ? 0 : second [all...] |
/frameworks/support/v4/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/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/base/test-runner/src/android/test/ |
H A D | ViewAsserts.java | 114 * @param second The second view 116 static public void assertBaselineAligned(View first, View second) { argument 121 second.getLocationOnScreen(xy); 122 int secondTop = xy[1] + second.getBaseline(); 132 * @param second The second view 134 static public void assertRightAligned(View first, View second) { argument 139 second.getLocationOnScreen(xy); 140 int secondRight = xy[0] + second 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/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/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; 71 if ((diff & entry.second) == 0) { 73 matchedAxis |= entry.second; 74 } else if ((diff & entry.second) == ResTable_config::CONFIG_LOCALE) { 84 } else if ((diff & entry.second) == ResTable_config::CONFIG_SMALLEST_SCREEN_SIZE) {
|
/frameworks/base/libs/hwui/utils/ |
H A D | Pair.h | 26 S second; member in struct:android::uirenderer::Pair 29 Pair(const Pair& o) : first(o.first), second(o.second) { } 30 Pair(const F& f, const S& s) : first(f), second(s) { } 37 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/services/tests/servicestests/src/com/android/server/job/ |
H A D | JobStoreTest.java | 149 private void assertTasksEqual(JobInfo first, JobInfo second) { argument 150 assertEquals("Different task ids.", first.getId(), second.getId()); 151 assertEquals("Different components.", first.getService(), second.getService()); 152 assertEquals("Different periodic status.", first.isPeriodic(), second.isPeriodic()); 153 assertEquals("Different period.", first.getIntervalMillis(), second.getIntervalMillis()); 155 second.getInitialBackoffMillis()); 157 second.getBackoffPolicy()); 160 second.isRequireCharging()); 162 second.isRequireDeviceIdle()); 165 second [all...] |
/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/Support/ |
H A D | UniqueGCFactory.h | 46 return dataIter->second; 53 return dataIter->second; 61 return dataIter->second; 74 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 | 34 second (00-59). The ".s" is optional, and represents tenths of a second. 38 int year, month, day, hour, minute, second; local 42 &year, &month, &day, &hour, &minute, &second) != 6) 45 // skip optional tenth of second 55 tm.tm_sec = second;
|
/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/base/core/tests/coretests/src/android/widget/listview/ |
H A D | ListItemRequestRectAboveThinFirstItemTest.java | 51 // having the second item call requestRectangleOnScreen with a rect above 59 final View second = mListView.getChildAt(1); 61 second.getDrawingRect(rect); 62 rect.offset(0, -2 * second.getBottom());
|
/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;
|
/frameworks/base/media/mca/filterpacks/native/base/ |
H A D | utilities.h | 65 delete i->second; 81 return &it->second; 135 return it->second; 154 return ret.second;
|
/frameworks/ml/bordeaux/learning/multiclass_pa/native/ |
H A D | multiclass_pa.cpp | 84 result += inputs[i].second * parameters[inputs[i].first]; 101 norm += inputs[i].second * inputs[i].second; 162 parameters_[target][inputs[i].first] += rate * inputs[i].second; 164 parameters_[other_class][inputs[i].first] -= rate * inputs[i].second; 177 float loss_t = TrainOneExample(data[index].first, data[index].second); 190 float loss_t = SparseTrainOneExample(data[index].first, data[index].second); 229 if (best_class != data[t].second) { 242 if (best_class != data[t].second) {
|
/frameworks/base/core/tests/coretests/src/android/view/accessibility/ |
H A D | RecycleAccessibilityEventTest.java | 77 AccessibilityEvent second = AccessibilityEvent.obtain(); 78 assertEquals(first, second);
|
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/ |
H A D | MarshalQueryablePair.java | 94 } else if (value.second == null) { 95 throw new UnsupportedOperationException("Pair#second must not be null"); 99 mNestedTypeMarshalerSecond.marshal(value.second, buffer); 105 T2 second = mNestedTypeMarshalerSecond.unmarshal(buffer); 108 return mConstructor.newInstance(first, second); 140 int secondSize = mNestedTypeMarshalerSecond.calculateMarshalSize(value.second);
|
/frameworks/base/core/java/com/android/internal/http/ |
H A D | HttpDateTime.java | 77 this.second = s; 82 int second; field in class:HttpDateTime.TimeOfDay 119 time.set(timeOfDay.second, timeOfDay.minute, timeOfDay.hour, date, 220 int second = (timeString.charAt(i++) - '0') * 10 223 return new TimeOfDay(hour, minute, second);
|