/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 int nativeCreate(int first, int second); argument
|
/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/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/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/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/ex/chips/tests/src/com/android/ex/chips/ |
H A D | ChipsTest.java | 175 String second = (String) mTokenizer.terminateToken("SECOND"); 178 mEditable.append(first + extra + second); 181 int secondStart = mEditable.toString().indexOf(second); 182 int secondEnd = secondStart + second.trim().length(); 189 assertEquals(editableString.indexOf(second), secondStart - extra.length()); 190 assertEquals(editableString, (first + second)); 212 String second = (String) mTokenizer.terminateToken("SECOND"); 215 mEditable.append(first + second); 218 int secondStart = mEditable.toString().indexOf(second); 219 int secondEnd = secondStart + second [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/compile/mclinker/include/mcld/Support/ |
H A D | UniqueGCFactory.h | 49 return dataIter->second; 56 return dataIter->second; 64 return dataIter->second; 77 return dataIter->second;
|
/frameworks/av/media/mtp/ |
H A D | MtpUtils.cpp | 33 second (00-59). The ".s" is optional, and represents tenths of a second. 37 int year, month, day, hour, minute, second; local 41 &year, &month, &day, &hour, &minute, &second) != 6) 44 // skip optional tenth of second 54 tm.tm_sec = second;
|
/frameworks/compile/libbcc/lib/Renderscript/ |
H A D | RSInfo.cpp | 118 if (::memcmp(cache_libbcc_dep.second, LibBCCSHA1, SHA1_DIGEST_LENGTH) != 0) { 123 cache_libbcc_dep.second); 128 if (::memcmp(cache_libRS_dep.second, LibRSSHA1, SHA1_DIGEST_LENGTH) != 0) { 133 cache_libRS_dep.second); 138 if (::memcmp(cache_libclcore_dep.second, LibCLCoreSHA1, 144 cache_libclcore_dep.second); 150 if (::memcmp(cache_libclcore_neon_dep.second, LibCLCoreNEONSHA1, 156 cache_libclcore_neon_dep.second); 166 (::memcmp(pDeps[i].second, cache_dep.second, [all...] |
H A D | RSInfoWriter.cpp | 41 pInfo.getStringIdxInPool(reinterpret_cast<const char *>(pItem->second)); 64 pResult.value = pInfo.getStringIdxInPool(pItem->second); 73 pItem->second); 127 pResult.signature = pItem->second;
|
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | gl_env.cpp | 48 eglDestroySurface(display(), it->second.first); 49 if (it->second.second) { 50 it->second.second->Destroy(); 51 delete it->second.second; 61 eglDestroyContext(display(), it->second); 229 if (surface_window_pair->second) { 230 surface_window_pair->second [all...] |
H A D | gl_env.h | 130 return surfaces_.find(surface_id_)->second.first; 151 return contexts_.find(context_id_)->second;
|
/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/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/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/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/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);
|
/frameworks/base/core/java/android/text/format/ |
H A D | Time.java | 29 * a moment in time, specified with second precision. It is modelled after 53 * True if this is an allDay event. The hour, minute, second fields are 61 public int second; field in class:Time 276 this.second = 0; 294 * @param b second {@code Time} instance to compare 297 * hour}, {@code minute}, and {@code second} are not 0. 392 * <code>minute</code>, and <code>second</code> fields are set to zero; 449 * {@link #minute}, and {@link #second} fields are set to zero. 558 this.second = that.second; 574 set(int second, int minute, int hour, int monthDay, int month, int year) argument [all...] |
/frameworks/opt/telephony/src/java/android/telephony/ |
H A D | SmsCbEtwsInfo.java | 141 int second = IccUtils.gsmBcdByteToInt(mWarningSecurityInformation[5]); 163 time.second = second;
|
/frameworks/base/core/java/android/net/ |
H A D | NetworkPolicyManager.java | 166 cycle.hour = cycle.minute = cycle.second = 0; 173 lastMonth.hour = lastMonth.minute = lastMonth.second = 0; 196 cycle.hour = cycle.minute = cycle.second = 0; 203 nextMonth.hour = nextMonth.minute = nextMonth.second = 0; 217 * exist, it snaps to last second of current month. 223 // cycle day isn't valid this month; snap to last second of month 226 time.second = -1;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | RetryManager.java | 68 * <li>Infinite number of retries with the first one at 1000, the second at 2000 all 201 defaultRandomization = value.second; 208 mMaxRetryCount = value.second; 225 rr.mDelayTime = value.second; 233 rr.mRandomizationTime = value.second; 372 + retVal.first + ", " + retVal.second);
|
/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/compile/slang/ |
H A D | slang_rs_metadata_spec_encoder.cpp | 136 return (I->second + 1); 142 if (!Res.second) 150 return (Res.first->second + 1); 163 return (I->second + 1); 169 if (!Res.second) 225 return (I->second + 1); 243 if (!Res.second) 290 return (Res.first->second + 1);
|