/frameworks/av/include/media/omx/1.0/ |
D | Conversion.h | 182 Return<void> const& t) { in toBinderStatus() argument 184 t.isOk() ? OK : UNKNOWN_ERROR, in toBinderStatus() 185 t.description().c_str()); in toBinderStatus() 196 Return<Status> const& t) { in toBinderStatus() argument 198 t.isOk() ? static_cast<status_t>(static_cast<Status>(t)) : UNKNOWN_ERROR); in toBinderStatus() 217 inline status_t toStatusT(Return<Status> const& t) { in toStatusT() argument 218 return t.isOk() ? static_cast<status_t>(static_cast<Status>(t)) : UNKNOWN_ERROR; in toStatusT() 228 inline status_t toStatusT(Return<void> const& t) { in toStatusT() argument 229 return t.isOk() ? OK : UNKNOWN_ERROR; in toStatusT() 239 inline status_t toStatusT(Status const& t) { in toStatusT() argument [all …]
|
/frameworks/base/core/java/android/hardware/camera2/impl/ |
D | ICameraDeviceUserWrapper.java | 66 } catch (RemoteException t) { in disconnect() 75 } catch (Throwable t) { in submitRequest() 76 CameraManager.throwAsPublicException(t); in submitRequest() 77 throw new UnsupportedOperationException("Unexpected exception", t); in submitRequest() 85 } catch (Throwable t) { in submitRequestList() 86 CameraManager.throwAsPublicException(t); in submitRequestList() 87 throw new UnsupportedOperationException("Unexpected exception", t); in submitRequestList() 94 } catch (Throwable t) { in cancelRequest() 95 CameraManager.throwAsPublicException(t); in cancelRequest() 96 throw new UnsupportedOperationException("Unexpected exception", t); in cancelRequest() [all …]
|
/frameworks/compile/mclinker/include/mcld/Support/ |
D | CXADemangle.tcc | 73 for (auto& t : db.template_param) in print_stack() local 77 for (auto& v : t) in print_stack() 110 const char* t = first; in parse_number() local 111 if (*t == 'n') in parse_number() 112 ++t; in parse_number() 113 if (t != last) in parse_number() 115 if (*t == '0') in parse_number() 117 first = t+1; in parse_number() 119 else if ('1' <= *t && *t <= '9') in parse_number() 121 first = t+1; in parse_number() [all …]
|
/frameworks/base/libs/hwui/ |
D | Interpolator.cpp | 44 float AnticipateInterpolator::interpolate(float t) { in interpolate() argument 45 return t * t * ((mTension + 1) * t - mTension); in interpolate() 48 static float a(float t, float s) { in a() argument 49 return t * t * ((s + 1) * t - s); in a() 52 static float o(float t, float s) { in o() argument 53 return t * t * ((s + 1) * t + s); in o() 56 float AnticipateOvershootInterpolator::interpolate(float t) { in interpolate() argument 57 if (t < 0.5f) return 0.5f * a(t * 2.0f, mTension); in interpolate() 58 else return 0.5f * (o(t * 2.0f - 2.0f, mTension) + 2.0f); in interpolate() 61 static float bounce(float t) { in bounce() argument [all …]
|
/frameworks/base/tests/backup/ |
D | backup_helper_test.cpp | 51 Test* t; in main() local 54 t = TESTS; in main() 55 while (t->name) { in main() 56 t->run = true; in main() 57 t++; in main() 60 t = TESTS; in main() 61 while (t->name) { in main() 63 if (0 == strcmp(t->name, argv[i])) { in main() 64 t->run = true; in main() 67 t++; in main() [all …]
|
/frameworks/av/media/libstagefright/omx/1.0/ |
D | Conversion.h | 188 Return<void> const& t) { in toBinderStatus() argument 190 t.isOk() ? OK : UNKNOWN_ERROR, in toBinderStatus() 191 t.description().c_str()); in toBinderStatus() 210 inline status_t toStatusT(Return<Status> const& t) { in toStatusT() argument 211 return t.isOk() ? static_cast<status_t>(static_cast<Status>(t)) : UNKNOWN_ERROR; in toStatusT() 221 inline status_t toStatusT(Return<void> const& t) { in toStatusT() argument 222 return t.isOk() ? OK : UNKNOWN_ERROR; in toStatusT() 232 inline status_t toStatusT(Status const& t) { in toStatusT() argument 233 return static_cast<status_t>(t); in toStatusT() 274 inline bool wrapAs(Message* t, native_handle_t** nh, omx_message const& l) { in wrapAs() argument [all …]
|
/frameworks/base/core/tests/coretests/src/android/text/format/ |
D | TimeTest.java | 38 Time t = new Time(Time.TIMEZONE_UTC); in testNormalize0() local 39 t.parse("20060432T010203"); in testNormalize0() 40 t.normalize(false /* use isDst */); in testNormalize0() 278 Time t = new Time(Time.TIMEZONE_UTC); in testSwitchTimezone0() local 279 t.parse("20061005T120000"); in testSwitchTimezone0() 280 t.switchTimezone("America/Los_Angeles"); in testSwitchTimezone0() 286 Time t = new Time(Time.TIMEZONE_UTC); in testCtor0() local 287 assertEquals(Time.TIMEZONE_UTC, t.timezone); in testCtor0() 292 Time t = new Time(Time.TIMEZONE_UTC); in testGetActualMaximum0() local 293 t.getActualMaximum(Time.SECOND); in testGetActualMaximum0() [all …]
|
/frameworks/native/services/vr/virtual_touchpad/tests/ |
D | VirtualTouchpad_test.cpp | 104 for (int t = 0; t < kTouchpads; ++t) { in New() local 105 touchpad->SetEvdevInjectorForTesting(t, &touchpad->injector[t]); in New() 138 for (int t = 0; t < touchpad->GetTouchpadCount(); ++t) { in TEST_F() local 139 SCOPED_TRACE(t); in TEST_F() 140 uidev = touchpad->injector[t].GetUiDev(); in TEST_F() 142 name.appendFormat("vr-virtual-touchpad-%d", t); in TEST_F() 158 for (int t = 0; t < touchpad->GetTouchpadCount(); ++t) { in TEST_F() local 159 SCOPED_TRACE(t); in TEST_F() 177 expect.Write(touchpad->injector[t].GetUiDev(), sizeof(uinput_user_dev)); in TEST_F() 179 EXPECT_EQ(expect.GetString(), touchpad->injector[t].record.GetString()); in TEST_F() [all …]
|
/frameworks/av/media/libaudioprocessing/ |
D | AudioMixer.cpp | 124 track_t* t = mState.tracks; in AudioMixer() local 126 t->resampler = NULL; in AudioMixer() 127 t->downmixerBufferProvider = NULL; in AudioMixer() 128 t->mReformatBufferProvider = NULL; in AudioMixer() 129 t->mTimestretchBufferProvider = NULL; in AudioMixer() 130 t++; in AudioMixer() 137 track_t* t = mState.tracks; in ~AudioMixer() local 139 delete t->resampler; in ~AudioMixer() 140 delete t->downmixerBufferProvider; in ~AudioMixer() 141 delete t->mReformatBufferProvider; in ~AudioMixer() [all …]
|
/frameworks/base/core/java/android/util/ |
D | ExceptionUtils.java | 43 public static String getCompleteMessage(String msg, Throwable t) { in getCompleteMessage() argument 48 builder.append(t.getMessage()); in getCompleteMessage() 49 while ((t = t.getCause()) != null) { in getCompleteMessage() 50 builder.append(": ").append(t.getMessage()); in getCompleteMessage() 55 public static String getCompleteMessage(Throwable t) { in getCompleteMessage() argument 56 return getCompleteMessage(null, t); in getCompleteMessage() 60 @Nullable Throwable t, Class<E> c) throws E { in propagateIfInstanceOf() 61 if (t != null && c.isInstance(t)) { in propagateIfInstanceOf() 62 throw c.cast(t); in propagateIfInstanceOf() 69 public static <E extends Exception> RuntimeException propagate(@NonNull Throwable t, Class<E> c) in propagate() argument [all …]
|
/frameworks/opt/net/voip/src/java/com/android/server/sip/ |
D | SipSessionListenerProxy.java | 54 } catch (Throwable t) { in onCalling() 55 handle(t, "onCalling()"); in onCalling() 70 } catch (Throwable t) { in onRinging() 71 handle(t, "onRinging()"); in onRinging() 85 } catch (Throwable t) { in onRingingBack() 86 handle(t, "onRingingBack()"); in onRingingBack() 101 } catch (Throwable t) { in onCallEstablished() 102 handle(t, "onCallEstablished()"); in onCallEstablished() 116 } catch (Throwable t) { in onCallEnded() 117 handle(t, "onCallEnded()"); in onCallEnded() [all …]
|
/frameworks/rs/script_api/include/ |
D | rs_allocation_create.rsh | 17 // Don't edit this file! It is auto-generated by frameworks/rs/api/generate.sh. 161 rs_type t = rsCreateType(e, dimX, dimY, dimZ); 162 return rsCreateAllocation(t); 170 rs_type t = rsCreateType(e, dimX, dimY, dimZ); 171 return rsCreateAllocation(t); 179 rs_type t = rsCreateType(e, dimX, dimY, dimZ); 180 return rsCreateAllocation(t); 188 rs_type t = rsCreateType(e, dimX, dimY, dimZ); 189 return rsCreateAllocation(t); 197 rs_type t = rsCreateType(e, dimX, dimY, dimZ); [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/ |
D | TaskGrouping.java | 23 void addTask(Task t) { in addTask() argument 24 mTaskKeys.add(t.key); in addTask() 25 if (t.key.lastActiveTime > latestActiveTimeInGroup) { in addTask() 26 latestActiveTimeInGroup = t.key.lastActiveTime; in addTask() 28 t.setGroup(this); in addTask() 33 void removeTask(Task t) { in removeTask() argument 34 mTaskKeys.remove(t.key); in removeTask() 43 t.setGroup(null); in removeTask() 48 public Task.TaskKey getNextTaskInGroup(Task t) { in getNextTaskInGroup() argument 49 int i = indexOf(t); in getNextTaskInGroup() [all …]
|
/frameworks/native/libs/gui/bufferqueue/1.0/ |
D | H2BGraphicBufferProducer.cpp | 100 inline status_t toStatusT(Return<Status> const& t) { in toStatusT() argument 101 return t.isOk() ? static_cast<status_t>(static_cast<Status>(t)) : UNKNOWN_ERROR; in toStatusT() 111 inline status_t toStatusT(Return<void> const& t) { in toStatusT() argument 112 return t.isOk() ? OK : UNKNOWN_ERROR; in toStatusT() 122 inline void wrapAs(AnwBuffer* t, GraphicBuffer const& l) { in wrapAs() argument 123 t->attr.width = l.getWidth(); in wrapAs() 124 t->attr.height = l.getHeight(); in wrapAs() 125 t->attr.stride = l.getStride(); in wrapAs() 126 t->attr.format = static_cast<PixelFormat>(l.getPixelFormat()); in wrapAs() 127 t->attr.layerCount = l.getLayerCount(); in wrapAs() [all …]
|
/frameworks/rs/support/java/src/android/support/v8/renderscript/ |
D | Type.java | 216 Type t = new Type(id, rs); in createX() local 217 t.mElement = e; in createX() 218 t.mDimX = dimX; in createX() 219 t.calcElementCount(); in createX() 220 return t; in createX() 240 Type t = new Type(id, rs); in createXY() local 241 t.mElement = e; in createXY() 242 t.mDimX = dimX; in createXY() 243 t.mDimY = dimY; in createXY() 244 t.calcElementCount(); in createXY() [all …]
|
/frameworks/base/core/java/android/net/ |
D | WebAddress.java | 83 String t; in WebAddress() local 85 t = m.group(MATCH_GROUP_SCHEME); in WebAddress() 86 if (t != null) mScheme = t.toLowerCase(Locale.ROOT); in WebAddress() 87 t = m.group(MATCH_GROUP_AUTHORITY); in WebAddress() 88 if (t != null) mAuthInfo = t; in WebAddress() 89 t = m.group(MATCH_GROUP_HOST); in WebAddress() 90 if (t != null) mHost = t; in WebAddress() 91 t = m.group(MATCH_GROUP_PORT); in WebAddress() 92 if (t != null && t.length() > 0) { in WebAddress() 95 mPort = Integer.parseInt(t); in WebAddress() [all …]
|
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/ |
D | clock_ns.h | 15 timespec t; in GetSystemClock() local 16 clock_gettime(CLOCK_MONOTONIC, &t); in GetSystemClock() 17 return t; in GetSystemClock() 21 timespec t; in GetSystemClockRaw() local 22 clock_gettime(CLOCK_MONOTONIC_RAW, &t); in GetSystemClockRaw() 23 return t; in GetSystemClockRaw() 27 timespec t = GetSystemClock(); in GetSystemClockNs() local 28 int64_t ns = kNanosPerSecond * (int64_t)t.tv_sec + (int64_t)t.tv_nsec; in GetSystemClockNs() 33 timespec t = GetSystemClockRaw(); in GetSystemClockRawNs() local 34 int64_t ns = kNanosPerSecond * (int64_t)t.tv_sec + (int64_t)t.tv_nsec; in GetSystemClockRawNs() [all …]
|
/frameworks/base/libs/androidfw/tests/ |
D | TypeWrappers_test.cpp | 26 ResTable_type t; in createTypeData() local 27 memset(&t, 0, sizeof(t)); in createTypeData() 28 t.header.type = RES_TABLE_TYPE_TYPE; in createTypeData() 29 t.header.headerSize = sizeof(t); in createTypeData() 30 t.id = 1; in createTypeData() 31 t.entryCount = 3; in createTypeData() 34 t.entriesStart = t.header.headerSize + sizeof(offsets); in createTypeData() 35 t.header.size = t.entriesStart; in createTypeData() 42 t.header.size += sizeof(e1); in createTypeData() 46 t.header.size += sizeof(v1); in createTypeData() [all …]
|
D | ZipUtils_test.cpp | 38 struct tm t; in TEST_F() local 43 ZipUtils::zipTimeToTimespec(when, &t); in TEST_F() 45 EXPECT_EQ(2011, t.tm_year + 1900) in TEST_F() 48 EXPECT_EQ(5, t.tm_mon) in TEST_F() 51 EXPECT_EQ(29, t.tm_mday) in TEST_F() 54 EXPECT_EQ(14, t.tm_hour) in TEST_F() 57 EXPECT_EQ(40, t.tm_min) in TEST_F() 60 EXPECT_EQ(40, t.tm_sec) in TEST_F() 64 EXPECT_EQ(-1, t.tm_isdst); in TEST_F() 65 EXPECT_EQ(0, t.tm_gmtoff); in TEST_F() [all …]
|
/frameworks/base/core/java/android/view/animation/ |
D | BounceInterpolator.java | 38 private static float bounce(float t) { in bounce() argument 39 return t * t * 8.0f; in bounce() 42 public float getInterpolation(float t) { in getInterpolation() argument 49 t *= 1.1226f; in getInterpolation() 50 if (t < 0.3535f) return bounce(t); in getInterpolation() 51 else if (t < 0.7408f) return bounce(t - 0.54719f) + 0.7f; in getInterpolation() 52 else if (t < 0.9644f) return bounce(t - 0.8526f) + 0.9f; in getInterpolation() 53 else return bounce(t - 1.0435f) + 0.95f; in getInterpolation()
|
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/ |
D | mandelbrot.rs | 30 float2 t = 0; 31 float2 t2 = t * t; 35 t.y = 2 * t.x * t.y + p.y; 36 t.x = xtemp; 38 t2 = t * t; 62 double2 t = 0; 63 double2 t2 = t * t; 67 t.y = 2 * t.x * t.y + p.y; 68 t.x = xtemp; 70 t2 = t * t;
|
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/ |
D | mandelbrot.rs | 30 float2 t = 0; 31 float2 t2 = t * t; 35 t.y = 2 * t.x * t.y + p.y; 36 t.x = xtemp; 38 t2 = t * t; 62 double2 t = 0; 63 double2 t2 = t * t; 67 t.y = 2 * t.x * t.y + p.y; 68 t.x = xtemp; 70 t2 = t * t;
|
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/ |
D | mandelbrot.rs | 30 float2 t = 0; 31 float2 t2 = t * t; 35 t.y = 2 * t.x * t.y + p.y; 36 t.x = xtemp; 38 t2 = t * t; 62 double2 t = 0; 63 double2 t2 = t * t; 67 t.y = 2 * t.x * t.y + p.y; 68 t.x = xtemp; 70 t2 = t * t;
|
/frameworks/base/rs/java/android/renderscript/ |
D | Type.java | 269 Type t = new Type(id, rs); in createX() local 270 t.mElement = e; in createX() 271 t.mDimX = dimX; in createX() 272 t.calcElementCount(); in createX() 273 return t; in createX() 293 Type t = new Type(id, rs); in createXY() local 294 t.mElement = e; in createXY() 295 t.mDimX = dimX; in createXY() 296 t.mDimY = dimY; in createXY() 297 t.calcElementCount(); in createXY() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | KeyguardClockPositionAlgorithm.java | 143 float t = getNotificationAmountT(); in getClockNotificationsPadding() local 144 t = Math.min(t, 1.0f); in getClockNotificationsPadding() 145 return (int) (t * mClockNotificationsMarginMin + (1 - t) * mClockNotificationsMarginMax); in getClockNotificationsPadding() 149 float t = getNotificationAmountT(); in getClockYFraction() local 150 t = Math.min(t, 1.0f); in getClockYFraction() 151 return (1 - t) * mClockYFractionMax + t * mClockYFractionMin; in getClockYFraction() 165 float t = value / mMaxPanelHeight; in getClockYExpansionAdjustment() local 166 float slowedDownValue = -sSlowDownInterpolator.getInterpolation(t) * SLOW_DOWN_FACTOR in getClockYExpansionAdjustment() 176 float t = getNotificationAmountT(); in getClockYExpansionRubberbandFactor() local 177 t = Math.min(t, 1.0f); in getClockYExpansionRubberbandFactor() [all …]
|