HomeSort by relevance Sort by last modified time
    Searched refs:source (Results 76 - 100 of 4581) sorted by null

1 2 34 5 6 7 8 91011>>

  /frameworks/base/core/java/android/text/
InputFilter.java 2 * Copyright (C) 2006 The Android Open Source Project
29 * of <code>source</code>. Return the CharSequence that you would
37 * Note: If <var>source</var> is an instance of {@link Spanned} or
38 * {@link Spannable}, the span objects in the <var>source</var> should be
42 public CharSequence filter(CharSequence source, int start, int end,
50 public CharSequence filter(CharSequence source, int start, int end,
53 if (Character.isLowerCase(source.charAt(i))) {
55 TextUtils.getChars(source, start, end, v, 0);
58 if (source instanceof Spanned) {
60 TextUtils.copySpansFrom((Spanned) source,
    [all...]
Spannable.java 2 * Copyright (C) 2006 The Android Open Source Project
66 public Spannable newSpannable(CharSequence source) {
67 return new SpannableString(source);
  /frameworks/base/core/java/android/view/
FocusFinderHelper.java 2 * Copyright (C) 2008 The Android Open Source Project
36 public boolean isBetterCandidate(int direction, Rect source, Rect rect1, Rect rect2) {
37 return mFocusFinder.isBetterCandidate(direction, source, rect1, rect2);
40 public boolean beamBeats(int direction, Rect source, Rect rect1, Rect rect2) {
41 return mFocusFinder.beamBeats(direction, source, rect1, rect2);
52 public static int majorAxisDistance(int direction, Rect source, Rect dest) {
53 return FocusFinder.majorAxisDistance(direction, source, dest);
56 public static int majorAxisDistanceToFarEdge(int direction, Rect source, Rect dest) {
57 return FocusFinder.majorAxisDistanceToFarEdge(direction, source, dest);
  /frameworks/base/core/java/android/view/inputmethod/
ExtractedText.java 2 * Copyright (C) 2008 The Android Open Source Project
103 public ExtractedText createFromParcel(Parcel source) {
105 res.text = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(source);
106 res.startOffset = source.readInt();
107 res.partialStartOffset = source.readInt();
108 res.partialEndOffset = source.readInt();
109 res.selectionStart = source.readInt();
110 res.selectionEnd = source.readInt();
111 res.flags = source.readInt();
ExtractedTextRequest.java 2 * Copyright (C) 2008 The Android Open Source Project
69 public ExtractedTextRequest createFromParcel(Parcel source) {
71 res.token = source.readInt();
72 res.flags = source.readInt();
73 res.hintMaxLines = source.readInt();
74 res.hintMaxChars = source.readInt();
CompletionInfo.java 2 * Copyright (C) 2007-2008 The Android Open Source Project
55 CompletionInfo(Parcel source) {
56 mId = source.readLong();
57 mPosition = source.readInt();
58 mText = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(source);
59 mLabel = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(source);
119 public CompletionInfo createFromParcel(Parcel source) {
120 return new CompletionInfo(source);
  /libcore/luni/src/main/java/java/beans/
IndexedPropertyChangeEvent.java 34 * @param source
50 public IndexedPropertyChangeEvent(Object source, String propertyName,
52 super(source, propertyName, oldValue, newValue);
  /libcore/luni/src/test/java/libcore/java/nio/channels/
PipeTest.java 2 * Copyright (C) 2010 The Android Open Source Project
25 p.source().configureBlocking(false);
26 assertEquals(0, p.source().read(ByteBuffer.allocate(1)));
  /packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
MockCorpusFactory.java 2 * Copyright (C) 2009 The Android Open Source Project
29 for (Source source : sources.getSources()) {
30 corpora.add(new MockCorpus(source));
MockShortcutRefresher.java 2 * Copyright (C) 2010 The Android Open Source Project
28 public void markShortcutRefreshed(Source source, String shortcutId) {
37 public boolean shouldRefresh(Source source, String shortcutId) {
MockSources.java 2 * Copyright (C) 2010 The Android Open Source Project
29 private final HashMap<String, Source> mSources = new HashMap<String, Source>();
31 public void addSource(Source source) {
32 mSources.put(source.getName(), source); local
35 public Source getSource(String name) {
39 public Collection<Source> getSources() {
43 public Source getWebSearchSource()
    [all...]
  /external/chromium/third_party/icu/source/common/
ucnv_u16.c 51 const UChar *source; local
59 source=pArgs->source;
60 length=(int32_t)(pArgs->sourceLimit-source);
91 if((c=(UChar)cnv->fromUChar32)!=0 && U16_IS_TRAIL(trail=*source) && targetCapacity>=4) {
93 ++source;
124 c=*source++;
129 } else if(U16_IS_SURROGATE_LEAD(c) && count>=2 && U16_IS_TRAIL(trail=*source)) {
130 ++source;
144 c=*source++
255 const uint8_t *source; local
650 const UChar *source; local
854 const uint8_t *source; local
1312 const char *source=pArgs->source; local
    [all...]
  /external/icu4c/common/
ucnv_u16.c 51 const UChar *source; local
59 source=pArgs->source;
60 length=(int32_t)(pArgs->sourceLimit-source);
91 if((c=(UChar)cnv->fromUChar32)!=0 && U16_IS_TRAIL(trail=*source) && targetCapacity>=4) {
93 ++source;
124 c=*source++;
129 } else if(U16_IS_SURROGATE_LEAD(c) && count>=2 && U16_IS_TRAIL(trail=*source)) {
130 ++source;
144 c=*source++
255 const uint8_t *source; local
653 const UChar *source; local
857 const uint8_t *source; local
1318 const char *source=pArgs->source; local
    [all...]
  /frameworks/base/core/java/android/content/pm/
ServiceInfo.java 2 * Copyright (C) 2007 The Android Open Source Project
66 public ServiceInfo createFromParcel(Parcel source) {
67 return new ServiceInfo(source);
74 private ServiceInfo(Parcel source) {
75 super(source);
76 permission = source.readString();
  /external/chromium/base/
file_descriptor_shuffle.cc 2 // Use of this source code is governed by a BSD-style license that can be
25 DCHECK(i->dest != j->dest) << "Both fd " << i->source
26 << " and " << j->source << " map to " << i->dest;
29 const bool is_identity = i->source == i->dest;
32 if (!is_identity && i->dest == j->source) {
39 j->source = temp_fd;
43 if (i->close && i->source == j->dest)
46 if (i->close && i->source == j->source) {
53 if (!delegate->Move(i->source, i->dest)
    [all...]
  /packages/apps/Settings/tests/src/com/android/settings/tests/
Utf8ByteLengthFilterTest.java 2 * Copyright (C) 2010 The Android Open Source Project
48 CharSequence source; local
55 // cut off the source CharSequence from beginning to fit the filter length.
56 source = "abc";
60 dest.insert(1, source);
64 dest.replace(5, 8, source);
68 dest.insert(2, source);
79 source = "\u60a8\u597d"; // 2 Chinese chars == 6 bytes in UTF-8
80 dest.replace(8, 10, source);
83 dest.replace(0, 1, source);
    [all...]
  /hardware/qcom/media/mm-video/vidc/vdec/src/
frameparser.cpp 4 Redistribution and use in source and binary forms, with or without
6 * Redistributions of source code must retain the above copyright
114 int frame_parse::parse_mpeg4_frame ( OMX_BUFFERHEADERTYPE *source,
123 if (source == NULL || dest == NULL || partialframe == NULL)
128 /*Calculate how many bytes are left in source and destination*/
130 psource = source->pBuffer + source->nOffset;
132 source_len = source->nFilledLen;
138 if (source_len == 0 && (source->nFlags & 0x01))
154 update_metadata(source->nTimeStamp,source->nFlags)
    [all...]
  /frameworks/base/core/java/android/accounts/
AuthenticatorDescription.java 2 * Copyright (C) 2009 The Android Open Source Project
79 private AuthenticatorDescription(Parcel source) {
80 this.type = source.readString();
81 this.packageName = source.readString();
82 this.labelId = source.readInt();
83 this.iconId = source.readInt();
84 this.smallIconId = source.readInt();
85 this.accountPreferencesId = source.readInt();
124 public AuthenticatorDescription createFromParcel(Parcel source) {
125 return new AuthenticatorDescription(source);
    [all...]
  /build/libs/host/
pseudolocalize.cpp 72 pseudolocalize_string(const string& source)
74 const char* s = source.c_str();
76 const size_t I = source.length();
  /external/libvpx/vpx_scale/include/generic/
vpxscale_depricated.h 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source
8 * be found in the AUTHORS file in the root of the source tree.
26 extern void (*vp8_horizontal_line_1_2_scale)(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
27 extern void (*vp8_horizontal_line_3_5_scale)(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
28 extern void (*vp8_horizontal_line_4_5_scale)(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
  /external/webkit/JavaScriptCore/wtf/
PossiblyNull.h 4 * Redistribution and use in source and binary forms, with or without
7 * 1. Redistributions of source code must retain the above copyright
38 PossiblyNull(const PossiblyNull<T>& source)
39 : m_data(source.m_data)
41 source.m_data = 0;
  /external/webkit/WebCore/bindings/v8/
ScriptSourceCode.h 4 * Redistribution and use in source and binary forms, with or without
8 * * Redistributions of source code must retain the above copyright
42 ScriptSourceCode(const String& source, const KURL& url = KURL(), int startLine = 1)
43 : m_source(source)
60 const String& source() const { return m_source; } function in class:WebCore::ScriptSourceCode
  /cts/tests/tests/text/src/android/text/method/cts/
DigitsKeyListenerTest.java 2 * Copyright (C) 2008 The Android Open Source Project
95 String source = "123456"; local
100 assertNull(digitsKeyListener.filter(source, 0, source.length(),
104 source = "a1b2c3d";
105 assertEquals("123", (digitsKeyListener.filter(source, 0, source.length(),
109 source = "-a1.b2c3d";
110 assertEquals("123", (digitsKeyListener.filter(source, 0, source.length()
147 String source = "-123456"; local
217 String source = "123.456"; local
289 String source = "-123.456"; local
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/
SourceChannelTest.java 59 private Pipe.SourceChannel source; field in class:SourceChannelTest
69 source = pipe.source();
85 assertEquals(SelectionKey.OP_READ, source.validOps());
100 int count = source.read(ByteBuffer.allocate(10));
116 source.read(nullBuf);
136 long count = source.read(readBuf);
139 count = source.read(readBuf);
143 count = source.read(readBuf);
158 source.close()
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/model/
Sources.java 2 * Copyright (C) 2009 The Android Open Source Project
87 // Create fallback contacts source for on-phone contacts
113 for (ContactsSource source : sources) {
114 addSource(source);
118 protected void addSource(ContactsSource source) {
119 mSources.put(source.accountType, source);
120 mKnownPackages.add(source.resPackageName);
146 // Invalidate cache of existing source
149 // Unknown source, so reload from scratc
207 ContactsSource source; local
256 final ContactsSource source = getInflatedSource(account.type, local
279 final ContactsSource source = mSources.get(accountType); local
303 ContactsSource source = mSources.get(accountType); local
    [all...]

Completed in 1197 milliseconds

1 2 34 5 6 7 8 91011>>