Searched defs:first (Results 1 - 25 of 66) sorted by relevance

123

/frameworks/base/graphics/java/android/graphics/
H A DSumPathEffect.java23 * (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/packages/services/Proxy/src/com/android/proxyhandler/
H A DSocketConnect.java41 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/layoutlib/bridge/src/android/graphics/
H A DSumPathEffect_Delegate.java65 /*package*/ static int nativeCreate(int first, int second) { argument
/frameworks/native/opengl/libagl/
H A DTokenizer.h45 run_t(uint32_t f, uint32_t l) : first(f), length(l) {}
46 uint32_t first; member in struct:android::Tokenizer::run_t
/frameworks/base/core/java/android/util/
H A DPair.java27 public final F first; field in class:Pair
33 * @param first the first object in the Pair
36 public Pair(F first, S second) { argument
37 this.first = first;
55 return Objects.equal(p.first, first) && Objects.equal(p.second, second);
65 return (first == null ? 0 : first
[all...]
/frameworks/ex/variablespeed/jni/
H A Dmacros.h31 ForwardIterator min_element(ForwardIterator first, ForwardIterator last) { argument
32 ForwardIterator lowest = first;
33 if (first == last) return last;
34 while (++first != last)
35 if (*first < *lowest)
36 lowest = first;
/frameworks/av/media/libmedia/
H A Dautodetect.cpp20 uint16_t first; member in struct:CharRange
857 if (ch >= range->first && ch <= range->last)
/frameworks/base/libs/hwui/utils/
H A DPair.h25 F first; 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) { }
33 return first;
/frameworks/av/media/libeffects/loudness/common/core/
H A Dbyte_swapper.h44 char *first = &new_val, *last = first + kValSize - 1, x; local
45 for (; first < last; ++first, --last) {
47 *last = *first;
48 *first = x;
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/
H A DarmVCM4P2_PutVLCBits.c108 OMX_U8 last = 0, first = 1, fMode; local
126 if (first == 0)
161 first = 0;
/frameworks/base/core/java/android/text/style/
H A DDrawableMarginSpan.java38 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 DIconMarginSpan.java38 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 DBulletSpan.java76 public int getLeadingMargin(boolean first) { argument
83 boolean first, Layout l) {
80 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 DLeadingMarginSpan.java40 * @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 DQuoteSpan.java62 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
/frameworks/base/core/java/android/view/
H A DContextThemeWrapper.java128 * @param first Set to true if this is the first time a style is being
131 protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first) { argument
136 final boolean first = mTheme == null;
137 if (first) {
144 onApplyThemeResource(mTheme, mThemeResource, first);
H A DFocusFinder.java206 // (so the first plausible view will become the best choice)
281 // to be a better candidate, need to at least be a candidate in the first
391 * @param rect1 The first rectangle
623 public int compare(View first, View second) { argument
624 if (first == second) {
628 getRect(first, mFirstRect);
/frameworks/base/test-runner/src/android/test/
H A DViewAsserts.java113 * @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/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/services/java/com/android/server/accessibility/
H A DGestureUtils.java26 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
39 return MathUtils.dist(first.getX(pointerIndex), first.getY(pointerIndex),
48 public static boolean isSamePointerContext(MotionEvent first, MotionEvent second) { argument
49 return (first.getPointerIdBits() == second.getPointerIdBits()
50 && first.getPointerId(first
[all...]
/frameworks/base/tools/obbtool/
H A DMain.cpp171 unsigned char first, second; local
172 if (!fromHex(h1, &first)) return false;
174 *b = (first << 4) | second;
/frameworks/compile/mclinker/lib/Target/ARM/
H A DARMPLT.cpp86 iterator first = m_SectionData->getFragmentList().begin(); local
88 assert(first != m_SectionData->getFragmentList().end() &&
91 ARMPLT0* plt0 = &(llvm::cast<ARMPLT0>(*first));
111 iterator first = m_SectionData->getFragmentList().begin(); local
113 assert(first != m_SectionData->getFragmentList().end() &&
116 ARMPLT0* plt0 = &(llvm::cast<ARMPLT0>(*first));
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dc2_9pf.cpp200 i.e. first or second pair. Where each pair contains 2 tracks.
203 first i0 : 0, 5, 10, 15, 20, 25, 30, 35.
209 first i0 : 0, 5, 10, 15, 20, 25, 30, 35.
215 first i0 : 0, 5, 10, 15, 20, 25, 30, 35.
221 first i0 : 0, 5, 10, 15, 20, 25, 30, 35.
891 Word16 i, j, k, track, first, index, _sign[NB_PULSE], indx, rsign;
916 first = pt[track];
918 if (first == 0) {
1000 register Word16 first; local
1032 first
[all...]
/frameworks/av/media/libstagefright/wifi-display/
H A DVideoFormats.cpp489 bool first = true; local
518 if (first || score > bestScore) {
523 first = false;
528 if (first) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DTicker.java67 boolean first; field in class:Ticker.Segment
106 this.first = false;
149 this.first = true;
218 seg.first = false;
275 if (seg.first) {
276 // this makes the icon slide in for the first one for a given

Completed in 688 milliseconds

123