Searched defs:from (Results 1 - 25 of 93) sorted by relevance

1234

/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestServices/src/com/android/framework/multidexlegacytestservices/
H A DReflectIntermediateClass.java28 public static int get(int from, int to, int sleepMillis) throws ClassNotFoundException, argument
32 for (int i = from; i <= to; i++) {
/frameworks/base/packages/services/Proxy/src/com/android/proxyhandler/
H A DSocketConnect.java13 private InputStream from; field in class:SocketConnect
16 public SocketConnect(Socket from, Socket to) throws IOException { argument
17 this.from = from.getInputStream();
28 int r = from.read(buffer);
34 from.close();
/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageManagerException.java35 public static PackageManagerException from(PackageParserException e) method in class:PackageManagerException
/frameworks/base/core/java/android/speech/tts/
H A DUtteranceProgressListener.java11 * The callbacks specified in this method can be called from multiple threads.
56 * @param errorCode one of the ERROR_* codes from {@link TextToSpeech}
63 * Called when an utterance has been stopped while in progress or flushed from the
82 static UtteranceProgressListener from( method in class:UtteranceProgressListener
/frameworks/base/media/java/android/media/session/
H A DParcelableVolumeInfo.java45 public ParcelableVolumeInfo(Parcel from) { argument
46 volumeType = from.readInt();
47 controlType = from.readInt();
48 maxVolume = from.readInt();
49 currentVolume = from.readInt();
50 audioAttrs = AudioAttributes.CREATOR.createFromParcel(from);
/frameworks/base/services/core/java/com/android/server/am/
H A DActivityResult.java28 public ActivityResult(ActivityRecord from, String resultWho, argument
31 mFrom = from;
/frameworks/compile/mclinker/lib/Target/
H A DELFEmulation.cpp19 const char* from; ///< the prefix of the input string. (match FROM*) member in struct:mcld::NameMap
78 pScript.sectionMap().insert(map[i].from, map[i].to, map[i].policy);
/frameworks/opt/bitmap/src/com/android/bitmap/
H A DResourceRequestKey.java25 * Simple RequestKey for decoding from a resource id.
36 public static ResourceRequestKey from(Resources res, int resId) { method in class:ResourceRequestKey
/frameworks/support/v4/java/android/support/v4/media/session/
H A DParcelableVolumeInfo.java42 public ParcelableVolumeInfo(Parcel from) { argument
43 volumeType = from.readInt();
44 controlType = from.readInt();
45 maxVolume = from.readInt();
46 currentVolume = from.readInt();
47 audioStream = from.readInt();
/frameworks/av/media/libstagefright/rtsp/
H A DARTPAssembler.cpp61 void ARTPAssembler::CopyTimes(const sp<ABuffer> &to, const sp<ABuffer> &from) { argument
63 CHECK(from->meta()->findInt32("rtp-time", (int32_t *)&rtpTime));
68 to->setInt32Data(from->int32Data());
/frameworks/base/core/java/android/transition/
H A DTransitionInflater.java40 * This class inflates scenes and transitions from resource files.
61 * Obtains the TransitionInflater from the given context.
63 public static TransitionInflater from(Context context) { method in class:TransitionInflater
68 * Loads a {@link Transition} object from a resource
96 * Loads a {@link TransitionManager} object from a resource
/frameworks/data-binding/library/src/main/java/android/databinding/
H A DListChangeRegistry.java100 * @param from The index of the first element moved.
104 public void notifyMoved(ObservableList list, int from, int to, int count) { argument
105 ListChanges listChanges = acquire(from, to, count);
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/
H A DReadRecInd.java26 * @param from the from value
34 public ReadRecInd(EncodedStringValue from, argument
41 setFrom(from);
H A DSendReq.java54 * @param from the from value
61 EncodedStringValue from,
67 setFrom(from);
60 SendReq(byte[] contentType, EncodedStringValue from, int mmsVersion, byte[] transactionId) argument
/frameworks/support/design/honeycomb-mr1/android/support/design/widget/
H A DValueAnimatorCompatImplHoneycombMr1.java78 public void setIntValues(int from, int to) { argument
79 mValueAnimator.setIntValues(from, to);
88 public void setFloatValues(float from, float to) { argument
89 mValueAnimator.setFloatValues(from, to);
/frameworks/base/core/java/android/content/
H A DContentValues.java57 * Creates a set of values copied from the given set
59 * @param from the values to copy
61 public ContentValues(ContentValues from) { argument
62 mValues = new HashMap<String, Object>(from.mValues);
66 * Creates a set of values copied from the given HashMap. This is used
100 * Adds all values from the passed in ContentValues.
102 * @param other the ContentValues from which to copy
/frameworks/base/core/java/android/view/
H A DGhostView.java154 private static void copySize(View from, View to) { argument
157 to.setRight(from.getWidth());
158 to.setBottom(from.getHeight());
183 // Remove all GhostViews from the middle
271 * Returns true if viewParents is from a View that is on top of the comparedWith's view.
272 * The ArrayLists contain the ancestors of views in order from top most grandparent, to
/frameworks/base/core/java/android/widget/
H A DSimpleCursorAdapter.java25 * An easy adapter to map columns from a cursor to TextViews or ImageViews
51 * This field should be made private, so it is hidden from the SDK.
57 * This field should be made private, so it is hidden from the SDK.
77 public SimpleCursorAdapter(Context context, int layout, Cursor c, String[] from, int[] to) { argument
80 mOriginalFrom = from;
81 findColumns(c, from);
93 * @param from A list of column names representing the data to bind to the UI. Can be null
95 * @param to The views that should display column in the "from" parameter.
97 * are given the values of the first N columns in the from
102 public SimpleCursorAdapter(Context context, int layout, Cursor c, String[] from, argument
325 findColumns(Cursor c, String[] from) argument
360 changeCursorAndColumns(Cursor c, String[] from, int[] to) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/widget/
H A DSimpleCursorAdapterTest.java66 * Borrowed from CursorWindowTest.java
92 // Now see if we can pull 2 rows from the adapter
114 // Now see if we can pull 2 rows from the adapter
122 // Now see if we can pull 5 rows from the adapter
133 // Now see if we can pull 2 rows from the adapter
171 * Test that you can safely construct with a null cursor *and* null to/from arrays.
181 * Test going from a null cursor to a non-null cursor *and* setting the to/from arrays
204 * Test going from one mapping to a different mapping
256 String[] from, in
255 TestSimpleCursorAdapter(Context context, int layout, Cursor c, String[] from, int[] to) argument
[all...]
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/
H A DModelMethod.java172 public static boolean isImplicitConversion(ModelClass from, ModelClass to) { argument
173 if (from != null && to != null && from.isPrimitive() && to.isPrimitive()) {
174 if (from.isBoolean() || to.isBoolean() || to.isChar()) {
177 int fromConversionLevel = getImplicitConversionLevel(from);
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
H A DObservableArrayListTest.java59 public void onItemRangeMoved(ObservableList sender, int from, int to, int count) {
60 mNotifications.add(new ListChange(MOVE, from, to, count));
74 this.from = 0;
79 public ListChange(int change, int from, int to, int count) { argument
80 this.from = from;
91 public final int from; field in class:ObservableArrayListTest.ListChange
/frameworks/native/libs/gui/
H A DStreamSplitter.cpp108 // any more buffers from the input. This will cause back pressure on the
126 // Acquire and detach the buffer from the input
130 "acquiring buffer from input failed (%d)", status);
132 ALOGV("acquired buffer %#" PRIx64 " from input",
137 "detaching buffer from input failed (%d)", status);
189 const sp<IGraphicBufferProducer>& from) {
195 status_t status = from->detachNextBuffer(&buffer, &fence);
203 "detaching buffer from output failed (%d)", status);
206 ALOGV("detached buffer %#" PRIx64 " from output %p",
207 buffer->getId(), from
188 onBufferReleasedByOutput( const sp<IGraphicBufferProducer>& from) argument
[all...]
/frameworks/support/design/base/android/support/design/widget/
H A DValueAnimatorCompat.java38 * An animation listener receives notifications from an animation.
99 abstract void setIntValues(int from, int to); argument
101 abstract void setFloatValues(float from, float to); argument
163 public void setIntValues(int from, int to) { argument
164 mImpl.setIntValues(from, to);
171 public void setFloatValues(float from, float to) { argument
172 mImpl.setFloatValues(from, to);
/frameworks/support/design/eclair-mr1/android/support/design/widget/
H A DValueAnimatorCompatImplEclairMr1.java90 public void setIntValues(int from, int to) { argument
91 mIntValues[0] = from;
101 public void setFloatValues(float from, float to) { argument
102 mFloatValues[0] = from;
/frameworks/support/v4/java/android/support/v4/app/
H A DTaskStackBuilder.java46 * <p>When crossing from one task stack to another post-Android 3.0,
65 * from the developer guide and <a href="{@docRoot}design/patterns/navigation.html">Navigation</a>
66 * from the design guide.
149 public static TaskStackBuilder from(Context context) { method in class:TaskStackBuilder
206 // We have the actual parent intent, build the rest from static metadata
264 * @param index Index from 0-getIntentCount()
278 * @param index Index from 0-getIntentCount()

Completed in 749 milliseconds

1234