Searched defs:first (Results 1 - 25 of 77) 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
26 native_instance = nativeCreate(first.native_instance,
30 private static native long nativeCreate(long first, long second); argument
/frameworks/av/media/img_utils/include/img_utils/
H A DPair.h31 F first; 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/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 long nativeCreate(long first, long 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/support/v4/java/android/support/v4/util/
H A DPair.java25 public final F first; field in class:Pair
31 * @param first the first object in the Pair
34 public Pair(F first, S second) { argument
35 this.first = first;
53 return objectsEqual(p.first, first) && objectsEqual(p.second, second);
67 return (first == null ? 0 : first
[all...]
/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.c123 OMX_U8 last = 0, first = 1, fMode; local
141 if (first == 0)
176 first = 0;
/frameworks/base/core/java/android/text/style/
H A DDrawableMarginSpan.java37 public int getLeadingMargin(boolean first) { argument
44 boolean first, Layout layout) {
41 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.java37 public int getLeadingMargin(boolean first) { argument
44 boolean first, Layout layout) {
41 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.java32 * LeadingMarginSpans should be attached from the first character to the last
43 * @param first true if the request is for the first line of a paragraph,
47 public int getLeadingMargin(boolean first); argument
64 * @param first true if this is the first line of its paragraph
71 boolean first, Layout layout);
77 * this object is attached that the "first line of paragraph" margin width
82 * adjusting the number of lines to which the first line margin is applied.
90 * attached that the "first lin
67 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
109 Standard(int first, int rest) argument
140 getLeadingMargin(boolean first) argument
144 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.java124 * @param first Set to true if this is the first time a style is being
127 protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first) { argument
132 final boolean first = mTheme == null;
133 if (first) {
140 onApplyThemeResource(mTheme, mThemeResource, first);
/frameworks/base/services/tests/servicestests/src/com/android/server/job/
H A DJobStoreTest.java149 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());
154 assertEquals("Different inital backoff.", first.getInitialBackoffMillis(),
156 assertEquals("Different backoff policy.", first.getBackoffPolicy(),
159 assertEquals("Invalid charging constraint.", first.isRequireCharging(),
161 assertEquals("Invalid idle constraint.", first.isRequireDeviceIdle(),
164 first
[all...]
/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/support/tests/java/android/support/v4/app/
H A DNotificationCompatActionWearableExtenderTest.java255 private void assertExtendersFromNotificationEqual(Notification first, argument
257 Notification.WearableExtender baseExtender = new Notification.WearableExtender(first);
/frameworks/base/core/jni/android/graphics/
H A DPathEffect.cpp29 SkPathEffect* first = reinterpret_cast<SkPathEffect*>(firstHandle); local
31 SkPathEffect* effect = SkSumPathEffect::Create(first, second);
/frameworks/base/services/accessibility/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/AArch64/
H A DAArch64PLT.cpp70 iterator first = m_pSectionData->getFragmentList().begin(); local
71 assert(first != m_pSectionData->getFragmentList().end() &&
73 AArch64PLT0* plt0 = &(llvm::cast<AArch64PLT0>(*first));
115 // first gotplt1 address
117 // first plt1 address
/frameworks/compile/mclinker/lib/Target/ARM/
H A DARMPLT.cpp81 iterator first = m_pSectionData->getFragmentList().begin(); local
83 assert(first != m_pSectionData->getFragmentList().end() &&
86 ARMPLT0* plt0 = &(llvm::cast<ARMPLT0>(*first));

Completed in 2353 milliseconds

1234