Searched defs:from (Results 26 - 50 of 61) sorted by relevance

123

/frameworks/compile/mclinker/tools/mcld/lib/Support/
H A DLinkerConfig.cpp73 const char* from; member in struct:NameMap
124 mLDScript->sectionMap().append(map[i].from,
/frameworks/support/v4/java/android/support/v4/widget/
H A DSimpleCursorAdapter.java36 * This field should be made private, so it is hidden from the SDK.
42 * This field should be made private, so it is hidden from the SDK.
62 public SimpleCursorAdapter(Context context, int layout, Cursor c, String[] from, int[] to) { argument
65 mOriginalFrom = from;
66 findColumns(from);
78 * @param from A list of column names representing the data to bind to the UI. Can be null
80 * @param to The views that should display column in the "from" parameter.
82 * are given the values of the first N columns in the from
87 public SimpleCursorAdapter(Context context, int layout, Cursor c, String[] from, argument
91 mOriginalFrom = from;
309 findColumns(String[] from) argument
343 changeCursorAndColumns(Cursor c, String[] from, int[] to) argument
[all...]
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DScriptGroup.java40 * Currently, all kernels in a ScriptGroup must be from separate
41 * Script objects. Attempting to use multiple kernels from the same
60 ConnectLine(Type t, Script.KernelID from, Script.KernelID to) { argument
61 mFrom = from;
66 ConnectLine(Type t, Script.KernelID from, Script.FieldID to) { argument
67 mFrom = from;
100 * Allocation provided from outside of the ScriptGroup.
162 * must come from different Script objects. Additionally, all kernels
191 // do a DFS from original node, looking for original node
322 * @param from Th
327 addConnection(Type t, Script.KernelID from, Script.FieldID to) argument
367 addConnection(Type t, Script.KernelID from, Script.KernelID to) argument
[all...]
/frameworks/av/media/libstagefright/
H A DStagefrightMetadataRetriever.cpp299 ALOGE("Unable to instantiate color conversion from format 0x%08x to "
448 int from; member in struct:android::Map
472 if (meta->findCString(kMap[i].from, &value)) {
H A DNuCachedSource2.cpp50 void copy(size_t from, void *data, size_t size);
137 void PageCache::copy(size_t from, void *data, size_t size) { argument
138 ALOGV("copy from %d size %d", from, size);
144 CHECK_LE(from + size, mTotalSize);
148 while (from >= offset + (*it)->mSize) {
153 size_t delta = from - offset;
471 // If the request can be completely satisfied from the cache, do so.
646 ALOGE("Failed to parse cache parameters from '%s'.", s);
/frameworks/av/media/libstagefright/colorconversion/
H A DColorConverter.cpp28 OMX_COLOR_FORMATTYPE from, OMX_COLOR_FORMATTYPE to)
29 : mSrcFormat(from),
27 ColorConverter( OMX_COLOR_FORMATTYPE from, OMX_COLOR_FORMATTYPE to) argument
/frameworks/base/core/java/android/os/storage/
H A DStorageManager.java48 * on-demand from an application. OBBs are a good way of providing large amounts
51 * a shared storage pool accessible from all programs. The system does not
53 * OBB, there is no guarantee that a read from that OBB will produce the
298 public static StorageManager from(Context context) { method in class:StorageManager
/frameworks/base/core/java/android/view/
H A DLayoutInflater.java58 * it only works with an XmlPullParser returned from a compiled resource
67 * This field should be made private, so it is hidden from the SDK.
114 * Hook you can supply that is called when inflating from a LayoutInflater.
184 * Views; most importantly, this supplies the theme from which the default
208 * Obtains the LayoutInflater from the given context.
210 public static LayoutInflater from(Context context) { method in class:LayoutInflater
342 * Inflate a new view hierarchy from the specified xml resource. Throws
357 * Inflate a new view hierarchy from the specified xml node. Throws
377 * Inflate a new view hierarchy from the specified xml resource. Throws
394 if (DEBUG) System.out.println("INFLATING from resourc
[all...]
H A DViewDebug.java103 * @ViewDebug.IntToString(from = 0, to = "VISIBLE"),
104 * @ViewDebug.IntToString(from = 4, to = "INVISIBLE"),
105 * @ViewDebug.IntToString(from = 8, to = "GONE")
123 * @ViewDebug.IntToString(from = 0, to = "INVALID"),
124 * @ViewDebug.IntToString(from = 1, to = "FIRST"),
125 * @ViewDebug.IntToString(from = 2, to = "SECOND")
186 * Defines a mapping from an int value to a String. Such a mapping can be used
199 int from(); method in interface:ViewDebug.IntToString
210 * Defines a mapping from a flag to a String. Such a mapping can be used
284 * Returns a View to enable grabbing screenshots from custo
[all...]
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
H A DGLCanvas.java77 // Pops from the top of the stack as current configuration state (matrix,
83 // Draws a line using the specified paint from (x1, y1) to (x2, y2).
87 // Draws a rectangle using the specified paint from (x1, y1) to (x2, y2).
109 // from * (1 - ratio) + to * ratio
111 public abstract void drawMixed(BasicTexture from, int toColor, argument
115 // rectangle. The actual color used is from * (1 - ratio) + to * ratio.
118 public abstract void drawMixed(BasicTexture from, int toColor, argument
121 // Unloads the specified texture from the canvas. The resource allocated
123 // to the unloaded state. This function should be called only from
/frameworks/compile/mclinker/lib/Fragment/
H A DFragmentGraph.cpp223 // the pseudo edges are the edges from pseudo nodes to regular nodes, which
224 // present the reference from out-side world when building shared library
240 FGNode* from = getNode(*pSignal->targetRef().frag()); local
241 assert(NULL != from);
247 if (0 == m_pMatrix->at(from->getIndex(), to->getIndex()))
249 ++m_pMatrix->at(from->getIndex(), to->getIndex());
/frameworks/compile/mclinker/lib/LD/
H A DELFObjectWriter.cpp197 // ELF header must start from 0x0
610 const uint8_t* from = region_frag.getRegion().start(); local
611 memcpy(pRegion.getBuffer(cur_offset), from, size);
/frameworks/av/media/libmedia/
H A DAudioRecord.cpp187 // these below should probably come from the audioFlinger too...
475 "session ID changed from %d to %d", originalSessionId, mSessionId);
580 // keep them from going away if another thread re-creates the track during obtainBuffer()
612 // FIXME starts the requested timeout and elapsed over from scratch
809 // If > 0, poll periodically to recover from a stuck server. A good value is 2.
928 status_t AudioRecord::restoreRecord_l(const char *from) argument
930 ALOGW("dead IAudioRecord, creating a new one from %s()", from);
H A DAudioTrack.cpp252 // these below should probably come from the audioFlinger too...
622 // FIXME use Proxy return channel to update the rate from server and avoid polling here
964 ALOGV("Minimum buffer size corrected from %d to %d",
1161 // keep them from going away if another thread re-creates the track during obtainBuffer()
1204 // FIXME starts the requested timeout and elapsed over from scratch
1553 // If > 0, poll periodically to recover from a stuck server. A good value is 2.
1686 status_t AudioTrack::restoreTrack_l(const char *from) argument
1688 ALOGW("dead IAudioTrack, %s, creating a new one from %s()",
1689 isOffloaded() ? "Offloaded" : "PCM", from);
1701 // force new output query from audi
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A DARTSPConnection.cpp158 // Split of user:pass@ from hostname.
825 const char *from, unsigned long *x) {
827 *x = strtoul(from, &end, 10);
829 if (end == from || *end != '\0') {
824 ParseSingleUnsignedLong( const char *from, unsigned long *x) argument
/frameworks/base/core/java/android/content/
H A DUndoManager.java686 int findPrevState(ArrayList<UndoState> states, UndoOwner[] owners, int from) { argument
689 if (from == -1) {
690 from = N-1;
692 if (from >= N) {
696 return from;
699 while (from >= 0) {
700 UndoState state = states.get(from);
702 return from;
704 from--;
710 int findNextState(ArrayList<UndoState> states, UndoOwner[] owners, int from) { argument
[all...]
/frameworks/base/services/java/com/android/server/
H A DTwilightService.java140 private static boolean hasMoved(Location from, Location to) { argument
145 if (from == null) {
150 if (to.getElapsedRealtimeNanos() < from.getElapsedRealtimeNanos()) {
155 float distance = from.distanceTo(to);
158 float totalAccuracy = from.getAccuracy() + to.getAccuracy();
387 // enable passive provider to receive updates from location fixes (gps
453 Slog.d(TAG, "Estimated location from timezone: " + location);
/frameworks/base/tools/aidl/
H A Daidl.cpp26 // The following are gotten as the offset from the allowable id's between
93 const char* from; member in struct:import_info
115 import->from = strdup(g_currentFilename);
966 import->from, import->statement.lineno,
1034 // if needed, generate the outputFileName from the outputBaseFolder
/frameworks/native/libs/input/
H A DInput.cpp38 void InputEvent::initialize(const InputEvent& from) { argument
39 mDeviceId = from.mDeviceId;
40 mSource = from.mSource;
145 void KeyEvent::initialize(const KeyEvent& from) { argument
146 InputEvent::initialize(from);
147 mAction = from.mAction;
148 mFlags = from.mFlags;
149 mKeyCode = from.mKeyCode;
150 mScanCode = from.mScanCode;
151 mMetaState = from
[all...]
/frameworks/support/v4/java/android/support/v4/app/
H A DShareCompat.java49 * method {@link IntentBuilder#from(Activity)}.
56 * to call out the app that the content was shared from.
161 * Retrieve the name of the package that launched calledActivity from a share intent.
181 * Retrieve the ComponentName of the activity that launched calledActivity from a share intent.
269 * Create a new IntentBuilder for launching a sharing action from launchingActivity.
271 * @param launchingActivity Activity that the share will be launched from
274 public static IntentBuilder from(Activity launchingActivity) { method in class:ShareCompat.IntentBuilder
647 * from shared posts if desired.</p>
671 public static IntentReader from(Activity activity) { method in class:ShareCompat.IntentReader
858 * was not started for a result, IntentBuilder will read this from extr
[all...]
/frameworks/wilhelm/tests/sandbox/
H A Dplaybq.c53 static void swab(const void *from, void *to, ssize_t n) argument
55 // from and to as char pointers
56 const char *from_ch = (const char *) from;
69 static void squeeze(const short *from, unsigned char *to, ssize_t n) argument
73 *to++ = (*from++ + 32768) >> 8;
90 // on underrun from pipe, substitute silence
113 // This thread reads from a (slow) filesystem with unpredictable latency and writes to pipe
468 // create thread to read from file
H A Dplaybq.cpp53 static void swab(const void *from, void *to, ssize_t n) argument
55 // from and to as char pointers
56 const char *from_ch = (const char *) from;
69 static void squeeze(const short *from, unsigned char *to, ssize_t n) argument
73 *to++ = (*from++ + 32768) >> 8;
90 // on underrun from pipe, substitute silence
113 // This thread reads from a (slow) filesystem with unpredictable latency and writes to pipe
468 // create thread to read from file
/frameworks/base/core/java/android/net/
H A DConnectivityManager.java58 * If this is a connection that was the result of failing over from a
139 * may be passed up from the lower networking layers, and its
379 * from an App.
494 * Checks if the given network type should be exempt from VPN routing rules
909 public static ConnectivityManager from(Context context) { method in class:ConnectivityManager
H A DUri.java66 that some threads will immediately see changes from other threads on
69 overhead, which means the most common case, access from a single thread,
87 For reference, from RFC 2396:
221 * Gets the decoded user information from the authority.
230 * Gets the encoded user information from the authority.
239 * Gets the encoded host from the authority for this URI. For example,
248 * Gets the port from the authority for this URI. For example,
272 * Gets the decoded query component from this URI. The query comes after
282 * Gets the encoded query component from this URI. The query comes after
401 * Constructs a new builder, copying the attributes from thi
2058 static Part from(String encoded, String decoded) { method in class:Uri.Part
2235 static PathPart from(String encoded, String decoded) { method in class:Uri.PathPart
[all...]
/frameworks/base/core/java/android/preference/
H A DPreferenceActivity.java112 * from the following XML resource:</p>
138 * <p/>Starting from Key Lime Pie, when this argument is passed in, the PreferenceActivity
404 * this resource is loaded from <var>res</var> and returned. Otherwise
416 * this resource is loaded from <var>res</var> and returned. Otherwise
428 * this resource is loaded from <var>res</var> and returned. Otherwise
441 * this resource is loaded from <var>res</var> and returned. Otherwise
528 // We are restarting from a previous saved state; used that to
740 * to fill in the list from a resource.
1224 Header findBestMatchingHeader(Header cur, ArrayList<Header> from) { argument
1226 for (int j=0; j<from
[all...]

Completed in 557 milliseconds

123