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

12345

/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.equals(p.first, first) && Objects.equals(p.second, second);
65 return (first == null ? 0 : first
[all...]
/frameworks/base/tools/aapt2/link/
H A DPrivateAttributeMover.cpp36 auto first = newEnd; local
37 ++first;
39 for (; first != last; ++first) {
40 if (bool(pred(*first))) {
42 *result = std::move(*first);
47 *newEnd = std::move(*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.h27 F first; member in struct:android::uirenderer::Pair
31 Pair(const Pair& o) : first(o.first), second(o.second) { }
32 Pair(const F& f, const S& s) : first(f), second(s) { }
35 return first;
/frameworks/compile/mclinker/include/mcld/ADT/
H A Dilist_sort.h35 iterator first = xs.begin(); local
38 if (is_less_than(*second, *first)) {
39 xs.splice(first, xs, second);
/frameworks/support/v7/appcompat/src/android/support/v7/view/
H A DContextThemeWrapper.java92 * @param first Set to true if this is the first time a style is being
95 protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first) { argument
100 final boolean first = mTheme == null;
101 if (first) {
108 onApplyThemeResource(mTheme, mThemeResource, 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.java86 public int getLeadingMargin(boolean first) { argument
93 boolean first, Layout l) {
90 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
150 getLeadingMargin(boolean first) argument
154 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.java74 public int getLeadingMargin(boolean first) { argument
81 boolean first, Layout layout) {
78 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/test-runner/src/android/test/
H A DViewAsserts.java121 * @param first The first view
124 static public void assertBaselineAligned(View first, View second) { argument
126 first.getLocationOnScreen(xy);
127 int firstTop = xy[1] + first.getBaseline();
139 * @param first The first view
142 static public void assertRightAligned(View first, View second) { argument
144 first.getLocationOnScreen(xy);
145 int firstRight = xy[0] + first
161 assertRightAligned(View first, View second, int margin) argument
179 assertLeftAligned(View first, View second) argument
198 assertLeftAligned(View first, View second, int margin) argument
216 assertBottomAligned(View first, View second) argument
235 assertBottomAligned(View first, View second, int margin) argument
253 assertTopAligned(View first, View second) argument
272 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/java/android/view/
H A DContextThemeWrapper.java182 * @param first {@code true} if this is the first time a style is being
185 protected void onApplyThemeResource(Resources.Theme theme, int resId, boolean first) { argument
190 final boolean first = mTheme == null;
191 if (first) {
198 onApplyThemeResource(mTheme, mThemeResource, 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/services/tests/servicestests/src/com/android/server/job/
H A DJobStoreTest.java269 private void assertTasksEqual(JobInfo first, JobInfo second) { argument
270 assertEquals("Different task ids.", first.getId(), second.getId());
271 assertEquals("Different components.", first.getService(), second.getService());
272 assertEquals("Different periodic status.", first.isPeriodic(), second.isPeriodic());
273 assertEquals("Different period.", first.getIntervalMillis(), second.getIntervalMillis());
274 assertEquals("Different inital backoff.", first.getInitialBackoffMillis(),
276 assertEquals("Different backoff policy.", first.getBackoffPolicy(),
279 assertEquals("Invalid charging constraint.", first.isRequireCharging(),
281 assertEquals("Invalid idle constraint.", first.isRequireDeviceIdle(),
284 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;

Completed in 497 milliseconds

12345