Home
last modified time | relevance | path

Searched refs:t (Results 1 – 25 of 406) 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.java92 public static String getTargetStr(Target t) { in getTargetStr() argument
93 if (t == null){ in getTargetStr()
97 switch (t.type) { in getTargetStr()
99 str = getItemStr(t); in getTargetStr()
102 str = getFieldName(t.controlType, ControlType.class); in getTargetStr()
105 str = getFieldName(t.containerType, ContainerType.class); in getTargetStr()
106 if (t.containerType == ContainerType.WORKSPACE || in getTargetStr()
107 t.containerType == ContainerType.HOTSEAT || in getTargetStr()
108 t.containerType == NAVBAR) { in getTargetStr()
109 str += " id=" + t.pageIndex; in getTargetStr()
[all …]
DDumpTargetWrapper.java66 for(DumpTargetWrapper t: children) { in getFlattenedList()
67 list.addAll(t.getFlattenedList()); in getFlattenedList()
102 public static String getDumpTargetStr(DumpTarget t) { in getDumpTargetStr() argument
103 if (t == null){ in getDumpTargetStr()
106 switch (t.type) { in getDumpTargetStr()
108 return getItemStr(t); in getDumpTargetStr()
110 String str = LoggerUtils.getFieldName(t.containerType, ContainerType.class); in getDumpTargetStr()
111 if (t.containerType == ContainerType.WORKSPACE) { in getDumpTargetStr()
112 str += " id=" + t.pageId; in getDumpTargetStr()
113 } 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.java92 } catch (Throwable t) { in handleCreateConnectionComplete()
93 Log.e(ConnectionServiceWrapper.this, t, ""); in handleCreateConnectionComplete()
94 throw t; in handleCreateConnectionComplete()
115 } catch (Throwable t) { in setActive()
116 Log.e(ConnectionServiceWrapper.this, t, ""); in setActive()
117 throw t; in setActive()
138 } catch (Throwable t) { in setRinging()
139 Log.e(ConnectionServiceWrapper.this, t, ""); in setRinging()
140 throw t; in setRinging()
180 } catch (Throwable t) { in setVideoProvider()
[all …]
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/datetime/parser/
DDateTimeParser.java140 Date d; Time t; in date_time() local
157 t = time(); in date_time()
162 t.getHour(), in date_time()
163 t.getMinute(), in date_time()
164 t.getSecond(), in date_time()
165 t.getZone());} // time zone offset in date_time()
212 Token t; in day() local
213 t = jj_consume_token(DIGITS); in day()
214 {if (true) return parseDigits(t);} in day()
277 Token t; in year() local
[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.java60 public static final Interpolator INSTANT = t -> 1;
112 public float getInterpolation(float t) {
113 t -= 1.0f;
114 return t*t*t*t*t + 1;
120 public float getInterpolation(float t) {
121 t -= 1.0f;
122 return t*t*t + 1;
149 return t -> { in clampToProgress()
150 if (t < lowerBound) { in clampToProgress()
153 if (t > upperBound) { in clampToProgress()
[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/UnifiedEmail/src/org/apache/james/mime4j/
DLog.java59 public void trace(Object message, Throwable t) { in trace() argument
61 android.util.Log.v(LOG_TAG, toString(message, t)); in trace()
69 public void debug(Object message, Throwable t) { in debug() argument
71 android.util.Log.d(LOG_TAG, toString(message, t)); in debug()
79 public void info(Object message, Throwable t) { in info() argument
81 android.util.Log.i(LOG_TAG, toString(message, t)); in info()
88 public void warn(Object message, Throwable t) { in warn() argument
89 android.util.Log.w(LOG_TAG, toString(message, t)); in warn()
96 public void error(Object message, Throwable t) { in error() argument
97 android.util.Log.e(LOG_TAG, toString(message, t)); in error()
[all …]
/packages/apps/UnifiedEmail/src/com/android/emailcommon/utility/
DTextUtilities.java644 for (SearchTerm t: terms) { in highlightTerms()
645 if (chrLowerCase == t.mTermLowerCase.charAt(t.mMatchLength)) { in highlightTerms()
646 if (t.mMatchLength++ == 0) { in highlightTerms()
648 t.mMatchStart = i; in highlightTerms()
650 if (t.mMatchLength == t.mLength) { in highlightTerms()
651 String matchText = text.substring(t.mMatchStart, t.mMatchStart + t.mLength); in highlightTerms()
653 if (t.mMatchStart <= lastOut) { in highlightTerms()
669 lastOut = t.mMatchStart + t.mLength - 1; in highlightTerms()
670 t.mMatchLength = 0; in highlightTerms()
671 t.mMatchStart = -1; in highlightTerms()
[all …]
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/html/parser/
DHtmlTreeBuilder.java69 public void visitTag(HtmlDocument.Tag t) { in visitTag() argument
70 tableFixer.seeTag(t); in visitTag()
72 HTML.Element element = t.getElement(); in visitTag()
74 tree.addSingularTag(t); in visitTag()
75 } else if (t.isSelfTerminating()) { in visitTag()
83 t.getAttributes(), t.getOriginalHtmlBeforeAttributes(), in visitTag()
84 t.getOriginalHtmlAfterAttributes())); in visitTag()
89 tree.addStartTag(t); in visitTag()
95 public void visitEndTag(HtmlDocument.EndTag t) { in visitEndTag() argument
98 HTML.Element element = t.getElement(); in visitEndTag()
[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/Launcher3/quickstep/src/com/android/quickstep/
DRecentTasksList.java169 RecentTaskInfoCompat t = new RecentTaskInfoCompat(rawTask); in loadTasksInBackground() local
173 ActivityManager.TaskDescription rawTd = t.getTaskDescription(); in loadTasksInBackground()
175 boolean isLocked = tmpLockedUsers.get(t.getUserId()); in loadTasksInBackground()
177 t.supportsSplitScreenMultiWindow(), isLocked, rawTd, t.getTopActivity()); in loadTasksInBackground()
190 Task t = tasks.get(i); in copyOf() local
191 newTasks.add(new Task(t.key, t.colorPrimary, t.colorBackground, t.isDockable, in copyOf()
192 t.isLocked, t.taskDescription, t.topActivity)); in copyOf()
/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/UnifiedEmail/src/org/apache/james/mime4j/field/address/parser/
DAddressListParser.java506 jjtreeOpenNodeScope(jjtn000);Token t; in local_part() local
510 t = jj_consume_token(DOTATOM); in local_part()
513 t = jj_consume_token(QUOTEDSTRING); in local_part()
534 t = jj_consume_token(9); in local_part()
540 …if (t.image.charAt(t.image.length() - 1) != '.' || t.kind == AddressListParserConstants.QUOTEDSTRI… in local_part()
544 t = jj_consume_token(DOTATOM); in local_part()
547 t = jj_consume_token(QUOTEDSTRING); in local_part()
568 jjtreeOpenNodeScope(jjtn000);Token t; in domain() local
572 t = jj_consume_token(DOTATOM); in domain()
586 t = jj_consume_token(9); in domain()
[all …]
/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 …]

12345678910>>...17