Home
last modified time | relevance | path

Searched refs:t (Results 1 – 25 of 410) sorted by relevance

12345678910>>...17

/packages/services/Car/tools/hidl_parser/
Dparser.py48 def t_COMMENT(t): argument
60 def t_IDENTIFIER(t): argument
62 if t.value == 'package':
63 t.type = 'package'
64 elif t.value == 'import':
65 t.type = 'import'
66 elif t.value == 'enum':
67 t.type = 'enum'
68 elif t.value == 'struct':
69 t.type = 'struct'
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/logging/
DLoggerUtils.java93 public static String getTargetStr(Target t) { in getTargetStr() argument
94 if (t == null) { in getTargetStr()
98 switch (t.type) { in getTargetStr()
100 str = getItemStr(t); in getTargetStr()
103 str = getFieldName(t.controlType, ControlType.class); in getTargetStr()
106 str = getFieldName(t.containerType, ContainerType.class); in getTargetStr()
107 if (t.containerType == ContainerType.WORKSPACE || in getTargetStr()
108 t.containerType == ContainerType.HOTSEAT || in getTargetStr()
109 t.containerType == NAVBAR) { in getTargetStr()
110 str += " id=" + t.pageIndex; in getTargetStr()
[all …]
DDumpTargetWrapper.java71 for(DumpTargetWrapper t: children) { in getFlattenedList()
72 list.addAll(t.getFlattenedList()); in getFlattenedList()
110 public static String getDumpTargetStr(DumpTarget t) { in getDumpTargetStr() argument
111 if (t == null){ in getDumpTargetStr()
114 switch (t.type) { in getDumpTargetStr()
116 return getItemStr(t); in getDumpTargetStr()
118 String str = LoggerUtils.getFieldName(t.containerType, ContainerType.class); in getDumpTargetStr()
119 if (t.containerType == ContainerType.WORKSPACE) { in getDumpTargetStr()
120 str += " id=" + t.pageId; in getDumpTargetStr()
121 } else if (t.containerType == ContainerType.FOLDER) { in getDumpTargetStr()
[all …]
/packages/apps/Messaging/src/com/android/messaging/util/
DCubicBezierInterpolator.java43 private float getX(final float t) { in getX() argument
44 return getCoordinate(t, mX1, mX2); in getX()
47 private float getY(final float t) { in getY() argument
48 return getCoordinate(t, mY1, mY2); in getY()
51 private float getCoordinate(float t, float p1, float p2) { in getCoordinate() argument
53 if (t == 0.0f || t == 1.0f) { in getCoordinate()
54 return t; in getCoordinate()
58 float ip0 = linearInterpolate(0, p1, t); in getCoordinate()
59 float ip1 = linearInterpolate(p1, p2, t); in getCoordinate()
60 float ip2 = linearInterpolate(p2, 1, t); in getCoordinate()
[all …]
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
Ddb_utilities_indexing.h193 double t,best; in db_MaxAbsIndex3() local
197 t=fabs(s[1]);if(t>best){best=t;pos=1;} in db_MaxAbsIndex3()
198 t=fabs(s[2]);if(t>best){pos=2;} in db_MaxAbsIndex3()
204 double t,best; in db_MaxAbsIndex9() local
208 t=fabs(s[1]);if(t>best){best=t;pos=1;} in db_MaxAbsIndex9()
209 t=fabs(s[2]);if(t>best){best=t;pos=2;} in db_MaxAbsIndex9()
210 t=fabs(s[3]);if(t>best){best=t;pos=3;} in db_MaxAbsIndex9()
211 t=fabs(s[4]);if(t>best){best=t;pos=4;} in db_MaxAbsIndex9()
212 t=fabs(s[5]);if(t>best){best=t;pos=5;} in db_MaxAbsIndex9()
213 t=fabs(s[6]);if(t>best){best=t;pos=6;} in db_MaxAbsIndex9()
[all …]
/packages/services/Telecomm/src/com/android/server/telecom/
DConnectionServiceWrapper.java94 } catch (Throwable t) { in handleCreateConnectionComplete()
95 Log.e(ConnectionServiceWrapper.this, t, ""); in handleCreateConnectionComplete()
96 throw t; in handleCreateConnectionComplete()
123 } catch (Throwable t) { in handleCreateConferenceComplete()
124 Log.e(ConnectionServiceWrapper.this, t, ""); in handleCreateConferenceComplete()
125 throw t; in handleCreateConferenceComplete()
147 } catch (Throwable t) { in setActive()
148 Log.e(ConnectionServiceWrapper.this, t, ""); in setActive()
149 throw t; in setActive()
170 } catch (Throwable t) { in setRinging()
[all …]
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DWebAddress.java77 String t; in WebAddress() local
79 t = m.group(MATCH_GROUP_SCHEME); in WebAddress()
80 if (t != null) mScheme = t.toLowerCase(Locale.ROOT); in WebAddress()
81 t = m.group(MATCH_GROUP_AUTHORITY); in WebAddress()
82 if (t != null) mAuthInfo = t; in WebAddress()
83 t = m.group(MATCH_GROUP_HOST); in WebAddress()
84 if (t != null) mHost = t; in WebAddress()
85 t = m.group(MATCH_GROUP_PORT); in WebAddress()
86 if (t != null && t.length() > 0) { in WebAddress()
89 mPort = Integer.parseInt(t); in WebAddress()
[all …]
/packages/apps/Gallery/tests/src/com/android/camera/
DBitmapManagerUnitTests.java72 Thread t = new DecodeThread(); in testCanThreadDecoding() local
75 assertTrue(mBitmapManager.canThreadDecoding(t)); in testCanThreadDecoding()
78 mBitmapManager.cancelThreadDecoding(t, mContext.getContentResolver()); in testCanThreadDecoding()
79 assertFalse(mBitmapManager.canThreadDecoding(t)); in testCanThreadDecoding()
82 mBitmapManager.allowThreadDecoding(t); in testCanThreadDecoding()
83 assertTrue(mBitmapManager.canThreadDecoding(t)); in testCanThreadDecoding()
87 DecodeThread t = new DecodeThread(); in testDefaultAllowDecoding() local
89 t.start(); in testDefaultAllowDecoding()
90 t.join(); in testDefaultAllowDecoding()
93 assertNotNull(t.getBitmap()); in testDefaultAllowDecoding()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/anim/
DInterpolators.java63 public static final Interpolator INSTANT = t -> 1;
115 public float getInterpolation(float t) {
116 t -= 1.0f;
117 return t*t*t*t*t + 1;
123 public float getInterpolation(float t) {
124 t -= 1.0f;
125 return t*t*t + 1;
153 return t -> { in clampToProgress()
154 if (t < lowerBound) { in clampToProgress()
157 if (t > upperBound) { in clampToProgress()
[all …]
DSpringAnimationBuilder.java139 public Float get(T t) { in get() argument
204 private boolean isAtEquilibrium(double t) { in isAtEquilibrium() argument
205 double ec = exponentialComponent(t); in isAtEquilibrium()
207 if (Math.abs(ec * cosSinX(t)) >= mValueThreshold) { in isAtEquilibrium()
210 return Math.abs(ec * cosSinV(t)) < mVelocityThreshold; in isAtEquilibrium()
213 private double exponentialComponent(double t) { in exponentialComponent() argument
214 return Math.pow(Math.E, - beta * t / 2); in exponentialComponent()
217 private double cosSinX(double t) { in cosSinX() argument
218 return cosSin(t, a, b); in cosSinX()
221 private double cosSinV(double t) { in cosSinV() argument
[all …]
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DProvisionLogger.java45 public static void logd(String message, Throwable t) { in logd() argument
47 Log.d(getTag(), message, t); in logd() local
54 public static void logd(Throwable t) { in logd() argument
56 Log.d(getTag(), "", t); in logd() local
72 public static void logv(String message, Throwable t) { in logv() argument
74 Log.v(getTag(), message, t); in logv() local
81 public static void logv(Throwable t) { in logv() argument
83 Log.v(getTag(), "", t); in logv() local
99 public static void logi(String message, Throwable t) { in logi() argument
101 Log.i(getTag(), message, t); in logi() local
[all …]
/packages/apps/Gallery/src/com/android/camera/
DBitmapManager.java71 private synchronized ThreadStatus getOrCreateThreadStatus(Thread t) { in getOrCreateThreadStatus() argument
72 ThreadStatus status = mThreadStatus.get(t); in getOrCreateThreadStatus()
75 mThreadStatus.put(t, status); in getOrCreateThreadStatus()
84 private synchronized void setDecodingOptions(Thread t, in setDecodingOptions() argument
86 getOrCreateThreadStatus(t).mOptions = options; in setDecodingOptions()
89 synchronized void removeDecodingOptions(Thread t) { in removeDecodingOptions() argument
90 ThreadStatus status = mThreadStatus.get(t); in removeDecodingOptions()
98 public synchronized boolean canThreadDecoding(Thread t) { in canThreadDecoding() argument
99 ThreadStatus status = mThreadStatus.get(t); in canThreadDecoding()
109 public synchronized void allowThreadDecoding(Thread t) { in allowThreadDecoding() argument
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DTiledTexture.java81 public synchronized void addTexture(TiledTexture t) { in addTexture() argument
82 if (t.isReady()) return; in addTexture()
83 mTextures.addLast(t); in addTexture()
97 TiledTexture t = deque.peekFirst(); in onGLIdle() local
98 if (t.uploadNextTile(canvas)) { in onGLIdle()
284 Tile t = mTiles[i]; in drawMixed() local
285 src.set(0, 0, t.contentWidth, t.contentHeight); in drawMixed()
286 src.offset(t.offsetX, t.offsetY); in drawMixed()
288 src.offset(BORDER_SIZE - t.offsetX, BORDER_SIZE - t.offsetY); in drawMixed()
289 canvas.drawMixed(t, color, ratio, mSrcRect, mDestRect); in drawMixed()
[all …]
DTextureUploader.java55 public synchronized void addBgTexture(UploadedTexture t) { in addBgTexture() argument
56 if (t.isContentValid()) return; in addBgTexture()
57 mBgTextures.addLast(t); in addBgTexture()
58 t.setIsUploading(true); in addBgTexture()
62 public synchronized void addFgTexture(UploadedTexture t) { in addFgTexture() argument
63 if (t.isContentValid()) return; in addFgTexture()
64 mFgTextures.addLast(t); in addFgTexture()
65 t.setIsUploading(true); in addFgTexture()
72 UploadedTexture t; in upload() local
75 t = deque.removeFirst(); in upload()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/util/
DFlingAnimation.java89 public float getInterpolation(float t) { in run()
97 return Math.min(1f, mOffset + t); in run()
133 double t = (-mUY - Math.sqrt(d)) / mAY; in initFlingUpDuration() local
138 mAX = (float) ((sX - t * mUX) * 2 / (t * t)); in initFlingUpDuration()
139 return (int) Math.round(t); in initFlingUpDuration()
161 double t = (-mUX - Math.sqrt(d)) / mAX; in initFlingLeftDuration() local
166 mAY = (float) ((sY - t * mUY) * 2 / (t * t)); in initFlingLeftDuration()
167 return (int) Math.round(t); in initFlingLeftDuration()
172 float t = animation.getAnimatedFraction(); in onAnimationUpdate() local
173 if (t > mAnimationTimeFraction) { in onAnimationUpdate()
[all …]
/packages/apps/DocumentsUI/tests/res/raw/
Dimages_tar8 �����H��������0220������0100����HDRP�d5m^p,��MWT�U�,iGqkQ�Ğo��t�� ĩ��YZ�хm�Ջ���ɫBH�����ߝ…
15 :�����c�*��_���l� 2N��b3h����ٴ*T����(�J�Hj�&�WJ�M+�Ln��tÅ���h�۱�t��G <��Bvþ���ӯhk��������W…
19t�O�i�ˊ����U���v��R� ��l\�p� �I���9z�p߱�xv<��Z<zKI܎��k� \�x:S�8X �&�a5�O :�ڃ�/�=�N�Z��…
20 {�t̞�H�$]1�g���$���x9ؘ��g��]�46i�C�zT�R��o��u
27 …4����Y����J@��B0-n�M�b˄�vu���>E�㖳a�p�}���oE����cK�67�Z?��F�D�=�t��>N��?�"�D6���P6f�u7…
29 ��%^!N'\�8�~���{��f(��J�C�< :*ϸi%Xl�:��C�M�� �����y�ݭh��t���yE��@#gw���� �cr��?#�P�֬,`���/�…
30 …�]��, �:r������a�Y����t[.���~a�����Z,ᣬ@j<Z�:� ���4)t����̷nW(�}�� {�s��O�!86����9�EG�A�…
44 �-�֠}���g�˅���l�@��q-N�'`z�0�,�vw�)FCY�?�g�i��@2uR�H0�t],�d����ߡӆ�#%��3�W��W�&d�Z\+����
45 ,�|��-�j��%b ���G��Z0�s��,�g4�Y��7�?�P�\����•��%�h贵��$��"�r�t���)�u�9��r�Y���n��&@�ܜ�˜�…
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/
Dpointer.h391 for (const Token *t = tokens_; t != tokens_ + tokenCount_; ++t) { variable
392 if (v->IsArray() && t->name[0] == '-' && t->length == 1) {
398 if (t->index == kPointerInvalidIndex) { // must be object name
408 if (t->index >= v->Size()) {
409 v->Reserve(t->index + 1, allocator);
410 while (t->index >= v->Size())
414 v = &((*v)[t->index]);
417 … typename ValueType::MemberIterator m = v->FindMember(GenericStringRef<Ch>(t->name, t->length));
419 … v->AddMember(Value(t->name, t->length, allocator).Move(), Value().Move(), allocator);
460 for (const Token *t = tokens_; t != tokens_ + tokenCount_; ++t) { in Get() local
[all …]
/packages/apps/Camera2/src/com/android/camera/ui/focus/
DAutoFocusRing.java47 public void draw(long t, long dt, Canvas canvas) { in draw() argument
49 processStates(t); in draw()
59 float rFade = InterpolateUtils.unitRatio(t, mEnterStartMillis, mEnterDurationMillis); in draw()
63 float rFade = InterpolateUtils.unitRatio(t, mExitStartMillis, mExitDurationMillis); in draw()
68 .unitRatio(t, mHardExitStartMillis, mHardExitDurationMillis); in draw()
79 private void processStates(long t) { in processStates() argument
84 if (mFocusState == FocusState.STATE_ENTER && t > mEnterStartMillis + mEnterDurationMillis) { in processStates()
90 mExitStartMillis = t; in processStates()
93 … if (mFocusState == FocusState.STATE_FADE_OUT && t > mExitStartMillis + mExitDurationMillis) { in processStates()
98 && t > mHardExitStartMillis + mHardExitDurationMillis) { in processStates()
DManualFocusRing.java43 public void draw(long t, long dt, Canvas canvas) { in draw() argument
45 processStates(t); in draw()
55 float rFade = InterpolateUtils.unitRatio(t, mExitStartMillis, mExitDurationMillis); in draw()
58 float rFade = InterpolateUtils.unitRatio(t, mHardExitStartMillis, in draw()
69 private void processStates(long t) { in processStates() argument
75 && (t > mEnterStartMillis + mEnterDurationMillis)) { in processStates()
81 mExitStartMillis = t; in processStates()
84 … if (mFocusState == FocusState.STATE_FADE_OUT && t > mExitStartMillis + mExitDurationMillis) { in processStates()
89 && t > mHardExitStartMillis + mHardExitDurationMillis) { in processStates()
/packages/apps/TV/tuner/tests/assets/
Dcapture_kqed.ts3 …P�cE��� �)�N���Q]�� ,���0� H����n��A!P�O�8�5 oш�ӝ<����]< �ₘ��t�5G{rC@�K�-$@�C…
5 ��y�t�c��2M�F������o&�$!/↟'{��f�R���]6�i�"���
26 t���e-�H����G�i=��}�����ue6��s�����~Ì�߮Nq<bܨPE����q�7f+N���O��>I��}�����$Biʆ�W��n#�L���…
27 1�/��p�2�ٺ~߼b!�t�*�V��ZC{���UO_���·کg���W�+j}*L���G�f!N̯��3�WЩ�i�H�O͗Z)�/���;t<hȘ0�ߴ�…
41 (@� PM�&\]�N� ZnYH� K�� �h�HJ��H�P�G���>=u�d�{l�ϻE,]���멃V�2��b_9?�ո�� �-PG�6|.L�8�"t�2S�m"…
51 …��]�����8�6f!Z�T�iA~t�3�Zbpb�0�S�xWt6%�R=��>.��9�j;v�Ę�g)�X�����j�$�1��vw�vQx>=�L�Mt…
73 j[�hRY#�c$�����z�I�i�m@Q�k��b['���fC~�Zأ�Y�O��(�11�o�^+�t#�_�-Z��.#����gr� �X����9��퀽�k…
114 …@��tkQ�L�ag��X)��\�uW��N*K��Tv)�u�G�g0��7U ��fM��82.k\���R��,���K�G�<�t>�j��}+��4(��tN�x���…
139 …��l�N|{�Uz��'M�G�A�p4�r��2u��@�k�bI����JL��H�`斓��1��b���}h� � � ��G�C`�T`�.!>t�js�MV
142 \����{{m�.gr ~�xc�E%��=�k�Q0����S��۹G�c�����6�MÓJ��t;$�� �s��V�lo�,^��&#���Χ��qg���W!,($��…
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
DExifInterface.java1072 for (ExifTag t : tags) { in rewriteExif()
1073 mod.modifyTag(t); in rewriteExif()
1201 ExifTag t = getTag(tagId, ifdId); in getTagValue() local
1202 return (t == null) ? null : t.getValue(); in getTagValue()
1227 ExifTag t = getTag(tagId, ifdId); in getTagStringValue() local
1228 if (t == null) { in getTagStringValue()
1231 return t.getValueAsString(); in getTagStringValue()
1322 ExifTag t = getTag(tagId, ifdId); in getTagLongValues() local
1323 if (t == null) { in getTagLongValues()
1326 return t.getValueAsLongs(); in getTagLongValues()
[all …]
/packages/apps/Messaging/src/com/android/messaging/util/exif/
DExifInterface.java1072 for (ExifTag t : tags) { in rewriteExif()
1073 mod.modifyTag(t); in rewriteExif()
1201 ExifTag t = getTag(tagId, ifdId); in getTagValue() local
1202 return (t == null) ? null : t.getValue(); in getTagValue()
1227 ExifTag t = getTag(tagId, ifdId); in getTagStringValue() local
1228 if (t == null) { in getTagStringValue()
1231 return t.getValueAsString(); in getTagStringValue()
1322 ExifTag t = getTag(tagId, ifdId); in getTagLongValues() local
1323 if (t == null) { in getTagLongValues()
1326 return t.getValueAsLongs(); in getTagLongValues()
[all …]
/packages/apps/Camera2/src/com/android/camera/exif/
DExifInterface.java1054 for (ExifTag t : tags) { in rewriteExif()
1055 mod.modifyTag(t); in rewriteExif()
1180 ExifTag t = getTag(tagId, ifdId); in getTagValue() local
1181 return (t == null) ? null : t.getValue(); in getTagValue()
1206 ExifTag t = getTag(tagId, ifdId); in getTagStringValue() local
1207 if (t == null) { in getTagStringValue()
1210 return t.getValueAsString(); in getTagStringValue()
1301 ExifTag t = getTag(tagId, ifdId); in getTagLongValues() local
1302 if (t == null) { in getTagLongValues()
1305 return t.getValueAsLongs(); in getTagLongValues()
[all …]
/packages/apps/Dialer/java/com/android/dialer/common/backoff/
DExponentialBaseCalculator.java87 private static double getBaseImpl(long t, int n, double tolerance) { in getBaseImpl() argument
90 double fb0 = f(b0, t, b0n); in getBaseImpl()
97 double fpb0 = fp(b0, t, n, fb0, b0n); in getBaseImpl()
100 double fb1 = f(b1, t, b1n); in getBaseImpl()
117 private static double f(double b, long t, double bn) { in f() argument
118 return (1 - bn) / (1 - b) - t; in f()
123 private static double fp(double b, long t, int n, double fb, double bn) { in fp() argument
124 return (fb + t - n * bn / b) / (1 - b); in fp()
/packages/apps/TV/tests/common/src/com/android/tv/testing/
DSingletonProvider.java23 private final T t; field in SingletonProvider
25 private SingletonProvider(T t) { in SingletonProvider() argument
26 this.t = t; in SingletonProvider()
31 return t; in get()
34 public static <S, T extends S> Provider<S> create(T t) { in create() argument
35 return new SingletonProvider<S>(t); in create()

12345678910>>...17