Searched defs:lead (Results 1 - 10 of 10) sorted by relevance

/openjdk7/jdk/src/share/classes/sun/text/normalizer/
H A DIntTrie.java93 * Gets the value to the data which this lead surrogate character points
98 * @param ch lead surrogate character
108 * Get a value from a folding offset (from the value of a lead surrogate)
110 * @param leadvalue the value of a lead surrogate that contains the
153 * @param lead lead surrogate
158 protected final int getSurrogateOffset(char lead, char trail) argument
165 int offset = m_dataManipulate_.getFoldingOffset(getLeadValue(lead));
167 // get the real data from the folded lead/trail units
H A DUCharacter.java262 * @param lead the lead char
269 public static int getCodePoint(char lead, char trail) argument
271 if (UTF16.isLeadSurrogate(lead) && UTF16.isTrailSurrogate(trail)) {
272 return UCharacterProperty.getRawSupplementary(lead, trail);
410 // lead surrogate D800..DBFF
H A DCharTrie.java85 * or the leadUnitValue for lead surrogate code points.
89 * @param leadUnitValue the value for lead surrogate code _units_ that do not
121 /* indexes for lead surrogate code units to the block after Latin-1 */
129 /* data for lead surrogate code units */
211 * Gets the value to the data which this lead surrogate character points
216 * @param ch lead surrogate character
227 * @param lead a lead surrogate
231 public final char getSurrogateValue(char lead, char trail) argument
233 int offset = getSurrogateOffset(lead, trai
292 getSurrogateOffset(char lead, char trail) argument
[all...]
H A DTrie.java56 * for lead surrogate codepoints, while the fromLead() method get special
57 * "folded" offsets for lead surrogate code units if there is relevant data
64 * that offset from the folded value for the lead surrogate unit.</p>
86 * Called by com.ibm.icu.impl.Trie to extract from a lead surrogate's
88 * the index array offset of the indexes for that lead surrogate.
91 * @return data offset or 0 if there is no data for the lead surrogate
192 * Number of index (stage 1) entries per lead surrogate.
229 * @param lead lead surrogate
233 protected abstract int getSurrogateOffset(char lead, cha argument
[all...]
H A DUCharacterProperty.java131 // lead surrogate D800..DBFF
210 * @param lead lead surrogate character
214 public static int getRawSupplementary(char lead, char trail) argument
216 return (lead << LEAD_SURROGATE_SHIFT_) + trail + SURROGATE_OFFSET_;
312 * Shift value for lead surrogate to form a supplementary character.
/openjdk7/jdk/test/javax/swing/JList/6462008/
H A Dbug6462008.java27 * @summary Tests that mouse/keyboard work properly on JList with lead < 0 or > list.getModel().getSize()
372 private static void checkSelectionAL(final int anchor, final int lead, final int... sels) throws Exception { argument
377 checkSelectionNonThreadSafe(anchor, lead, sels);
382 private static void checkSelectionNonThreadSafe(int anchor, int lead, int... sels) { argument
392 if (lead != DONT_CARE && actualLead != lead) {
393 throw new RuntimeException("lead is " + actualLead + ", should be " + lead);
/openjdk7/jdk/src/share/native/sun/font/layout/
H A DHangulLayoutEngine.cpp136 static le_int32 compose(LEUnicode lead, LEUnicode vowel, LEUnicode trail, LEUnicode &syllable) argument
138 le_int32 lIndex = lead - LJMO_FIRST;
157 static le_int32 decompose(LEUnicode syllable, LEUnicode &lead, LEUnicode &vowel, LEUnicode &trail) argument
165 lead = (LEUnicode)(LJMO_FIRST + (sIndex / HSYL_LVCNT));
176 static le_int32 getCharClass(LEUnicode ch, LEUnicode &lead, LEUnicode &vowel, LEUnicode &trail) argument
178 lead = LJMO_FILL;
183 lead = ch;
197 le_int32 c = decompose(ch, lead, vowel, trail);
273 LEUnicode lead = 0; local
276 le_int32 chClass = getCharClass(chars[i], lead, vowe
333 LEUnicode lead = outChars[outStart]; local
[all...]
/openjdk7/jdk/src/share/classes/sun/swing/
H A DSwingUtilities2.java714 * Set the lead and anchor without affecting selection.
717 int lead, int anchor) {
719 anchor = lead;
721 if (lead == -1) {
725 if (model.isSelectedIndex(lead)) {
726 model.addSelectionInterval(lead, lead);
728 model.removeSelectionInterval(lead, lead);
716 setLeadAnchorWithoutSelection(ListSelectionModel model, int lead, int anchor) argument
/openjdk7/jdk/src/share/classes/javax/swing/
H A DJList.java1395 int lead = ((int[][])state)[1][1];
1398 getSelectionModel(), lead, anchor);
1915 * represented by the second argument (the "lead").
1967 * Returns the lead selection index. This is a cover method that
1970 * @return the lead selection index
1973 * description: The lead selection index.
2050 * Selects the specified interval. Both {@code anchor} and {@code lead}
2052 * equal to {@code lead}. This is a cover method that delegates to the
2059 * @param lead the last index to select
2066 public void setSelectionInterval(int anchor, int lead) { argument
2089 addSelectionInterval(int anchor, int lead) argument
[all...]
H A DJTable.java2093 // this is done to restore the anchor and lead
2105 // this is done to restore the anchor and lead
2399 * this method provides, such as when manipulating the lead for discontiguous
4041 // Restore the lead
4144 // Check if lead/anchor need to be reset.
4193 private void restoreSortingSelection(int[] selection, int lead, argument
4199 lead = convertRowIndexToView(lead, change);
4217 selectionModel, lead, lead);
[all...]

Completed in 94 milliseconds