/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/ |
D | M4.java | 32 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()
|
D | Kube.java | 89 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/SearchableDictionary/res/raw/ |
D | definitions.txt | 7 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/SpellChecker/HelloSpellChecker/src/com/example/android/hellospellchecker/ |
D | HelloSpellCheckerActivity.java | 94 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/ApiDemos/src/com/example/android/apis/graphics/ |
D | TouchPaint.java | 407 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 …]
|
D | StaticTriangleRenderer.java | 239 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()
|
D | TriangleRenderer.java | 207 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()
|
D | MatrixPaletteRenderer.java | 150 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()
|
D | ScaleToFit.java | 109 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()
|
D | CubeMapActivity.java | 167 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/ElizaChat/src/com.example.android.wearable.elizachat/ |
D | ElizaResponder.java | 144 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/tools/winscope/src/ |
D | decodeVideo.js | 23 for (var j = 0; j < pattern.length; j++) { 24 if (array[i + j] != pattern[j]) {
|
/development/samples/browseable/CardEmulation/src/com.example.android.cardemulation/ |
D | CardService.java | 123 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/ |
D | LoyaltyCardReader.java | 123 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/BrokenKeyDerivation/src/com/example/android/brokenkeyderivation/ |
D | InsecureSHA1PRNGKeyDerivator.java | 393 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/samples/ApiDemos/src/com/example/android/apis/view/ |
D | ExpandableList3.java | 52 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/tools/rmtypedefs/test/com/android/tools/rmtypedefs/ |
D | RmTypeDefsTest.java | 188 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/ApiDemos/src/com/example/android/apis/graphics/spritetext/ |
D | SpriteTextRenderer.java | 305 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()
|
D | Grid.java | 95 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()
|
/development/samples/browseable/Notifications/Application/src/com.example.android.support.wearable.notifications/ |
D | BackgroundPickers.java | 67 for (int j = 0; j < pickerBox.getChildCount(); j++) { in generatePickers() 68 ImageView img = (ImageView) pickerBox.getChildAt(j); in generatePickers()
|
/development/samples/browseable/BasicMultitouch/src/com.example.android.basicmultitouch/ |
D | TouchDisplayView.java | 391 for (int j = 0; j < data.history.length && j < data.historyCount; j++) { in drawCircle() 392 PointF p = data.history[j]; in drawCircle()
|
/development/vndk/tools/definition-tool/assets/visual/ |
D | dep-graph.js | 146 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] + " ["
|
/development/samples/TicTacToeLib/src/com/example/android/tictactoe/library/ |
D | GameActivity.java | 196 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/ |
D | ImagePixelization.java | 187 for (int j = y; j < maxY; j++) { in customImagePixelization() 188 pixel = bitmapPixels[j * width + i]; in customImagePixelization()
|
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/model/ |
D | MusicProvider.java | 230 for (int j = 0; j < tracks.length(); j++) { in retrieveMedia() 231 MediaMetadata item = buildFromJSON(tracks.getJSONObject(j), path); in retrieveMedia()
|