/frameworks/support/compat/java/android/support/v4/content/ |
H A D | ContextCompat.java | 346 private static File buildPath(File base, String... segments) { argument 347 File cur = base;
|
/frameworks/base/core/java/android/printservice/ |
H A D | PrintService.java | 42 * This is the base class for implementing print services. A print service knows 259 protected final void attachBaseContext(Context base) { argument 260 super.attachBaseContext(base); 261 mHandler = new ServiceHandler(base.getMainLooper());
|
/frameworks/base/core/java/android/service/notification/ |
H A D | NotificationRankerService.java | 118 protected void attachBaseContext(Context base) { argument 119 super.attachBaseContext(base);
|
/frameworks/base/core/java/android/widget/ |
H A D | Chronometer.java | 38 * and it counts up from that, or if you don't give it a base time, it will use the 41 * <p>The timer can also count downward towards the base time by 84 * Sets the base to the current time. 92 * Sets the base to the current time. 100 * Sets the base to the current time. 124 * Set this view to count down to the base instead of counting up from it. 148 * @param base Use the {@link SystemClock#elapsedRealtime} time base. 151 public void setBase(long base) { argument 152 mBase = base; [all...] |
/frameworks/base/packages/Osu/src/com/android/hotspot2/asn1/ |
H A D | Asn1Decoder.java | 127 private static ByteBuffer peelOff(ByteBuffer base, int length) { argument 128 ByteBuffer copy = base.duplicate(); 133 base.position(base.position() + length);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
H A D | VolumeDialogMotion.java | 247 private static int scaledDuration(int base) { argument 248 return (int) (base * ANIMATION_SCALE); 261 private LogDecelerateInterpolator(float base, float timeScale, float drift) { argument 262 mBase = base; 288 private LogAccelerateInterpolator(int base, int drift) { argument 289 mBase = base; 294 private static float computeLog(float t, int base, int drift) { argument 295 return (float) -Math.pow(base, -t) + 1 + (drift * t);
|
/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | EventConditionProvider.java | 170 public void attachBase(Context base) { argument 171 attachBaseContext(base);
|
H A D | ScheduleConditionProvider.java | 144 public void attachBase(Context base) { argument 145 attachBaseContext(base);
|
/frameworks/base/tools/aapt2/compile/ |
H A D | PseudolocaleGenerator.cpp | 164 ConfigDescription modifyConfigForPseudoLocale(const ConfigDescription& base, argument 166 ConfigDescription modified = base;
|
/frameworks/base/tools/aapt2/util/ |
H A D | Files.cpp | 21 #include <android-base/file.h> 144 void appendPath(std::string* base, StringPiece part) { argument 145 assert(base); 146 const bool baseHasTrailingSep = (!base->empty() && *(base->end() - 1) == sDirSep); 153 *base += sDirSep; 155 base->append(part.data(), part.size()); 197 if (!android::base::ReadFileToString(path.toString(), &contents)) {
|
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/ |
H A D | BridgeTypedArray.java | 378 * truncating the base value to an integer. 400 * rounding the base value, and ensuring that a non-zero base value 500 * @param base The base value of this fraction. In other words, a 502 * @param pbase The parent base value of this fraction. In other 509 * base value, or defValue if not defined. 512 public float getFraction(int index, int base, int pbase, float defValue) { argument 519 return mValue.getFraction(base, pbase); 918 int base [all...] |
/frameworks/base/tools/split-select/ |
H A D | Main.cpp | 40 "split-select --target <config> --base <path/to/apk> [--split <path/to/apk> [...]]\n" 41 "split-select --generate --base <path/to/apk> [--split <path/to/apk> [...]]\n" 46 " --base <path/to/apk> Specifies the base APK, from which all Split APKs must be based off.\n" 71 void generate(const KeyedVector<String8, Vector<SplitDescription> >& splits, const String8& base) { argument 83 if (splits.keyAt(i) == base) { 84 // Skip the base. 269 } else if (arg == "--base") { 273 fprintf(stderr, "error: missing parameter for --base.\n"); 279 fprintf(stderr, "error: multiple --base flag [all...] |
/frameworks/native/services/sensorservice/ |
H A D | mat.h | 126 typedef vec< vec<TYPE, R>, C > base; typedef in class:android::mat 141 mat(const mat& rhs) : base(rhs) { } 142 mat(const base& rhs) : base(rhs) { } 156 base::operator=(rhs); 160 mat& operator=(const base& rhs) { 161 base::operator=(rhs); 174 static_cast<const base&>(lhs), 175 static_cast<const base&>(rhs)); 179 static_cast<const base 257 typedef vec<TYPE, R> base; typedef in class:android::mat [all...] |
H A D | vec.h | 303 typedef vbase<TYPE, SIZE> base; typedef in class:android::vec 314 iterator begin() { return base::v; } 315 iterator end() { return base::v + SIZE; } 316 const_iterator begin() const { return base::v; } 317 const_iterator end() const { return base::v + SIZE; } 324 vec(const vec& rhs) : base(rhs) { } 325 vec(const base& rhs) : base(rhs) { } 332 base::operator[](i) = rhs; 342 base [all...] |
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
H A D | IPTestList.java | 85 private TestName(String s, int g, float base) { argument 88 baseline = base;
|
/frameworks/support/core-utils/java/android/support/v4/content/ |
H A D | FileProvider.java | 785 private static File buildPath(File base, String... segments) { argument 786 File cur = base;
|
/frameworks/support/core-utils/tests/java/android/support/v4/content/ |
H A D | FileProviderTest.java | 354 private static File buildPath(File base, String... segments) { argument 355 File cur = base;
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | TintTypedArray.java | 169 public float getFraction(int index, int base, int pbase, float defValue) { argument 170 return mWrapped.getFraction(index, base, pbase, defValue);
|
/frameworks/base/core/java/android/content/res/ |
H A D | TypedArray.java | 630 * truncating the base value to an integer. 679 * rounding the base value, and ensuring that a non-zero base value 806 * @param base The base value of this fraction. In other words, a 808 * @param pbase The parent base value of this fraction. In other 815 * base value, or defValue if not defined. 820 public float getFraction(@StyleableRes int index, int base, int pbase, float defValue) { argument 834 data[index+AssetManager.STYLE_DATA], base, pbase);
|
/frameworks/base/core/java/android/util/ |
H A D | TypedValue.java | 214 * Retrieve the base value from a complex data integer. This uses the 282 * conversion involves rounding the base value, and ensuring that a 283 * non-zero base value is at least one pixel in size. 387 * @param base The base value of this fraction. In other words, a 389 * @param pbase The parent base value of this fraction. In other 394 * base value depending on its unit. 396 public static float complexToFraction(int data, float base, float pbase) argument 400 return complexToFloat(data) * base; 411 * @param base Th 420 getFraction(float base, float pbase) argument [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | RippleForeground.java | 365 public LogDecelerateInterpolator(float base, float timeScale, float drift) { argument 366 mBase = base;
|
/frameworks/base/native/android/ |
H A D | configuration.cpp | 238 int32_t AConfiguration_match(AConfiguration* base, AConfiguration* requested) { argument 239 return base->match(*requested); 242 int32_t AConfiguration_isBetterThan(AConfiguration* base, AConfiguration* test, argument 244 return base->isBetterThan(*test, requested);
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
H A D | DatabaseHelper.java | 2749 private void loadFractionSetting(SQLiteStatement stmt, String key, int resid, int base) { argument 2751 Float.toString(mContext.getResources().getFraction(resid, base, base)));
|
/frameworks/native/libs/binder/ |
H A D | IMemory.cpp | 141 void* const base = realHeap->base(); local 142 if (base == MAP_FAILED) 144 return static_cast<char*>(base) + offset; 150 void* const base = heap!=0 ? heap->base() : MAP_FAILED; local 151 if (base == MAP_FAILED) 153 return static_cast<char*>(base) + offset; 482 ALOGD("hey=%p, heap=%p, count=%d, (fd=%d, base=%p, size=%zu)",
|
/frameworks/native/opengl/libagl/ |
H A D | state.cpp | 68 void* const base = malloc(extra + sizeof(ogles_context_t) + 32); local 69 if (!base) return 0; 72 (ogles_context_t *)((ptrdiff_t(base) + extra + 31) & ~0x1FL); 91 c->rasterizer.base = base; 114 free(c->rasterizer.base);
|