Home
last modified time | relevance | path

Searched refs:j (Results 1 – 25 of 45) sorted by relevance

12

/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/
DM4.java32 for (int j = 0; j < 4; j++) { in M4()
33 m[i][j] = other.m[i][j]; in M4()
50 for (int j = 0; j < 4; j++) { in multiply()
51 result.m[i][j] = m1[i][0]*m2[0][j] + m1[i][1]*m2[1][j] + m1[i][2]*m2[2][j] + m1[i][3]*m2[3][j]; in multiply()
60 for (int j = 0; j < 4; j++) { in setIdentity()
61 m[i][j] = (i == j ? 1f : 0f); in setIdentity()
70 for (int j = 0; j < 4; j++) { in toString()
71 builder.append(m[i][j]); in toString()
DKube.java89 int i, j; in makeGLWorld() local
94 for (j = 0; j < 6; j++) in makeGLWorld()
95 cube.setFaceColor(j, black); in makeGLWorld()
113 for (j = 0; j < 3; j++) in makeGLWorld()
114 mCubes[i + j].setFaceColor(Cube.kBack, blue); in makeGLWorld()
117 for (j = 0; j < 3; j++) in makeGLWorld()
118 mCubes[i + j].setFaceColor(Cube.kFront, green); in makeGLWorld()
152 int i, j, k; in updateLayers() local
170 for (j = 0; j < 9; j += 3) in updateLayers()
171 shapes[k++] = mCubes[mPermutation[i + j]]; in updateLayers()
[all …]
/development/samples/SpellChecker/HelloSpellChecker/src/com/example/android/hellospellchecker/
DHelloSpellCheckerActivity.java94 for (int j = 0; j < len; ++j) { in dumpSuggestionsInfoInternal()
95 if (j != 0) { in dumpSuggestionsInfoInternal()
98 sb.append(si.getSuggestionAt(j)); in dumpSuggestionsInfoInternal()
146 for (int j = 0; j < ssi.getSuggestionsCount(); ++j) { in onGetSentenceSuggestions()
148 sb, ssi.getSuggestionsInfoAt(j), ssi.getOffsetAt(j), ssi.getLengthAt(j)); in onGetSentenceSuggestions()
/development/samples/SearchableDictionary/res/raw/
Ddefinitions.txt7 absurd - j. inconsistent with reason or logic or common sense
8 abundant - j. present in great quantity
9 abusive - j. characterized by physical or psychological maltreatment
10 academic - j. associated with school or learning
14 accessible - j. easily obtained
20 accurate - j. conforming exactly or almost exactly to fact or to a standard or performing with tota…
23 acid - j. biting, sarcastic, or scornful
27 adamant - j. impervious to pleas, persuasion, requests, reason
28 adjacent - j. having a common boundary or edge; abutting; touching
31 adverse - j. contrary to your interests or welfare
[all …]
/development/samples/browseable/ElizaChat/src/com.example.android.wearable.elizachat/
DElizaResponder.java144 for (int j = 0; j < parts.length; ++j) { in elzTalk()
145 if (parts[j].equals(first)) { in elzTalk()
146 parts[j] = second; in elzTalk()
147 } else if (parts[j].equals(second)) { in elzTalk()
148 parts[j] = first; in elzTalk()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DTouchPaint.java407 for (int j = 0; j < P; j++) { in onTouchOrHoverEvent()
408 paint(getPaintModeForTool(event.getToolType(j), mode), in onTouchOrHoverEvent()
409 event.getHistoricalX(j, i), in onTouchOrHoverEvent()
410 event.getHistoricalY(j, i), in onTouchOrHoverEvent()
411 event.getHistoricalPressure(j, i), in onTouchOrHoverEvent()
412 event.getHistoricalTouchMajor(j, i), in onTouchOrHoverEvent()
413 event.getHistoricalTouchMinor(j, i), in onTouchOrHoverEvent()
414 event.getHistoricalOrientation(j, i), in onTouchOrHoverEvent()
415 event.getHistoricalAxisValue(MotionEvent.AXIS_DISTANCE, j, i), in onTouchOrHoverEvent()
416 event.getHistoricalAxisValue(MotionEvent.AXIS_TILT, j, i)); in onTouchOrHoverEvent()
[all …]
DStaticTriangleRenderer.java239 for(int j = 0; j < 3; j++) { in Triangle()
240 mFVertexBuffer.put(coords[i*3+j] * 2.0f); in Triangle()
245 for(int j = 0; j < 2; j++) { in Triangle()
246 mTexBuffer.put(coords[i*3+j] * 2.0f + 0.5f); in Triangle()
DScaleToFit.java109 for (int j = 0; j < sFits.length; j++) { in onDraw()
112 drawFit(canvas, i, sFits[j]); in onDraw()
115 canvas.drawText(sFitLabels[j], 0, HEIGHT*2/3, mLabelPaint); in onDraw()
DTriangleRenderer.java207 for(int j = 0; j < 3; j++) { in Triangle()
208 mFVertexBuffer.put(coords[i*3+j] * 2.0f); in Triangle()
213 for(int j = 0; j < 2; j++) { in Triangle()
214 mTexBuffer.put(coords[i*3+j] * 2.0f + 0.5f); in Triangle()
DMatrixPaletteRenderer.java150 public void set(int i, int j, float x, float y, float z, in set() argument
157 if (j < 0 || j >= mH) { in set()
165 int index = mW * j + i; in set()
391 for (int j = 0; j <= vSteps; j++) { in generateWeightedGrid()
395 float y = height * ((float) j / vSteps - 0.5f); in generateWeightedGrid()
398 float v = -4.0f * (float) j / vSteps; in generateWeightedGrid()
399 float w0 = (float) j / vSteps; in generateWeightedGrid()
401 grid.set(i, j, x, y, z, u, v, w0, w1, 0, 1); in generateWeightedGrid()
DCubeMapActivity.java167 for (int j = 0; j <= vSteps; j++) { in generateTorusGrid()
168 double angleV = Math.PI * 2 * j / vSteps; in generateTorusGrid()
189 grid.set(i, j, x, y, z, nx, ny, nz); in generateTorusGrid()
317 public void set(int i, int j, float x, float y, float z, float nx, float ny, float nz) { in set() argument
321 if (j < 0 || j >= mH) { in set()
325 int index = mW * j + i; in set()
/development/samples/browseable/CardEmulation/src/com.example.android.cardemulation/
DCardService.java123 for (int j = 0; j < bytes.length; j++) { in ByteArrayToHexString()
124 v = bytes[j] & 0xFF; // Cast bytes[j] to int, treating as unsigned value in ByteArrayToHexString()
125 hexChars[j * 2] = hexArray[v >>> 4]; // Select hex character from upper nibble in ByteArrayToHexString()
126 hexChars[j * 2 + 1] = hexArray[v & 0x0F]; // Select hex character from lower nibble in ByteArrayToHexString()
/development/samples/browseable/CardReader/src/com.example.android.cardreader/
DLoyaltyCardReader.java123 for ( int j = 0; j < bytes.length; j++ ) { in ByteArrayToHexString()
124 v = bytes[j] & 0xFF; in ByteArrayToHexString()
125 hexChars[j * 2] = hexArray[v >>> 4]; in ByteArrayToHexString()
126 hexChars[j * 2 + 1] = hexArray[v & 0x0F]; in ByteArrayToHexString()
/development/samples/ApiDemos/src/com/example/android/apis/view/
DExpandableList3.java52 for (int j = 0; j < 15; j++) { in onCreate()
55 curChildMap.put(NAME, "Child " + j); in onCreate()
56 curChildMap.put(IS_EVEN, (j % 2 == 0) ? "This child is even" : "This child is odd"); in onCreate()
/development/samples/BrokenKeyDerivation/src/com/example/android/brokenkeyderivation/
DInsecureSHA1PRNGKeyDerivator.java393 int j = 0; in nextBytes() local
396 nextBytes[j] = (byte) (k >>> 24); // getting first byte from left in nextBytes()
397 nextBytes[j + 1] = (byte) (k >>> 16); // getting second byte from left in nextBytes()
398 nextBytes[j + 2] = (byte) (k >>> 8); // getting third byte from left in nextBytes()
399 nextBytes[j + 3] = (byte) (k); // getting fourth byte from left in nextBytes()
400 j += 4; in nextBytes()
404 j = HASHBYTES_TO_USE < (bytes.length - nextByteToReturn) ? HASHBYTES_TO_USE in nextBytes()
407 if (j > 0) { in nextBytes()
408 System.arraycopy(nextBytes, 0, bytes, nextByteToReturn, j); in nextBytes()
409 nextByteToReturn += j; in nextBytes()
[all …]
/development/tools/rmtypedefs/test/com/android/tools/rmtypedefs/
DRmTypeDefsTest.java188 for (int j = i + 1; j < n; j++) { in assertDoesNotContainBytes()
189 if (!Character.isJavaIdentifierPart(contents[j])) { in assertDoesNotContainBytes()
190 if (j > i + 4) { in assertDoesNotContainBytes()
191 int length = j - i - 1; in assertDoesNotContainBytes()
198 i = j; in assertDoesNotContainBytes()
/development/samples/browseable/Notifications/Application/src/com.example.android.support.wearable.notifications/
DBackgroundPickers.java67 for (int j = 0; j < pickerBox.getChildCount(); j++) { in generatePickers()
68 ImageView img = (ImageView) pickerBox.getChildAt(j); in generatePickers()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/
DGrid.java95 void set(int i, int j, float x, float y, float z, float u, float v) { in set() argument
99 if (j < 0 || j >= mH) { in set()
103 int index = mW * j + i; in set()
DSpriteTextRenderer.java305 for(int j = 0; j < 3; j++) { in Triangle()
306 mFVertexBuffer.put(sCoords[i*3+j]); in Triangle()
311 for(int j = 0; j < 2; j++) { in Triangle()
312 mTexBuffer.put(sCoords[i*3+j] * 2.0f + 0.5f); in Triangle()
/development/samples/browseable/BasicMultitouch/src/com.example.android.basicmultitouch/
DTouchDisplayView.java391 for (int j = 0; j < data.history.length && j < data.historyCount; j++) { in drawCircle()
392 PointF p = data.history[j]; in drawCircle()
/development/samples/TtsEngine/assets/
Deng-USA.freq10 j:400
Deng-GBR.freq17 j:20
/development/samples/TicTacToeLib/src/com/example/android/tictactoe/library/
DGameActivity.java196 for (int j = 0, k = 0; j < 3; j++, k += 3) { in checkGameFinished()
198 row = j; in checkGameFinished()
/development/samples/devbytes/graphics/ImagePixelization/src/com/example/android/imagepixelization/
DImagePixelization.java187 for (int j = y; j < maxY; j++) { in customImagePixelization()
188 pixel = bitmapPixels[j * width + i]; in customImagePixelization()
/development/vndk/tools/definition-tool/assets/visual/
Ddep-graph.js146 for (let j = 0; j < violates.length; j++) {
148 let tag = depMap[violates[j][0]].data.tag;
149 let symbols = violates[j][1];
150 let domDepButton = makeSubButton(violates[j][0] + " ["

12