Home
last modified time | relevance | path

Searched refs:n (Results 1 – 25 of 260) sorted by relevance

1234567891011

/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/
DBuilder.java69 Node n = it.nextNode(); in buildAddress() local
70 if (n instanceof ASTaddr_spec) { in buildAddress()
71 return buildAddrSpec((ASTaddr_spec)n); in buildAddress()
73 else if (n instanceof ASTangle_addr) { in buildAddress()
74 return buildAngleAddr((ASTangle_addr)n); in buildAddress()
76 else if (n instanceof ASTphrase) { in buildAddress()
77 String name = buildString((ASTphrase)n, false); in buildAddress()
101 Node n = it.nextNode(); in buildGroupBody() local
102 if (n instanceof ASTmailbox) in buildGroupBody()
103 results.add(buildMailbox((ASTmailbox)n)); in buildGroupBody()
[all …]
/packages/inputmethods/LatinIME/dictionaries/
Dtr_wordlist.combined.gz1dictionary=main:tr,locale=tr,description=Türkçe,date=1393228155, ...
Dcs_wordlist.combined.gz
Dfi_wordlist.combined.gz1dictionary=main:fi,locale=fi,description=Suomi,date=1393228135, ...
/packages/apps/Gallery2/src/com/android/photos/data/
DSparseArrayBitmapPool.java85 private void unlinkAndRecycleNode(Node n, boolean recycleBitmap) { in unlinkAndRecycleNode() argument
87 if (n.prevInBucket != null) { in unlinkAndRecycleNode()
89 n.prevInBucket.nextInBucket = n.nextInBucket; in unlinkAndRecycleNode()
92 mStore.put(n.bitmap.getWidth(), n.nextInBucket); in unlinkAndRecycleNode()
94 if (n.nextInBucket != null) { in unlinkAndRecycleNode()
96 n.nextInBucket.prevInBucket = n.prevInBucket; in unlinkAndRecycleNode()
100 if (n.prevInPool != null) { in unlinkAndRecycleNode()
102 n.prevInPool.nextInPool = n.nextInPool; in unlinkAndRecycleNode()
105 mPoolNodesHead = n.nextInPool; in unlinkAndRecycleNode()
107 if (n.nextInPool != null) { in unlinkAndRecycleNode()
[all …]
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/html/parser/
DHtmlTree.java79 void addNode(HtmlDocument.Node n, int nodeNum, int endNum); in addNode() argument
222 for (int n = fromNode; n < toNode; n++) { in getHtml()
223 HtmlDocument.Node node = nodes.get(n); in getHtml()
272 for (int n = fromNode; n < toNode; n++) { in getHtmlChunks()
273 HtmlDocument.Node node = nodes.get(n); in getHtmlChunks()
395 for (int n = startNode; n < endNode;) { in createBlocks()
398 int nBegin = begins.get(n); in createBlocks()
399 int nEnd = ends.get(n); in createBlocks()
403 if (nBegin >= n && nEnd <= endNode && in createBlocks()
404 canBeginBlockAt(n)) { in createBlocks()
[all …]
DHtmlDocument.java60 for (Node n : nodes) { in toHTML()
61 n.toHTML(sb); in toHTML()
69 for (Node n : nodes) { in toXHTML()
70 n.toXHTML(sb); in toXHTML()
82 for (Node n : nodes) { in toOriginalHTML()
83 n.toOriginalHTML(sb); in toOriginalHTML()
906 Text visitText(Text n); in visitText() argument
909 Tag visitTag(Tag n); in visitTag() argument
912 EndTag visitEndTag(EndTag n); in visitEndTag() argument
915 Comment visitComment(Comment n); in visitComment() argument
[all …]
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/common/
DUtils.java79 public static int nextPowerOf2(int n) { in nextPowerOf2() argument
80 if (n <= 0 || n > (1 << 30)) throw new IllegalArgumentException("n is invalid: " + n); in nextPowerOf2()
81 n -= 1; in nextPowerOf2()
82 n |= n >> 16; in nextPowerOf2()
83 n |= n >> 8; in nextPowerOf2()
84 n |= n >> 4; in nextPowerOf2()
85 n |= n >> 2; in nextPowerOf2()
86 n |= n >> 1; in nextPowerOf2()
87 return n + 1; in nextPowerOf2()
93 public static int prevPowerOf2(int n) { in prevPowerOf2() argument
[all …]
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DUtils.java79 public static int nextPowerOf2(int n) { in nextPowerOf2() argument
80 if (n <= 0 || n > (1 << 30)) throw new IllegalArgumentException("n is invalid: " + n); in nextPowerOf2()
81 n -= 1; in nextPowerOf2()
82 n |= n >> 16; in nextPowerOf2()
83 n |= n >> 8; in nextPowerOf2()
84 n |= n >> 4; in nextPowerOf2()
85 n |= n >> 2; in nextPowerOf2()
86 n |= n >> 1; in nextPowerOf2()
87 return n + 1; in nextPowerOf2()
93 public static int prevPowerOf2(int n) { in prevPowerOf2() argument
[all …]
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/
Dnj_str.c33 NJ_CHAR *nj_strncpy(NJ_CHAR *dst, NJ_CHAR *src, NJ_UINT16 n) { in nj_strncpy() argument
38 while (n != 0) { in nj_strncpy()
40 while (n != 0) { in nj_strncpy()
42 n--; in nj_strncpy()
48 n--; in nj_strncpy()
76 NJ_INT16 nj_strncmp(NJ_CHAR *s1, NJ_CHAR *s2, NJ_UINT16 n) { in nj_strncmp() argument
78 while (n != 0) { in nj_strncmp()
85 n--; in nj_strncmp()
102 NJ_INT16 nj_charncmp(NJ_CHAR *s1, NJ_CHAR *s2, NJ_UINT16 n) { in nj_charncmp() argument
106 while (n != 0) { in nj_charncmp()
[all …]
/packages/apps/Camera/jni/feature_stab/db_vlvm/
Ddb_rob_image_homography.cpp281 …ouble **JtJ_ref,double *min_Jtf,double **JtJ_temp_ref,double *min_Jtf_temp,int n,int *fetch_vector) in db_RobImageHomographyFetchJacobian() argument
286 for(i=0;i<n;i++) in db_RobImageHomographyFetchJacobian()
292 for(j=i;j<n;j++) in db_RobImageHomographyFetchJacobian()
299 …uble **JtJ_ref,double *min_Jtf,double **JtJ_temp_ref,double *min_Jtf_temp,double **JE_dx_ref,int n) in db_RobImageHomographyMultiplyJacobian() argument
306 db_MultiplyMatricesAB(JtJ_JE_ref,JtJ_temp_ref,JE_dx_ref,9,9,n); in db_RobImageHomographyMultiplyJacobian()
307 db_UpperMultiplyMatricesAtB(JtJ_ref,JE_dx_ref,JtJ_JE_ref,n,9,n); in db_RobImageHomographyMultiplyJacobian()
308 db_MultiplyMatrixVectorAtb(min_Jtf,JE_dx_ref,min_Jtf_temp,n,9); in db_RobImageHomographyMultiplyJacobian()
420 int i,j,fetch_vector[8],n; in db_RobImageHomography_Jacobians_Generic() local
439 n=4; in db_RobImageHomography_Jacobians_Generic()
443 … db_RobImageHomographyMultiplyJacobian(JtJ_ref,min_Jtf,JtJ_temp_ref,min_Jtf_temp,JE_dx_ref,n); in db_RobImageHomography_Jacobians_Generic()
[all …]
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
Ddb_rob_image_homography.cpp281 …ouble **JtJ_ref,double *min_Jtf,double **JtJ_temp_ref,double *min_Jtf_temp,int n,int *fetch_vector) in db_RobImageHomographyFetchJacobian() argument
286 for(i=0;i<n;i++) in db_RobImageHomographyFetchJacobian()
292 for(j=i;j<n;j++) in db_RobImageHomographyFetchJacobian()
299 …uble **JtJ_ref,double *min_Jtf,double **JtJ_temp_ref,double *min_Jtf_temp,double **JE_dx_ref,int n) in db_RobImageHomographyMultiplyJacobian() argument
306 db_MultiplyMatricesAB(JtJ_JE_ref,JtJ_temp_ref,JE_dx_ref,9,9,n); in db_RobImageHomographyMultiplyJacobian()
307 db_UpperMultiplyMatricesAtB(JtJ_ref,JE_dx_ref,JtJ_JE_ref,n,9,n); in db_RobImageHomographyMultiplyJacobian()
308 db_MultiplyMatrixVectorAtb(min_Jtf,JE_dx_ref,min_Jtf_temp,n,9); in db_RobImageHomographyMultiplyJacobian()
420 int i,j,fetch_vector[8],n; in db_RobImageHomography_Jacobians_Generic() local
439 n=4; in db_RobImageHomography_Jacobians_Generic()
443 … db_RobImageHomographyMultiplyJacobian(JtJ_ref,min_Jtf,JtJ_temp_ref,min_Jtf_temp,JE_dx_ref,n); in db_RobImageHomography_Jacobians_Generic()
[all …]
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/parser/
DJJTAddressListParserState.java43 void pushNode(Node n) { in pushNode() argument
44 nodes.push(n); in pushNode()
69 void clearNodeScope(Node n) { in clearNodeScope() argument
77 void openNodeScope(Node n) { in openNodeScope() argument
80 n.jjtOpen(); in openNodeScope()
88 void closeNodeScope(Node n, int num) { in closeNodeScope() argument
92 c.jjtSetParent(n); in closeNodeScope()
93 n.jjtAddChild(c, num); in closeNodeScope()
95 n.jjtClose(); in closeNodeScope()
96 pushNode(n); in closeNodeScope()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DMoreKeysKeyboard.java154 /* package */int getColumnPos(final int n) { in getColumnPos() argument
155 return mIsMoreKeysFixedOrder ? getFixedOrderColumnPos(n) : getAutomaticColumnPos(n); in getColumnPos()
158 private int getFixedOrderColumnPos(final int n) { in getFixedOrderColumnPos() argument
159 final int col = n % mNumColumns; in getFixedOrderColumnPos()
160 final int row = n / mNumColumns; in getFixedOrderColumnPos()
178 private int getAutomaticColumnPos(final int n) { in getAutomaticColumnPos() argument
179 final int col = n % mNumColumns; in getAutomaticColumnPos()
180 final int row = n / mNumColumns; in getAutomaticColumnPos()
232 public int getX(final int n, final int row) { in getX() argument
233 final int x = getColumnPos(n) * mColumnWidth + getDefaultKeyCoordX(); in getX()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DSplineMath.java7 SplineMath(int n) { in SplineMath() argument
8 mPoints = new double[n][2]; in SplineMath()
17 public float[][] calculatetCurve(int n) { in calculatetCurve() argument
18 float[][] curve = new float[n][2]; in calculatetCurve()
113 int n = points.length; in solveSystem() local
114 double[][] system = new double[n][3]; in solveSystem()
115 double[] result = new double[n]; // d in solveSystem()
116 double[] solution = new double[n]; // returned coefficients in solveSystem()
118 system[n - 1][1] = 1; in solveSystem()
125 for (int i = 1; i < n - 1; i++) { in solveSystem()
[all …]
/packages/apps/Settings/src/com/android/settings/dashboard/
DDashboardCategory.java69 public void addTile(int n, DashboardTile tile) { in addTile() argument
70 tiles.add(n, tile); in addTile()
77 public void removeTile(int n) { in removeTile() argument
78 tiles.remove(n); in removeTile()
85 public DashboardTile getTile(int n) { in getTile() argument
86 return tiles.get(n); in getTile()
114 for (int n = 0; n < count; n++) { in writeToParcel()
115 DashboardTile tile = tiles.get(n); in writeToParcel()
126 for (int n = 0; n < count; n++) { in readFromParcel()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DSpline.java349 int n = points.length; in solveSystem() local
350 double[][] system = new double[n][3]; in solveSystem()
351 double[] result = new double[n]; // d in solveSystem()
352 double[] solution = new double[n]; // returned coefficients in solveSystem()
354 system[n - 1][1] = 1; in solveSystem()
361 for (int i = 1; i < n - 1; i++) { in solveSystem()
374 for (int i = 1; i < n; i++) { in solveSystem()
384 solution[n - 1] = result[n - 1] / system[n - 1][1]; in solveSystem()
385 for (int i = n - 2; i >= 0; --i) { in solveSystem()
401 public void deletePoint(int n) { in deletePoint() argument
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DPath.java113 int n = 0; in split() local
115 n++; in split()
117 String[] segments = new String[n]; in split()
118 int i = n - 1; in split()
127 int n = s.length(); in split() local
128 if (n == 0) return new String[0]; in split()
134 while (i < n) { in split()
137 for (j = i; j < n; j++) { in split()
157 int n = s.length(); in splitSequence() local
158 if (s.charAt(0) != '{' || s.charAt(n-1) != '}') { in splitSequence()
[all …]
/packages/apps/Settings/src/com/android/settings/search/
DIndex.java306 for (int n = 0; n < size; n++) { in update()
307 final ResolveInfo info = list.get(n); in update()
400 for (int n = 0; n < count; n++) { in addIndexableData()
401 mDataToProcess.dataToUpdate.add(array[n]); in addIndexableData()
653 for (int n = 0; n < SELECT_COLUMNS.length; n++) { in buildSearchSQLForColumn()
654 sb.append(SELECT_COLUMNS[n]); in buildSearchSQLForColumn()
655 if (n < SELECT_COLUMNS.length - 1) { in buildSearchSQLForColumn()
686 for (int n = 0; n < count; n++) { in buildSearchMatchStringForColumns()
687 sb.append(columnNames[n]); in buildSearchMatchStringForColumns()
690 if (n < count - 1) { in buildSearchMatchStringForColumns()
[all …]
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/session/
Dprev_words_info.h94 const int *getNthPrevWordCodePoints(const int n) const { in getNthPrevWordCodePoints() argument
95 if (n <= 0 || n > MAX_PREV_WORD_COUNT_FOR_N_GRAM) { in getNthPrevWordCodePoints()
98 return mPrevWordCodePoints[n - 1]; in getNthPrevWordCodePoints()
102 int getNthPrevWordCodePointCount(const int n) const { in getNthPrevWordCodePointCount() argument
103 if (n <= 0 || n > MAX_PREV_WORD_COUNT_FOR_N_GRAM) { in getNthPrevWordCodePointCount()
106 return mPrevWordCodePointCount[n - 1]; in getNthPrevWordCodePointCount()
110 bool isNthPrevWordBeginningOfSentence(const int n) const { in isNthPrevWordBeginningOfSentence() argument
111 if (n <= 0 || n > MAX_PREV_WORD_COUNT_FOR_N_GRAM) { in isNthPrevWordBeginningOfSentence()
114 return mIsBeginningOfSentence[n - 1]; in isNthPrevWordBeginningOfSentence()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DAlbumSlidingWindow.java137 for (int i = mContentStart, n = mContentEnd; i < n; ++i) { in setContentWindow()
148 for (int i = contentEnd, n = mContentEnd; i < n; ++i) { in setContentWindow()
152 for (int i = contentStart, n = mContentStart; i < n; ++i) { in setContentWindow()
195 for (int i = mActiveStart, n = mActiveEnd; i < n; ++i) { in updateTextureUploadQueue()
278 for (int i = mActiveStart, n = mActiveEnd; i < n; ++i) { in updateAllImageRequests()
351 for (int i = mContentStart, n = mContentEnd; i < n; ++i) { in resume()
361 for (int i = mContentStart, n = mContentEnd; i < n; ++i) { in pause()
DAlbumSetSlidingWindow.java140 for (int i = mContentStart, n = mContentEnd; i < n; ++i) { in setContentWindow()
151 for (int i = contentEnd, n = mContentEnd; i < n; ++i) { in setContentWindow()
155 for (int i = contentStart, n = mContentStart; i < n; ++i) { in setContentWindow()
319 for (int i = mActiveStart, n = mActiveEnd; i < n; ++i) { in updateTextureUploadQueue()
340 for (int i = mActiveStart, n = mActiveEnd; i < n; ++i) { in updateAllImageRequests()
402 for (int i = mContentStart, n = mContentEnd; i < n; ++i) { in pause()
410 for (int i = mContentStart, n = mContentEnd; i < n; ++i) { in resume()
534 for (int i = mContentStart, n = mContentEnd; i < n; ++i) { in onSlotSizeChanged()
/packages/apps/Mms/src/com/android/mms/exif/
DExifParser.java694 for (int i = 0, n = value.length; i < n; i++) { in readFullTagValue()
702 for (int i = 0, n = value.length; i < n; i++) { in readFullTagValue()
710 for (int i = 0, n = value.length; i < n; i++) { in readFullTagValue()
718 for (int i = 0, n = value.length; i < n; i++) { in readFullTagValue()
726 for (int i = 0, n = value.length; i < n; i++) { in readFullTagValue()
818 protected String readString(int n) throws IOException { in readString() argument
819 return readString(n, US_ASCII); in readString()
827 protected String readString(int n, Charset charset) throws IOException { in readString() argument
828 if (n > 0) { in readString()
829 return mTiffStream.readString(n, charset); in readString()
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/exif/
DExifParser.java692 for (int i = 0, n = value.length; i < n; i++) { in readFullTagValue()
700 for (int i = 0, n = value.length; i < n; i++) { in readFullTagValue()
708 for (int i = 0, n = value.length; i < n; i++) { in readFullTagValue()
716 for (int i = 0, n = value.length; i < n; i++) { in readFullTagValue()
724 for (int i = 0, n = value.length; i < n; i++) { in readFullTagValue()
816 protected String readString(int n) throws IOException { in readString() argument
817 return readString(n, US_ASCII); in readString()
825 protected String readString(int n, Charset charset) throws IOException { in readString() argument
826 if (n > 0) { in readString()
827 return mTiffStream.readString(n, charset); in readString()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
DExifParser.java692 for (int i = 0, n = value.length; i < n; i++) { in readFullTagValue()
700 for (int i = 0, n = value.length; i < n; i++) { in readFullTagValue()
708 for (int i = 0, n = value.length; i < n; i++) { in readFullTagValue()
716 for (int i = 0, n = value.length; i < n; i++) { in readFullTagValue()
724 for (int i = 0, n = value.length; i < n; i++) { in readFullTagValue()
816 protected String readString(int n) throws IOException { in readString() argument
817 return readString(n, US_ASCII); in readString()
825 protected String readString(int n, Charset charset) throws IOException { in readString() argument
826 if (n > 0) { in readString()
827 return mTiffStream.readString(n, charset); in readString()

1234567891011