Searched defs:first (Results 1 - 25 of 56) 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/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/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.java205 // (so the first plausible view will become the best choice)
294 // to be a better candidate, need to at least be a candidate in the first
404 * @param rect1 The first rectangle
631 public int compare(View first, View second) { argument
632 if (first == second) {
636 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/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/compile/mclinker/lib/Target/ARM/
H A DARMPLT.cpp136 iterator first = m_SectionData.getFragmentList().begin(); local
138 assert(first != m_SectionData.getFragmentList().end() &&
141 ARMPLT0* plt0 = &(llvm::cast<ARMPLT0>(*first));
161 iterator first = m_SectionData.getFragmentList().begin(); local
163 assert(first != m_SectionData.getFragmentList().end() &&
166 ARMPLT0* plt0 = &(llvm::cast<ARMPLT0>(*first));
/frameworks/compile/mclinker/lib/Target/X86/
H A DX86PLT.cpp137 iterator first = m_SectionData.getFragmentList().begin(); local
139 assert(first != m_SectionData.getFragmentList().end() &&
142 X86PLT0* plt0 = &(llvm::cast<X86PLT0>(*first));
150 iterator first = m_SectionData.getFragmentList().begin(); local
152 assert(first != m_SectionData.getFragmentList().end() &&
155 X86PLT0* plt0 = &(llvm::cast<X86PLT0>(*first));
/frameworks/native/libs/utils/
H A DBufferedTextOutput.cpp168 const char* first = txt; local
174 // Special cases for first data on a line.
193 vec.iov_base = (void*)first;
194 vec.iov_len = lastLine-first;
203 err = b->append(first, txt-first);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DTicker.java72 boolean first; field in class:Ticker.Segment
111 this.first = false;
154 this.first = true;
223 seg.first = false;
266 if (seg.first) {
267 // this makes the icon slide in for the first one for a given
/frameworks/base/libs/hwui/
H A DSkiaShader.cpp373 SkiaComposeShader::SkiaComposeShader(SkiaShader* first, SkiaShader* second, argument
376 NULL, first->blend() || second->blend()),
377 mFirst(first), mSecond(second), mMode(mode), mCleanup(false) {
/frameworks/base/tools/aapt/
H A DStringPool.cpp75 // Strings with styles go first, to reduce the size of the styles array.
164 const bool first = vidx < 0; local
167 if (first || styled || !mergeDuplicates) {
169 if (first) {
289 // This is the first time we have seen the entry, so add

Completed in 421 milliseconds

123