Searched refs:second (Results 1 - 25 of 96) sorted by relevance

1234

/frameworks/base/graphics/java/android/graphics/
H A DSumPathEffect.java23 * (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 DPair.java26 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 first.equals(other.first) && second.equals(other.second);
63 result = 31 * result + second.hashCode();
70 * @param b the second objec
[all...]
/frameworks/base/test-runner/src/android/test/
H A DViewAsserts.java114 * @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/ml/bordeaux/learning/stochastic_linear_ranker/native/
H A Dsparse_weight_vector.cpp41 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 DChipsTest.java175 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 DSumPathEffect_Delegate.java65 /*package*/ static int nativeCreate(int first, int second) { argument
/frameworks/compile/mclinker/include/mcld/Support/
H A DUniqueGCFactory.h49 return dataIter->second;
56 return dataIter->second;
64 return dataIter->second;
77 return dataIter->second;
/frameworks/av/media/mtp/
H A DMtpUtils.cpp33 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/base/media/mca/filterfw/native/core/
H A Dgl_env.cpp48 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 Dgl_env.h130 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 DListItemRequestRectAboveThinFirstItemTest.java51 // 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 Dutilities.h65 delete i->second;
81 return &it->second;
135 return it->second;
154 return ret.second;
/frameworks/base/media/mca/filterpacks/native/base/
H A Dutilities.h65 delete i->second;
81 return &it->second;
135 return it->second;
154 return ret.second;
/frameworks/compile/libbcc/lib/ExecutionEngine/
H A DScriptCached.cpp95 *valueList++ = mPragmas[i].second;
134 info->addr = I->second.first;
135 info->size = I->second.second;
H A DScriptCompiled.cpp106 if (valueList) { *valueList++ = I->second.c_str(); }
130 info->addr = I->second->addr;
131 info->size = I->second->size;
/frameworks/ml/bordeaux/learning/multiclass_pa/native/
H A Dmulticlass_pa.cpp84 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 DRecycleAccessibilityEventTest.java77 AccessibilityEvent second = AccessibilityEvent.obtain();
78 assertEquals(first, second);
/frameworks/base/core/java/com/android/internal/http/
H A DHttpDateTime.java77 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/telephony/java/android/telephony/
H A DSmsCbEtwsInfo.java141 int second = IccUtils.gsmBcdByteToInt(mWarningSecurityInformation[5]);
163 time.second = second;
/frameworks/base/core/java/android/text/format/
H A DTime.java27 * a moment in time, specified with second precision. It is modelled after
51 * True if this is an allDay event. The hour, minute, second fields are
59 public int second; field in class:Time
271 this.second = 0;
289 * @param b second {@code Time} instance to compare
292 * hour}, {@code minute}, and {@code second} are not 0.
418 * <code>minute</code>, and <code>second</code> fields are set to zero;
472 * {@link #minute}, and {@link #second} fields are set to zero.
581 this.second = that.second;
597 set(int second, int minute, int hour, int monthDay, int month, int year) argument
[all...]
/frameworks/base/core/java/android/net/
H A DNetworkPolicyManager.java165 cycle.hour = cycle.minute = cycle.second = 0;
172 lastMonth.hour = lastMonth.minute = lastMonth.second = 0;
195 cycle.hour = cycle.minute = cycle.second = 0;
202 nextMonth.hour = nextMonth.minute = nextMonth.second = 0;
216 * exist, it snaps to last second of current month.
222 // cycle day isn't valid this month; snap to last second of month
225 time.second = -1;
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DRetryManager.java68 * <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 DPathEffect.cpp24 SkPathEffect* first, SkPathEffect* second) {
25 return new SkSumPathEffect(first, second);
23 Sum_constructor(JNIEnv* env, jobject, SkPathEffect* first, SkPathEffect* second) argument
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DDuotoneFilter.java50 "uniform vec3 second;\n" +
55 " vec3 new_color = (1.0 - energy) * first + energy * second;\n" +
118 float second[] = { Color.red(mSecondColor)/255f,
123 mProgram.setHostValue("second", second);
/frameworks/compile/slang/
H A Dslang_rs_metadata_spec_encoder.cpp136 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);

Completed in 457 milliseconds

1234