/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/ |
H A D | ItemAdapter.java | 28 * adapter can be inflated by {@link ItemInflater} from XML. 79 LayoutInflater inflater = LayoutInflater.from(parent.getContext()); 107 * integers (e.g. adapter positions), providing mapping to retrieve the original ID from a given 108 * position. This is used to pack the view types of the adapter into contiguous integers from
|
/frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/ |
H A D | TemplateLayoutTest.java | 51 LayoutInflater inflater = LayoutInflater.from(mContext);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | AbstractMediaListHeaderPresenter.java | 79 * The styling for this presenter is extracted from Context of parent in 95 View view = LayoutInflater.from(context).inflate(R.layout.lb_media_list_header, 114 * If this is not set, a default color, defaultBrandColor, from theme is used.
|
/frameworks/av/media/libstagefright/rtsp/ |
H A D | ASessionDescription.cpp | 266 float from, to; local 267 if (!parseNTPRange(value.c_str() + 4, &from, &to)) { 271 *durationUs = (int64_t)((to - from) * 1E6);
|
H A D | ARTSPConnection.h | 123 const char *from, unsigned long *x);
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | ListMenuPresenter.java | 67 mInflater = LayoutInflater.from(mContext); 84 mInflater = LayoutInflater.from(mContext); 88 mInflater = LayoutInflater.from(mContext);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
H A D | NavBarTuner.java | 102 mPreview = (PreviewNavInflater) LayoutInflater.from(getContext().createConfigurationContext( 374 final LayoutInflater inflater = LayoutInflater.from(context); 579 int from = viewHolder.getAdapterPosition(); 585 move(from, to, mButtons); 586 move(from, to, mLabels); 588 notifyItemMoved(from, to); 592 private <T> void move(int from, int to, List<T> list) { 593 list.add(from > to ? to : to + 1, list.get(from)); 594 list.remove(from > t [all...] |
/frameworks/base/rs/java/android/renderscript/ |
H A D | ScriptGroup.java | 33 * Inside a script group, outputs from one kernel can be passed to another kernel as inputs. 56 ConnectLine(Type t, Script.KernelID from, Script.KernelID to) { argument 57 mFrom = from; 62 ConnectLine(Type t, Script.KernelID from, Script.FieldID to) { argument 63 mFrom = from; 475 * Allocation provided from outside of the ScriptGroup. 544 * must come from different Script objects. Additionally, all kernels 570 // do a DFS from original node, looking for original node 697 * @param from The source for the connection. 702 public Builder addConnection(Type t, Script.KernelID from, Scrip argument 737 addConnection(Type t, Script.KernelID from, Script.KernelID to) argument [all...] |
/frameworks/native/libs/gui/ |
H A D | StreamSplitter.cpp | 108 // 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); 188 const sp<IGraphicBufferProducer>& from) { 194 status_t status = from->detachNextBuffer(&buffer, &fence); 202 "detaching buffer from output failed (%d)", status); 205 ALOGV("detached buffer %#" PRIx64 " from output %p", 206 buffer->getId(), from 187 onBufferReleasedByOutput( const sp<IGraphicBufferProducer>& from) argument [all...] |
/frameworks/opt/net/wifi/service/jni/ |
H A D | jni_helper.h | 124 void setByteArrayRegion(jbyteArray array, int from, int to, const jbyte *bytes); 125 void setIntArrayRegion(jintArray array, int from, int to, const jint *ints); 126 void setLongArrayRegion(jlongArray array, int from, int to, const jlong *longs);
|
H A D | jni_helper.cpp | 665 void JNIHelper::setByteArrayRegion(jbyteArray array, int from, int to, const jbyte *bytes) { argument 666 mEnv->SetByteArrayRegion(array, from, to, bytes); 669 void JNIHelper::setIntArrayRegion(jintArray array, int from, int to, const jint *ints) { argument 670 mEnv->SetIntArrayRegion(array, from, to, ints); 673 void JNIHelper::setLongArrayRegion(jlongArray array, int from, int to, const jlong *longs) { argument 674 mEnv->SetLongArrayRegion(array, from, to, longs);
|
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/ |
H A D | ListMenuPresenter.java | 68 mInflater = LayoutInflater.from(mContext); 85 mInflater = LayoutInflater.from(mContext); 89 mInflater = LayoutInflater.from(mContext);
|
/frameworks/support/v7/appcompat/tests/src/android/support/v7/testutils/ |
H A D | TestUtilsMatchers.java | 118 * from the view and up its ancestor chain matches the specified color. 244 public static Matcher<List<Float>> inRange(final float from, final float to) { argument 260 if ((curr < from) || (curr > to)) { 262 from + " and " + to;
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
H A D | ScriptGroup.java | 36 * Inside a script group, outputs from one kernel can be passed to another kernel as inputs. 63 ConnectLine(Type t, Script.KernelID from, Script.KernelID to) { argument 64 mFrom = from; 69 ConnectLine(Type t, Script.KernelID from, Script.FieldID to) { argument 70 mFrom = from; 471 * Allocation provided from outside of the ScriptGroup. 607 * must come from different Script objects. Additionally, all kernels 635 // do a DFS from original node, looking for original node 764 * @param from The source for the connection. 769 public Builder addConnection(Type t, Script.KernelID from, Scrip argument 803 addConnection(Type t, Script.KernelID from, Script.KernelID to) argument [all...] |
/frameworks/base/services/core/java/com/android/server/twilight/ |
H A D | TwilightService.java | 263 private static boolean hasMoved(Location from, Location to) { argument 268 if (from == null) { 273 if (to.getElapsedRealtimeNanos() < from.getElapsedRealtimeNanos()) { 278 float distance = from.distanceTo(to); 281 float totalAccuracy = from.getAccuracy() + to.getAccuracy(); 397 // enable passive provider to receive updates from location fixes (gps 468 Slog.d(TAG, "Estimated location from timezone: " + location); 537 // Leave at 10 min for now (one from above).
|
/frameworks/av/media/libstagefright/ |
H A D | NuCachedSource2.cpp | 52 void copy(size_t from, void *data, size_t size); 139 void PageCache::copy(size_t from, void *data, size_t size) { argument 140 ALOGV("copy from %zu size %zu", from, size); 146 CHECK_LE(from + size, mTotalSize); 150 while (from >= offset + (*it)->mSize) { 155 size_t delta = from - offset; 274 // explicitly disconnect from the source, to allow any 524 // If the request can be completely satisfied from the cache, do so. 711 ALOGE("Failed to parse cache parameters from ' [all...] |
/frameworks/base/libs/hwui/utils/ |
H A D | VectorDrawableUtils.cpp | 89 const PathData& from, const PathData& to, float fraction) { 90 outData->points.resize(from.points.size()); 91 outData->verbSizes = from.verbSizes; 92 outData->verbs = from.verbs; 94 for (size_t i = 0; i < from.points.size(); i++) { 95 outData->points[i] = from.points[i] * (1 - fraction) + to.points[i] * fraction; 123 // Taken from equations at: http://spaceroots.org/documents/ellipse/node8.html 181 /* Convert rotation angle from degrees to radians */ 330 case 'l': // lineto - Draw a line from the current point (relative) 335 case 'L': // lineto - Draw a line from th 88 interpolatePaths(PathData* outData, const PathData& from, const PathData& to, float fraction) argument [all...] |
/frameworks/rs/api/ |
H A D | rs_vector_math.spec | 126 The precision is what would be expected from doing the computation using 16 bit floating 144 The precision is what would be expected from doing the computation using 16 bit floating 165 The precision is what would be expected from doing the computation using 16 bit floating
|
/frameworks/support/v7/palette/src/main/java/android/support/v7/graphics/ |
H A D | Palette.java | 40 * A helper class to extract prominent colors from an image. 42 * A number of colors with different profiles are extracted from the image: 51 * These can be retrieved from the appropriate getter method. 63 * Palette p = Palette.from(bitmap).generate(); 66 * Palette.from(bitmap).generate(new PaletteAsyncListener() { 99 public static Builder from(Bitmap bitmap) { method in class:Palette 104 * Generate a {@link Palette} from the pre-generated list of {@link Palette.Swatch} swatches. 105 * This is useful for testing, or if you want to resurrect a {@link Palette} instance from a 108 public static Palette from(List<Swatch> swatches) { method in class:Palette 117 return from(bitma [all...] |
/frameworks/base/core/java/android/view/ |
H A D | GhostView.java | 154 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/libs/hwui/tests/unit/ |
H A D | VectorDrawableTests.cpp | 244 static bool hasSameVerbs(const PathData& from, const PathData& to) { argument 245 return from.verbs == to.verbs && from.verbSizes == to.verbSizes;
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
H A D | InformationElementUtilTest.java | 62 * @return byte[] Byte array resulting from concatenating the arrays passed to the function 402 trafficIndicationMap.from(ie); 421 trafficIndicationMap.from(ie); 437 trafficIndicationMap.from(ie);
|
/frameworks/av/media/libstagefright/foundation/ |
H A D | AMessage.cpp | 429 const Item *from = &mItems[i]; local 432 to->setName(from->mName, from->mNameLength); 433 to->mType = from->mType; 435 switch (from->mType) { 439 new AString(*from->u.stringValue); 446 to->u.refValue = from->u.refValue; 454 static_cast<AMessage *>(from->u.refValue)->dup(); 463 to->u = from->u; 657 ALOGE("Failed reading string value from [all...] |
/frameworks/av/services/audioflinger/ |
H A D | RecordTracks.h | 19 #error This header file should only be included from AudioFlinger.h
|
/frameworks/base/core/java/android/print/ |
H A D | PrintJobInfo.java | 374 public void setProgress(@FloatRange(from=0.0, to=1.0) float progress) { 481 public @IntRange(from = 0) int getCopies() { 790 public void setCopies(@IntRange(from = 1) int copies) { 818 public void setProgress(@FloatRange(from=0.0, to=1.0) float progress) {
|